Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 1.67 KB

File metadata and controls

84 lines (53 loc) · 1.67 KB

Releasing

Release NPM packages

Packages are:

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

Release next version

Install dependencies and build the project:

npm install
npm run build

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

Install dependencies and build the project:

npm install
npm run build

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
  • Install vsce npm install -g @vscode/vsce is not already installed
cd ../vscode-messenger-devtools
vsce package --no-dependencies
  • vsce package will also run npm run vscode:prepublish

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 --no-dependencies. You will be prompted to enter the token.

Publish VSCode

  • Install vsce npm install -g @vscode/vsce is not already installed

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

    • click Show all scopes link below the Scopes section in the Scopes list, scroll to Marketplace and select Manage scope
    • click Create token
    • copy the token
  • Login vsce login typefox

  • Publish: vsce publish --no-dependencies