Thanks for your valuable desire to participate in this project!
- Fork the repo and clone locally
npm install
to get dev dependencies installed
Then:
- Edit
src/index.tsx
to make changes to the project
And / Or:
- Edit
docs/index.jsx
to make changes to the demo
- Build the code
npm run build
- Build the demo
npm run build-demo
- View the demo by opening
docs/index.html
in your browser - Test manually: click around on the map, check the console for errors, etc.
- Use descriptive, imperative-tense commit messages and PR titles
- Use git rebase to organize your git history, if you have multiple "wip" commits
- Run
npm run lint
(ornpm run lint-fix
to autofix some errors) andnpm run tsc
to check your types and formatting - Demo is tested and still works (see above)
- Readme and other relevant documentation is updated
- Update version (see below)
- Determine the type of version update using semantic versioning
- Run
npm version <major/minor/patch>
- Add entry to CHANGELOG.md, and use
git add CHANGELOG.md && git commit --amend
(type:wq
then hit "enter" key to escape vim) to include it in the npm version commit