Skip to content

Latest commit

 

History

History
78 lines (48 loc) · 1.4 KB

releasing.md

File metadata and controls

78 lines (48 loc) · 1.4 KB

Releasing

Release NPM packages

Packages are:

  • vscode-messenger-common (shared)
  • vscode-messenger (vscode API)
  • vscode-messenger-webview (webview API)

Release next version

Run install to resolve dependencies, that also runs prepare steps clean and build.

npm install

Update versions to add -next.<git-commit> suffix.

npm run prepare-next

Publish this version with tag next.

npm run publish-next

Release new version

Run install to resolve dependencies, that also runs prepare steps clean and build.

npm install

Manually change versions and dependency versions. This includes package.json files in the NPM packages. See the list above.

Publish this version with tag latest.

npm run publish-latest

Devtools extension

Extension package is vscode-messenger-devtools.

Devtools extension build

  • Add a changelog.md entry
cd ../vscode-messenger-devtools
npm run vscode:prepublish
npm run build:webview
vsce package

Publish Open VSX

  • Check the changelog.md entry

  • Create token https://open-vsx.org/user-settings/tokens or use existing

  • Publish OpenVSX npx ovsx publish -p <open vsx access token>

Publish VSCode

  • Install vsce npm install -g @vscode/vsce

  • Create token in https://dev.azure.com/typefox/_usersSettings/tokens

  • Login vsce login typefox

  • Publish: vsce publish