npm i
- Run tests (Uses Jest)
npm test npm test -- --watch
- Build the webview code before running VS Code app. This command will build the React app and watch for changes.
npm run build
- Debug extension: Press F5 in VS Code to launch the extension into a sandbox and you can place break points
- Debug tests: In the debug tab you can change to
jest
from the dropdown
This section is for maintainers with push access to LanceDarkly on the extension marketplace.
- Bump the version at the appropriate level (major, minor, patch); e.g.
npm version patch
- Push the version commit and tag
git push --follow-tags
- Publish the package
vsce publish -p <secret key>
- Add release notes at https://github.com/rkotze/lancedarkly/releases and update the CHANGELOG https://github.com/rkotze/lancedarkly/blob/master/CHANGELOG.md