deepsea ca9f471156 first commit há 1 ano atrás
..
__tests__ ca9f471156 first commit há 1 ano atrás
bin ca9f471156 first commit há 1 ano atrás
node_modules ca9f471156 first commit há 1 ano atrás
src ca9f471156 first commit há 1 ano atrás
CHANGELOG.md ca9f471156 first commit há 1 ano atrás
HOOKS.md ca9f471156 first commit há 1 ano atrás
LICENSE ca9f471156 first commit há 1 ano atrás
README.md ca9f471156 first commit há 1 ano atrás
appveyor.yml ca9f471156 first commit há 1 ano atrás
package.json ca9f471156 first commit há 1 ano atrás

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"
    }
  }