-
Notifications
You must be signed in to change notification settings - Fork 33
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
Upgrade extension to latest testing libraries, update README, and VSCode version #823
Conversation
8ff884e
to
2dbc2ef
Compare
"onView:stripeEventsView", | ||
"onView:stripeLogsView", | ||
"onView:stripeQuickLinksView", | ||
"onView:stripeHelpView", | ||
"onCommand:stripe.createStripeSample", | ||
"onCommand:stripe.createWebhookEndpoint", | ||
"onCommand:stripe.login", | ||
"onCommand:stripe.openCLI", | ||
"onCommand:stripe.openWebhooksListen", | ||
"onCommand:stripe.openDashboardApikeys", | ||
"onCommand:stripe.openDashboardLogs", | ||
"onCommand:stripe.openDashboardEvents", | ||
"onCommand:stripe.openDashboardWebhooks", | ||
"onCommand:stripe.openEventDetails", | ||
"onCommand:stripe.openTriggerEvent", | ||
"onCommand:stripe.openCreateCustomizedEvent", | ||
"onCommand:stripe.openTriggerCustomizedEvent", | ||
"onCommand:stripe.openReportIssue", | ||
"onCommand:stripe.openDocs", | ||
"onCommand:stripe.openSurvey", | ||
"onCommand:stripe.openSamples", | ||
"onCommand:stripe.startLogsStreaming", | ||
"onCommand:stripe.stopLogsStreaming", | ||
"onCommand:stripe.clearRecentLogs", | ||
"onCommand:stripe.clearRecentEvents", | ||
"onCommand:stripe.startEventsStreaming", | ||
"onCommand:stripe.stopEventsStreaming", |
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.
Do we need to get rid of these activation events? I suppose the onView
ones are noop because the extension would've already been active when you view them but the onCommand
ones seem important.
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.
(This is @matv) - in newer version of VSCode, the linter suggested I remove these.
https://code.visualstudio.com/api/references/activation-events#onCommand
Note: Beginning with VS Code 1.74.0, commands contributed by your extension do not require a corresponding onCommand activation event declaration for your extension to be activated.
This updates the README with instructions to how to get the extension to run.
It also updates the minimum VSCode version to allow us to use newer APIs.
It also upgrades the tests to pass in Github Actions. This required some debugging, but it ended up being because I needed to upgrade
vscode-test
to a newer version and update the platform for windows. In the future, as we update the extension, the first spot we should look should be outdated NPM packages.I did not bump the package version just yet because I do not want to make a release (no new functionality has been added).