Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 983 Bytes

CONTRIBUTING.md

File metadata and controls

35 lines (30 loc) · 983 Bytes

Contributing Guide

Getting Started

  1. npm i
  2. Run tests (Uses Jest)
    npm test
    npm test -- --watch
    
  3. Build the webview code before running VS Code app. This command will build the React app and watch for changes.
    npm run build
    
  4. Debug extension: Press F5 in VS Code to launch the extension into a sandbox and you can place break points
  5. Debug tests: In the debug tab you can change to jest from the dropdown

Releasing

This section is for maintainers with push access to LanceDarkly on the extension marketplace.

  1. Bump the version at the appropriate level (major, minor, patch); e.g.
    npm version patch
    
  2. Push the version commit and tag
    git push --follow-tags
    
  3. Publish the package
    vsce publish -p <secret key>
    
  4. Add release notes at https://github.com/rkotze/lancedarkly/releases and update the CHANGELOG https://github.com/rkotze/lancedarkly/blob/master/CHANGELOG.md