This PR adds a contributor license agreement (CLA) to the project. Contributors will need to sign the CLA before we merge their PRs. This will be handled automatically via a bot here on GitHub. ## Context Did you know tldraw is a [venture backed](https://tldraw.substack.com/p/tiny-little-seed-round) company? Our CLA is designed to protect our options for any future re-licensing of the project's code or transferring ownership, which can become complicated when taking public contributions community, but which can become necessary by fate and/or go to market strategies. A CLA adds a bit of friction and hassle for contributors, however I'd prefer to be upfront about our relationship rather than doing what many open source projects have done in the past, which is relicensing code contributed without such prior agreement. If you have any questions, feel free to post them below. ### Change Type - [x] `internal` — Any other changes that don't affect the published package (will not publish a new version)
1.9 KiB
Contributing
Thank you for your interest in contributing to tldraw! We welcome any contributions to the code base and the documentation.
Create an Issue!
Before submitting a pull request, it is strongly recommended to create create an issue first to discuss your proposed changes. This will help us to make sure that your changes are aligned with the project goals and that you are not duplicating work that is already in progress.
If you are not sure whether your changes are needed, feel free to create an issue anyway and we can discuss it there. Once we have agreed on the changes, you can start working on them.
Making Changes
To create a pull request:
- Fork and clone the repository
- Create a separate branch for your changes
- Make your changes, and ensure that it is formatted by Prettier and type-checks without errors in TypeScript
- Write tests that validate your change and/or fix.
- Run
yarn build
and then run tests withyarn test
. - Push your branch and open a PR. 🚀
Before your code is merged, you will need to sign our contributor license agreement, which is handled via GitHub comments. Your PR will be reviewed and merged in within a day or two if everything looks good.
Please also see our Code of Conduct for our expectations around contributor culture.