Assuming all the other work regarding the package creation is done. To publish you have to do the following steps.
Guide
- update package.json with version
- Commit final changes
- git tag -a v0.0.1 -m "stable 0.0.1"
- git push origin --tags
- vsce package
- vsce publish
Install vsce if required.
npm install -g vsce
Generating Personal Token
First-time publishing will require a personal token for your marketplace. You can get it generated by following the steps from here.