Contributing ​
Thank you for considering contributing to Hey API.
Development Requirements ​
Install Dependencies ​
We use pnpm as our package manager. You can setup and install all dependencies running the following command:
sh
pnpm install
Pull Request Guidelines ​
If you are unfamiliar with GitHub Pull Requests, please read the following documentation: https://help.github.com/articles/using-pull-requests
Your Pull Request must:
- Address a single issue or add a single item of functionality.
- Contain a clean history of small, incremental, logically separate commits, with no merge commits.
- Use clear commit messages.
- Be possible to merge automatically.
Submitting a Pull Request ​
- Make your changes in a new git branch:
git checkout -b my-fix-branch main
- Create your patch or feature
- Ensure the builds work by running:
pnpm build
- Ensure the tests will pass by running:
pnpm test
- Ensure the code is formatted by running:
pnpm lint:fix
- Ensure that you create a changeset if required by running:
pnpm changeset
- Commit your changes using a descriptive commit message
After your Pull Request is created, it will automatically be built and tested in GitHub actions. Once successful, it will be ready for review.