Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

25 lines (17 loc) · 1.01 KB

Developing

npm install & npm start & open http://localhost:9966/

You'll need a Mapbox access token stored in localstorage. Set it via

localStorage.setItem('MapboxAccessToken', '<YOUR ACCESS TOKEN>');

Testing

Tests require an MapboxAccessToken env variable to be set.

export MapboxAccessToken=<YOUR ACCESS TOKEN> && npm test

Release process

  1. git checkout main
  2. git pull --rebase --autostash to ensure you have the latest changes.
  3. export MapboxAccessToken=<YOUR ACCESS TOKEN> && npm test
  4. Update CHANGELOG.md
  5. npm version {major|minor|patch}
  6. Create a release branch off of master that updates CHANGELOG.md and increments package.json.
  7. git push --follow-tags
  8. mbx npm publish
  9. Update version number on GL JS example page