Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.34 KB

File metadata and controls

30 lines (20 loc) · 2.34 KB

Contributing

Commitizen friendly

Semantic Release

semantic-release uses the commit messages to determine the consumer impact of changes in the codebase.

Tools such as commitizen or commitlint are used to help contributors and enforce valid commit messages.

The table below shows which commit message corresponds to which release type when semantic-release runs:

Commit message Release type
fix(pencil): stop graphite breaking when too much pressure applied Patch Fix Release
feat(pencil): add 'graphiteWidth' option Minor Feature Release
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
Major Breaking Release
(Note that the BREAKING CHANGE: token must be in the footer of the commit)

Commit Message Guidelines

The commit message should follow the following format:

type(scope): subject
BLANK LINE
body

Commitizen

To simplify and automate the process of committing with this format, run git add and execute pnpm commit.