yorkie
    Overview
    Documentation
    Tutorials
    Insights
    Code
    Dependencies
    Contributors
    Jobs

yorkie

githooks management forked from husky

2.0.0  •  Updated 2 years ago  •  by Evan You  •  MIT License

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

Popularity

Weekly Downloads
305.4K
Stars
273

Maintenance

Development

Last ver 2 years ago
Created 2 years ago
Last commit 2 years ago
22 days between commits

Technology

Node version: 8.11.3
21.6K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

36 contributors
Typicode
217 commits
Evan You
Maintainer, 12 commits, 1 merges
glortho
5 commits
Bran van der Meer
3 commits
Works at Pointlogic, Nielsen
Masato Ohba
2 commits
Works at quipper
Amila Welihinda
2 commits
Works at mylkguys

Tags

git
hook
hooks
pre-commit
precommit
post-commit
postcommit
pre-push
prepush
post-merge
postmerge
test
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.