1.1.3 • Published 6 years ago

@peak-stone/cz-fbi v1.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

@peak-stone/cz-fbi

Commitizen adapter formatting commit messages

usage

$ npm i -D @peak-stone/cz-fbi
const { bootstrap } = require('@peak-stone/commitizen-promise/dist/cli/git-cz')

bootstrap({
  cliPath: 'node_modules/@peak-stone/commitizen-promise',
  config: {
    path: 'node_modules/@peak-stone/cz-fbi',
  },
})

Docs

  • commit types:
    • feat: new features
    • fix: bug fixes
    • chore: maintain
    • docs: documentation
    • style: formatting, missing semi colons, …
    • refactor
    • perf: improving performance
    • test: adds or modifies tests
    • revert: reverting changes
    • init: initial commit

Types customization

package.json

{
  "name": "",
  "version": "",
  ...
  "cz-fbi": {
    "types": [
      {
        "emoji": "✨",
        "description": "Introducing new features",
        "name": "feat"
      },
      ...
    ],
    "scopes": ["page", "api", ...]
  }
}