docs/contribution.md
zx is a fully open-source project, which is developing by the community for the community. We welcome contributions of any kind, including but not limited to:
https://google.github.io/zx/contribution
This project follows Google's Open Source Community Guidelines. In short: all contributors are treated with respect and fairness.
Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.
Before proposing changes, look for similar ones in the project's issues and pull requests. If you can't decide, create a new discussion topic, and we will help you figure it out. Dive also into architecture notes to observe design concepts. When ready to move on:
Prepare your development environment.
Node.js >= 22.package.jsonFork the repository.
Create a new branch.
Make your changes.
Ensure that everything is working:
npm run fmt to format your code.npm run test:coverage to run the tests.Push the changes to your fork.
Create a pull request.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
The project is licensed under the Apache-2.0