All based on information here: https://code.visualstudio.com/docs/extensions/publish-extension
- cd into the project root directory (this is the one that contains
package.json
) - Update the
version
value inpackage.json
(this can be manual or usingnpm version
) - Run the command
vsce package
- this compiles the .vsix file for release, which can be installed into vscode. This file can be uploaded into the "Releases" section on github
- cd into the project root directory (this is the one that contains
package.json
) - Update the
version
value inpackage.json
(this can be manual or usingnpm version
) - Run the command
vsce publish
- This compiles the extension and publishes to the windows marketplace in one step. ***This requires an account with sufficient priveleges