product/node_modules/yorkie
Ruikang Zhang e96405c650 Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
..
__tests__ Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
bin Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
node_modules Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
src Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
CHANGELOG.md Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
HOOKS.md Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
README.md Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00

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