Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to create-plugin #199

Merged
merged 18 commits into from
Jan 3, 2023
Merged

migrate to create-plugin #199

merged 18 commits into from
Jan 3, 2023

Conversation

iwysiu
Copy link
Contributor

@iwysiu iwysiu commented Nov 1, 2022

Migrates from grafana-toolkit to create-plugin

I had to upgrade the @grafana packages to 9.3.2 in order to get the updated selectors for the e2e tests to pass, which lead to the other code changes.

fixes #197

@iwysiu iwysiu requested a review from a team as a code owner November 1, 2022 16:17
@@ -18,7 +18,12 @@ describe('DataSource', () => {
return res;
});
beforeEach(() => {
jest.spyOn(runtime, 'getTemplateSrv').mockImplementation(() => ({ getVariables: jest.fn(), replace }));
jest.spyOn(runtime, 'getTemplateSrv').mockImplementation(() => ({
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updating the outdated packages also required these changes

@iwysiu iwysiu marked this pull request as draft November 1, 2022 21:27
package.json Outdated
"typescript": "^4.4.0",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-livereload-plugin": "^3.0.2"
},
"resolutions": {
"rxjs": "6.6.3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is throwing errors maybe? Might be worth looking at removing or updating the version?

@github-actions
Copy link

github-actions bot commented Nov 7, 2022

Backend code coverage report for PR #199
No changes

@github-actions
Copy link

github-actions bot commented Nov 7, 2022

Frontend code coverage report for PR #199

Plugin Main PR Difference
src 27.77% 32.15% 4.38%

Copy link
Contributor

@kevinwcyu kevinwcyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

src/components/QueryEditor.test.tsx Outdated Show resolved Hide resolved
@iwysiu iwysiu merged commit 7507780 into main Jan 3, 2023
@iwysiu iwysiu deleted the iwysiu/197 branch January 3, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timestream: Migrate to create-plugin
4 participants