Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yyx990803/yorkie
:dog: Git hooks made easy
https://github.com/yyx990803/yorkie
Last synced: 3 months ago
JSON representation
:dog: Git hooks made easy
- Host: GitHub
- URL: https://github.com/yyx990803/yorkie
- Owner: yyx990803
- License: mit
- Fork: true (typicode/husky)
- Created: 2018-01-06T04:26:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T13:29:41.000Z (over 2 years ago)
- Last Synced: 2024-10-30T04:54:22.094Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 414 KB
- Stars: 611
- Watchers: 9
- Forks: 36
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nodejs - yorkie - A fork of husky, 🐶 Git hooks made easy, used in vue3. ![](https://img.shields.io/github/stars/yyx990803/yorkie.svg?style=social&label=Star) (Repository / Git)
README
# yorkie
> Git hooks made easy
This is a fork of [husky](https://github.com/typicode/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**
``` json
{
"scripts": {
"precommit": "foo"
}
}
```**After**
``` json
{
"gitHooks": {
"pre-commit": "foo"
}
}
```