This document provides guidelines and instructions for contributing to the project.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/project-name.git cd project-name
- Create a new branch, be descriptive:
git checkout -b feature/your-feature-name # OR git checkout -b bugfix/bug-this-pr-fixes # OR git checkout -b docs/documenting-something
- Implement your feature/changes
- Test any code changes thoroughly
- Make sure your PR contains all the information for any developer to checkout your branch and validate it
- Your commit message should be under 72 characters
- Your commit message should start with a topic (e.g.: "Docs: ")
- Sign-off your commits with
git commit -sm "Feature: Commit subject under 72 characters."
- Push your changes to your fork
- Submit a pull request towards the
development
branch of this repository - Ensure the PR description clearly describes the problem and solution
- Include the relevant issue number if applicable
- Update documentation if needed: anyone should be able to checkout your branch and validate the changes
- Add tests for new features
- Wait for review
- Upon approval, if you have write access you can merge your PR
The branch main
is always assumed to be stable, and new versions are created from there.
To create a new version of this module:
- Create a new branch from
main
and name it as the new version (e.g.:v1.5.5
) - Update the
"version"
field inpackage.json
- Run
npm install
to updatepackage-lock.json
- Validate the above
- Commit and push these changes
- Open a PR from this new branch to
main
to align version numbers
By contributing, you agree that your contributions will be licensed under the project's license.