2.0.7 • Published 4 years ago
interactive-commit v2.0.7
interactive-commit
Overview
Create messages in an interactive format.
Usage
npm i -D interactive-commit
touch interactive-commit.config.js
example
https://github.com/baronTommy/interactive-commit/blob/main/interactive-commit.config.js
The part that matches questionDictionary.name
will be replaced.
Change the templates and questions as you like.
This setting is Conventional Commit and gitmoji.
Commit hook
githooks
prepare-commit-msg
#!/bin/sh
exec < /dev/tty && yarn interactive-commit commit --hook
git -c my.interactive=yes commit
package.json
"scripts": {
"prepare": "git config --local core.hooksPath .githooks"
}
husky
prepare-commit-msg
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
exec < /dev/tty && npx interactive-commit commit --hook
1.2.0
4 years ago
1.5.2
4 years ago
1.4.3
4 years ago
1.5.1
4 years ago
1.4.2
4 years ago
1.5.0
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
2.0.1
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago