2.2 KiB
Contributing
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are released to the public under the project's open source license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Prerequisites for running and testing code
These are one time installations required to be able to test your changes locally as part of the pull request (PR) submission process.
- Install Node.js for your platform
- Install the dependencies. From the repository root run:
$ npm i
This repository contains multiple packages and uses npm workspaces to manage the dependencies between them.
Submitting a pull request
- Fork and clone the repository
- Configure and install the dependencies:
npm i - Create a new branch:
git checkout -b my-branch-name - Make your change, add tests, and make sure the tests and linter still pass
- Push to your fork and submit a pull request
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Format your code with prettier.
- Write tests.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a good commit message.
Please also look at the README.md files for each package for additional notes on contributing.