選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
unknown fe79185e87 ali aslani 1年前
..
__tests__ ali aslani 1年前
bin ali aslani 1年前
node_modules ali aslani 1年前
src ali aslani 1年前
CHANGELOG.md ali aslani 1年前
HOOKS.md ali aslani 1年前
LICENSE ali aslani 1年前
README.md ali aslani 1年前
appveyor.yml ali aslani 1年前
package.json ali aslani 1年前

README.md

yorkie

Git hooks made easy

This is a fork of husky with a few changes:

  • Prioritizes package.json located next to .git directory, instead of hard-coded upward search. This avoids the problem when a root package in a lerna monorepo and a sub package both depends on husky, it gets confused and double-updates the root git hooks with wrong paths.

  • Changed where hooks are read from in package.json:

    Before

    {
      "scripts": {
        "precommit": "foo"
      }
    }
    

    After

    {
      "gitHooks": {
        "pre-commit": "foo"
      }
    }