@bird-studio/interactive-message
TypeScript icon, indicating that this package has built-in type declarations

5.0.12 • Public • Published

semantic-release Gitmoji

interactive-message

Alternative

https://github.com/bird-studio/hoipoi_capsule

Overview

Create messages in an interactive format.

https://user-images.githubusercontent.com/92862731/183108755-09c3b60c-f46d-4422-99f7-e6782cdf9ecd.mov

I need to use it right away.

https://github.com/akira-toriyama/interactive-message-demo

Usage

npm i -D @bird-studio/interactive-message

touch interactive-message.config.js

example

https://github.com/akira-toriyama/interactive-message-demo/blob/main/interactive-message.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-message commit
git 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-message commit

Localization

Package Sidebar

Install

npm i @bird-studio/interactive-message

Weekly Downloads

18

Version

5.0.12

License

MIT

Unpacked Size

29.6 kB

Total Files

52

Last publish

Collaborators

  • akira-toriyama