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

Upgrade extension to latest testing libraries, update README, and VSCode version #823

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

matv-stripe
Copy link
Collaborator

@matv-stripe matv-stripe commented Feb 26, 2024

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).

@matv-stripe matv-stripe force-pushed the matv/upgradeversionandreadme branch from 8ff884e to 2dbc2ef Compare March 12, 2024 20:44
@matv-stripe matv-stripe changed the title Upgrade minimum version and README Upgrade extension to latest testing libraries, update README, and VSCode version Mar 12, 2024
Comment on lines -37 to -63
"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",
Copy link
Collaborator

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.

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.

@matv-stripe matv-stripe merged commit 23e3fc9 into master Mar 13, 2024
7 checks passed
@matv-stripe matv-stripe deleted the matv/upgradeversionandreadme branch March 13, 2024 18:20
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.

3 participants