We want to make contributing to this project as easy and transparent as possible.
This project's code of conduct is described in the GraphQL Foundation's CODE_OF_CONDUCT.md
We actively welcome your pull requests for documentation and code.
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests with 100% coverage.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- If you haven't already, complete the Contributor License Agreement ("CLA").
- Run
yarn changeset
and describe the change you're proposing. Commit the file it creates in.changeset
to the repo. You can read more about changeset here. - Open a Pull Request so we can review and incorporate your change.
To release a new version:
- Run
yarn changeset version
to bump the version of the package. - Run
yarn release
this will create a new release on GitHub and publish the package to NPM.
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
- 2 spaces for indentation rather than tabs
- 80 character line length
- See .eslintrc for the gory details.
By contributing to DataLoader, you agree that your contributions will be licensed under its MIT license.