1.5.0 • Published 3 years ago

@domestika/cz v1.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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"
  }
}
1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.0.0

3 years ago