mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-06-10 07:55:57 +08:00
1.1 KiB
1.1 KiB
CONTRIBUTING
Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an RFC. Before contributing, please read the code of conduct.
Setup
- Install yarn on your system: https://yarnpkg.com/en/docs/install
- Fork the repo: https://github.com/yarnpkg/yarn
- Run the following commands:
git clone YOUR_YARN_REPO_URL
cd yarn
yarn
yarn run build
Building
yarn run build
yarn run watch
Using the local builds
alias yarn="node /path/to/yarn/lib/cli/index.js"
Testing
yarn run test
yarn run lint
Pull Requests
We actively welcome your pull requests.
- Fork the repo and create your branch from
master. - 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.
License
By contributing to Yarn, you agree that your contributions will be licensed under its BSD license.