@team-chido/conventional-commit

Commitizen adapter following the conventional-changelog format.

Usage no npm install needed!

<script type="module">
  import teamChidoConventionalCommit from 'https://cdn.skypack.dev/@team-chido/conventional-commit';
</script>

README

conventional-commit

lerna npm license

Part of the commitizen family. Prompts for conventional changelog standard.

Configuration

Global

install

npm i -g @team-chido/conventional-commit

add file ~/.czrc

{
  "path": "@team-chido/conventional-commit"
  // ...other configs
}

package.json

Like commitizen, you specify the configuration through the package.json's config.commitizen key.

First install

npm i -D @team-chido/conventional-commit
{
// ...  default values
    "config": {
        "commitizen": {
            "path": "./node_modules/@team-chido/conventional-commit",
            "emojis": false,
            "defaultType": "",
            "defaultScope": "",
            "defaultSubject": "",
            "defaultBody": "",
            "defaultIssues": "",
            "maxHeaderWidth": 72,
            "maxLineWidth": 72,
            "types": {
              ...
              "feat": {
                "description": "A new feature",
                "emoji": "🚀"
              },
              ...
            }
        }
    }
// ...
}