Last Updated: 2026-05-24
source scripts/ensure-node.sh && pnpm install
pnpm run lint
pnpm test
pnpm run compile
pnpm run package
pnpm run package:verify # confirm all platform native binaries in VSIXScripts and manifest fields are defined in package.json. Webpack config: webpack.config.js.
Release workflow: .github/workflows/release_workflow.yml
Typical pipeline on version tag:
- Install dependencies (Node 22, pnpm)
- Lint and test
- Compile and package VSIX
- Publish to VSCode Marketplace / Open VSX (when configured)
- Attach VSIX to GitHub Release
- All tests passing (
pnpm test) - No linter errors (
pnpm run lint) - Manual smoke tests complete (see Testing Strategy)
- Cross-platform tested (macOS, Windows, Linux)
- Documentation updated
- Version bumped in
package.json - Git tag created
- Bump version:
pnpm version patch|minor|major - Push tag:
git push origin vX.Y.Z - Verify CI produces VSIX
- Test VSIX locally:
code --install-extension promptimize-X.Y.Z.vsix - Confirm marketplace listing (if published)
- Verify installation from marketplace or GitHub Releases
- Monitor GitHub Issues for regressions
Semantic versioning: MAJOR.MINOR.PATCH
- MAJOR: Breaking changes
- MINOR: New features (backward compatible)
- PATCH: Bug fixes
| Channel | Purpose |
|---|---|
| VSCode Marketplace | Primary (when available) |
| Open VSX | VSCodium and forks |
| GitHub Releases | Direct VSIX download |
Install from VSIX: Extensions → ... → Install from VSIX, or code --install-extension promptimize-X.Y.Z.vsix
If a critical bug ships:
- Unpublish broken version if possible (
vsce unpublish promptimize@X.Y.Z) - Fix on a hotfix branch, test, release patch version
- Communicate via GitHub Release notes and Issues
Related: Testing Strategy · Project Progress