This repository contains a VS Code extension at the repo root and a separate Cloudflare worker under cloudflare-worker/.
Release the extension from the repository root.
- Node.js and npm installed
- Access to the
PredictabilityAtScaleVS Code Marketplace publisher vsceaccess configured on the machine- OpenVSX token if publishing to OpenVSX
- Review the pending changes.
- Update the version in
package.json. - Add release notes to
CHANGELOG.md. - Install dependencies if needed:
npm install- Validate the extension build:
npm run compile
npm test- Build the production package:
npm run package- Optionally create a local VSIX first:
npx @vscode/vsce package- Publish to the VS Code Marketplace:
npx @vscode/vsce publish- Publish to OpenVSX:
npx ovsx publish -p <OPENVSX_TOKEN>If vsce is not already authenticated on the machine:
npx @vscode/vsce login PredictabilityAtScaleIf ovsx is not already available on the machine, run it through npx as shown above or install it globally:
npm install -g ovsxvscode:prepublishis wired tonpm run package, sovsce packageandvsce publishtrigger the production build automatically.- The extension manifest is the root
package.json, notcloudflare-worker/package.json. - Packaging exclusions are controlled by
.vscodeignore. - Publish to both marketplaces from the repository root after the version in
package.jsonhas been updated.