1. yorkie
githooks management forked from husky
yorkie
Package: yorkie
Created by: yyx990803
Last modified: Wed, 25 May 2022 07:06:53 GMT
Version: 2.0.0
License: MIT
Downloads: 2,365,060
Repository: https://github.com/yyx990803/yorkie

Install

npm install yorkie
yarn add yorkie

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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin