Nondeterministic Polynomial Munchies
    Wondering what’s next for npm?Check out our public roadmap! »

    @sheba/cz-convention

    1.4.1 • Public • Published

    cz-convention

    forked from ngryman/cz-emoji to suit my taste.

    Pre Requisite

    Install commitizen

    npm install -g commitizen
    

    Install this adapter

    npm install @sheba/cz-convention
    

    Then, Reference it in your package.json of your project

      ...
      "config": {
        "commitizen": {
          "path": "node_modules/@sheba/cz-convention/"
        }
      }
      ...
    

    Or, globally

    npm install -g @sheba/cz-convention
    

    Then, Reference it:

    echo '{ "path": "@sheba/cz-convention" }' > ~/.czrc
    

    Usage

    Traditionally,

    git cz
    

    With husky, in your runcom .huskyrc or .huskyrc.js:

    {
      "hooks": {
        ...
        "prepare-commit-msg": "exec < /dev/tty && git cz --hook",
        ...
      }
    }
    

    Keywords

    none

    Install

    npm i @sheba/cz-convention

    DownloadsWeekly Downloads

    8

    Version

    1.4.1

    License

    MIT

    Unpacked Size

    11.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar