2.0.7 • Published 2 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
3 years ago
1.5.2
2 years ago
1.4.3
3 years ago
1.5.1
2 years ago
1.4.2
3 years ago
1.5.0
2 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.1
2 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago