Skip to content

peak-stone/cz-fbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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", ...]
  }
}

About

Commitizen adapter formatting commit messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published