CLI to help write commit messages according to conventional commits.
If you want to install stx-commit
into your project:
npm:
npm install -D stx-commit
pnpm:
pnpm add -D stx-commit
yarn:
yarn add -D stx-commit
bun:
bun add -D stx-commit
Then add into your package.json
:
{
"scripts": {
"commit": "stx-commit"
}
}
Option | Description | Default |
---|---|---|
-ml --max-length |
Max length of each line. | 72 |
-e --emoji |
Add the selected commit type emoji into the commit title. | false |