The following is a set of guidelines for contributing to @tshio/redux-api-middleware-packages. Please spend several minutes in reading these guidelines before you create an issue or pull request. We are open to, and grateful for, any contributions made by the community.
All work on @tshio/redux-api-middleware-packages happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process.
We are using GitHub Issues for bug tracing.
Before opening an issue, please search the issue tracker to make sure your issue hasn’t already been reported.
We encourage you to open issues to discuss improvements, architecture, internal implementation, etc. If a topic has been discussed before, we will ask you to join the previous discussion. If you intend to change one of the package or provide new one, please create a feature request issue.
Working on your first Pull Request? You can learn how from this free video series:
How to Contribute to an Open Source Project on GitHub
Please ask first before embarking on any significant pull request (e.g. implementing features, refactoring code, fixing bugs), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
If somebody claims an issue but doesn’t follow up for more than two weeks, it’s fine to take over it but you should still leave a comment.
The core team is monitoring for pull requests. We will review your pull request and either merge it, request changes to it, or close it with an explanation.
Please try to keep your pull request focused in scope and avoid including unrelated commits.
After you have submitted your pull request, we’ll try to get back to you as soon as possible. We may suggest some changes or improvements.
Before submitting a pull request, please make sure the following is done:
- Fork the repository.
- Run
yarn
in the repository root. - Run
yarn bootstrap
in the repository root. - Make your proposed changes to the repository.
- If you’ve fixed a bug or added code that should be tested, add tests!
- Run
yarn test
to verify all test cases pass. - Make sure your code is formatted using prettier. Tip: Prettier runs automatically when you
git commit
. - Run
yarn flow
to verify all flow typings are correct.
After cloning @tshio/redux-api-middleware-packages, run yarn
to fetch its dependencies. Then, you can run several commands:
yarn bootstrap
installs all of packages dependencies.yarn test
checks the tests.yarn flow
checks the code typings.