The following is a set of guidelines for contributing to Ciklum digital organisation packages. Please spend several minutes in reading these guidelines before you create an issue or pull request.
We have adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
All work happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process.
There are three types of branch we maintain: master
issue/*
feat/*
.
- If you send a Fix Request, please do it in:
issue/short-issue-title
- If you send a Feature Request, please do it in:
feat/short-feature-title
We are using GitHub Issues for bug tracing. Please, use template for issue/feature creating.
Before you reporting a bug, please make sure you've searched exists issues.
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.
Before submitting a pull request, please make sure the following is done:
- Before you reporting a bug, please make sure you've searched exists issues.
- Open a new issue in the issues tracker
- Fork the repository and create your branch from proper branch.
- Run
yarn install
in the repository root. - If you've fixed a bug or added code that should be tested, add tests!
- Ensure the test suite passes (yarn test). Tip:
yarn test -- --watch TestName
is helpful in development. - Ensure the code lints passes. Run
yarn lint
for check it. - We are using commitizen and commit lint. Use
yarn commit
for prompting commit message window. - Submit a pull request, referencing any issues it addresses.
- For PR creation use template
After cloning proper module, run yarn
to fetch its dependencies. Then, you can run several commands:
yarn lint
checks the code style andyarn lint:fix
for fixing linting errorsyarn test
runs the complete test suite.yarn build
compiles TypeScript code to thedist
directory.
By contributing your code to the ciklum-digital GitHub org repositories, you agree to license your contribution under the MIT license.