1.0.2 • Published 3 years ago

pr-message v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

pr-message

npm version npm bundle size npm downloads NPM License

Automatically generate beautiful PR messages.

Compatibility:

  • ✅ bash
  • ✅ zsh
  • ✅ macOS Terminal
  • ✅ Windows Command Prompt
  • ✅ Windows PowerShell

Installation:

yarn add --dev pr-message

or

npm add --save-dev pr-message

To automatically run after every commit, add this package to your post-commit hook:

"husky": {
    "hooks": {
        "post-commit": "pr-message"
    }
}

On-demand use:

Run pr-message and enter a target branch when prompted:

$ yarn pr-message

pr-message v1
🤓 Which branch will you PR into (leave blank to skip)? develop

✅ Here is your PR message:

* First commit
* Second commit
    - with multiple
    - lines in message