Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.24 KB

CONTRIBUTING.md

File metadata and controls

17 lines (12 loc) · 1.24 KB

Contributing to Elastic Charts

🙌 Thanks for your interest in contributing to Elastic Charts! 🙌

We are trying to enforce some good practices in this library:

  • All commits must follow the conventional commits
  • semantic-release is used as an automated release manager suite. This will automatically publish on NPM on every push on master, will automatically create the changelog and bump the correct semver depending on the commits. To avoid too many new releases, especially in this initial phase of the project, we are going to work against a dev branch and then merge on master periodically.
  • Every commit count in the version bump: this means that we can merge a PR with two methods:
    • merge all the PR commit history (please follow the commit convention or squash partial commits)
    • squash and merge all commits using a single commit that follows the conventions.

The following tools are used to ensure this convention:

  • commitlint hook ensure that you are following correctly the convention,
  • yarn cz can be used to start commitizen as a cli tool that prompts you with selections and questions to help you in writing a conventional commit.