rippera / git-commits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Conventional Changelog

Installation

npm i cz-conventional-changelog --save-dev
yarn add cz-conventional-changelog --dev

Instruction

git add .
yarn/npm cz and fallow instructions
git push <branch_name>

Config

    "config": {
        "commitizen": {
            "path": "./node_modules/cz-conventional-changelog",
            "disableScopeLowerCase": false,
            "disableSubjectLowerCase": false,
            "maxHeaderWidth": 100,
            "maxLineWidth": 100,
            "defaultType": "",
            "defaultScope": "",
            "defaultSubject": "",
            "defaultBody": "",
            "defaultIssues": "",
            "types": {
              ...
              "feat": {
                "description": "A new feature",
                "title": "Features"
              },
              ...
            }
        }
    }

About