Publishing
Preflight
Section titled “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
Section titled “Package”bun run packageBuilds a production bundle (build:prod) and runs vsce package --no-dependencies, producing a .vsix.
Install locally
Section titled “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
Section titled “Publish”Use the vsce CLI with a publisher token:
npx vsce publishChecklist
Section titled “Checklist”-
publisher,version,repository,categoriesset - icon present and referenced
- README + CHANGELOG accurate
-
vsceasy doctoris clean - tested the
.vsixlocally