-
Notifications
You must be signed in to change notification settings - Fork 19
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
Conversation
@@ -18,7 +18,12 @@ describe('DataSource', () => { | |||
return res; | |||
}); | |||
beforeEach(() => { | |||
jest.spyOn(runtime, 'getTemplateSrv').mockImplementation(() => ({ getVariables: jest.fn(), replace })); | |||
jest.spyOn(runtime, 'getTemplateSrv').mockImplementation(() => ({ |
There was a problem hiding this comment.
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
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" |
There was a problem hiding this comment.
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?
Backend code coverage report for PR #199 |
Frontend code coverage report for PR #199
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Migrates from
grafana-toolkit
tocreate-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