1.11.0 • Published 5 years ago
@s-ui/cz v1.11.0
sui-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 sui-mono
It's highly inspired in cz-customizable adapter.

Installation/Usage
Use sui-cz types with validate-commit-msg
npm install --save-dev validate-commit-msg
npm install --save-dev @s-ui/czin package.json
{
  "config": {
    "validate-commit-msg": {
      "types": "@s-ui/cz/types"
      /* rest of your config here */
    }
  }
}Integrating validate-commit-msg with git "commit-msg" hook
We recommend using husky.
npm install husky --save-devnpm install --save-dev validate-commit-msg
npm install --save-dev @s-ui/czin package.json
{
  "scripts": {
    /* ... your own scripts ... */
    "commitmsg": "validate-commit-msg"
  }
}