Publishing
Preflight
vsceasy publish initThis ensures a README, CHANGELOG, an icon placeholder, the required
package.json fields, and runs a dry-run vsce ls so you see exactly what would
ship. See publish init.
Package
bun run packageBuilds a production bundle (build:prod) and runs vsce package --no-dependencies, producing a .vsix.
Install locally
Test the packaged extension before publishing:
- In VS Code: Extensions: Install from VSIX… and pick the generated file.
- Or
code --install-extension your-extension-x.y.z.vsix.
Publish
Use the vsce CLI with a publisher token:
npx vsce publishChecklist
-
publisher,version,repository,categoriesset - icon present and referenced
- README + CHANGELOG accurate
-
vsceasy doctoris clean - tested the
.vsixlocally