Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
unknown fe79185e87 ali aslani 1 rok temu
..
__tests__ ali aslani 1 rok temu
bin ali aslani 1 rok temu
node_modules ali aslani 1 rok temu
src ali aslani 1 rok temu
CHANGELOG.md ali aslani 1 rok temu
HOOKS.md ali aslani 1 rok temu
LICENSE ali aslani 1 rok temu
README.md ali aslani 1 rok temu
appveyor.yml ali aslani 1 rok temu
package.json ali aslani 1 rok temu

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