mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-04-30 02:05:06 +08:00
* Update CONTRIBUTING.md to reflect the necessary steps * Fix CONTRIBUTING.md * Fix CONTRIBUTING.md * Replace npm with yarn
939 B
939 B
CONTRIBUTING
Contributions are always welcome, no matter how large or small. 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
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.