@jondotsoy/commit-help

0.1.12 • Public • Published

Commit-Help

Node.js Package

Features:

  • Shell alias feat: helper to commit a feature feat(scope): <message> or feat: <message>
  • Shell alias fix: helper to commit a fix fix(scope): <message> or fix: <message>
  • Shell alias refactor: helper to commit a refactor refactor(scope): <message> or refactor: <message>
  • Auto detect scope from change files using the .mmrc.json file

Example mmrc file:

{
  "scopes": [
    {
      "name": "user",
      "match": "$CWD/apps/user/**"
    },
    {
      "name": "products",
      "match": "$CWD/apps/products/**"
    },
    {
      "name": "settings",
      "match": "$CWD/configs/**"
    }
  ]
}

How to use

How to install

npm install -g @jondotsoy/commit-help

and run add the next line to your shell config (.alias, .bashrc, .zshrc, etc):

eval $(commit-help -)

You can use wthout install. Just add into your shell config:

eval $(npx @jondotsoy/commit-help -)

⚠️ This can delay to the shell startup.

Readme

Keywords

Package Sidebar

Install

npm i @jondotsoy/commit-help

Weekly Downloads

0

Version

0.1.12

License

ISC

Unpacked Size

35.5 kB

Total Files

27

Last publish

Collaborators

  • jondotsoy