1.2.7 • Published 6 years ago

@getty.io/taskapp v1.2.7

Weekly downloads
15
License
-
Repository
-
Last release
6 years ago

Getty/IO Commit Message Validator.

This package provides you a binary that you can use as a git hook to validate the commit message using the Getty/IO commit standard.

The Getty/IO commit standard should have a the following format:

git commit -m <scope>: <subtask or title>, task: <url>, spent: <time spent e.g. 2h or 2h30m>

Commit Requirements

scope: can be one of ['chore', 'docs', 'feat', 'fix', 'refactor', 'style', 'test']
task: trello task url
spent: time spent on the task or subtask with the format 1h or 1h30m.  

E.g.

git commit -m "feat: add commit validation, task: https://trello.com/c/hfVM9KNV/add-validation-rules, spent: 2h"

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

1. Install husky
npm install husky@beta --save-dev
2. Install this package as one of your project's devDependencies
npm install @getty.io/taskapp --save-dev

or

yarn add @getty.io/taskapp --dev
3. Add husky hook in package.json
{
  "husky": {
    "hooks": {
    	"commit-msg": "taskapp"
    }
  }
}
1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.1

6 years ago

1.0.11

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.6

6 years ago