I want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
I use GitHub to host code, to track issues and feature requests, as well as accept pull requests.
Pull requests are the best way to propose changes to the codebase (we use GitHub Flow). I actively welcome your pull requests:
- Fork the repo and create your branch from
main
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
Note: Make sure the Pull Request isn't sent to main branch. We have development branch for a reason. Any PR's directed to main branch will not be considered.
When you submit a pull request, a GitHub workflow will automatically run, which includes Biome checks for linting and formatting errors. Pull requests with linting or formatting errors will not be merged. Please run pnpm lint
before pushing your changes to ensure that your contributions meet the code standards.
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. This includes new code, files, patches, and any other modifications created or contributed by you.
I use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
By contributing, you agree that your contributions will be licensed under its MIT License.
The main branch is locked, meaning direct pushes are not allowed. All changes should be made through a fork and pull request process:
- Fork the repository to your own GitHub account.
- Clone the forked repository to your local machine.
- Create a new branch for your modifications.
- Push your changes back to your fork.
- Submit a Pull Request from your repository's branch to the
main
branch of the original repository.
This process ensures that all contributions are reviewed and tested, maintaining the quality and integrity of the codebase.