@domestika/cz

1.5.0 • Public • Published

cz

A commitizen adapter for semantic commits.

It provides

  • CLI commit prompt to guide developer on commit messages.
  • Enforcement of semantic commits human-readable and machine- parsable.
  • Parseable commits are used for releases by mono

It's highly inspired in cz-customizable adapter.

Installation/Usage

Use cz types with validate-commit-msg

npm install --save-dev validate-commit-msg
npm install --save-dev @domestika/cz

in package.json

{
  "config": {
    "validate-commit-msg": {
      "types": "@domestika/cz/types"
      /* rest of your config here */
    }
  }
}

Integrating validate-commit-msg with git "commit-msg" hook

We recommend using husky.

npm install husky --save-dev
npm install --save-dev validate-commit-msg
npm install --save-dev @domestika/cz

in package.json

{
  "scripts": {
    /* ... your own scripts ... */
    "commitmsg": "validate-commit-msg"
  }
}

Dependents (1)

Package Sidebar

Install

npm i @domestika/cz

Weekly Downloads

0

Version

1.5.0

License

MIT

Unpacked Size

14.1 kB

Total Files

9

Last publish

Collaborators

  • domestika-dev
  • soyellupi