Hi! We're really excited that you're interested in contributing to Route Peek!
When it comes to open source, there are many different kinds of contributions that can be made, all of which are valuable. Here are a few guidelines that should help you as you prepare your contribution.
Before you can contribute to the codebase, you will need to fork the repo. The following steps will get you set up to contribute changes to this repo:
- Fork the repo (click the Fork button at the top right of this page)
- Clone your fork locally
git clone https://github.com/<your_github_username>/route-peek.git
cd route-peek
- Install dependencies using npm:
npm ci
- Create a new branch
git checkout -b issue1234
- Make your changes
git add -A
git commit
Commit messages should follow the Conventional Commits specification:
tag: Short description of what you did
Longer description here if necessary
Fixes #1234
The tag
is one of the following:
fix
- for a bug fixfeat
- for a backwards-compatible enhancementfix!
- for a backwards-incompatible bug fixfeat!
- for a backwards-incompatible enhancement or featuredocs
- changes to documentation onlychore
- for changes that aren’t user-facingbuild
- changes to build process onlyrefactor
- a change that doesn’t affect APIs or user experiencetest
- just changes to test filesci
- changes to our CI configuration files and scriptsperf
- a code change that improves performance
- Rebase onto upstream
git fetch upstream
git rebase upstream/main
- Run the tests
npm test
- Push your changes
git push origin issue1234
- Send the pull request
Now you’re ready to send the pull request. Go to your Route Peek fork and then follow the GitHub documentation on how to send a pull request.