mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): add simple-git-hooks replace husky
This commit is contained in:
6
scripts/git-hooks.ts
Normal file
6
scripts/git-hooks.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { $ } from 'zx';
|
||||
|
||||
$`rm -rf .husky`;
|
||||
$`git config core.hooksPath .git/hooks/`;
|
||||
$`rm -rf .git/hooks`;
|
||||
$`pnpm simple-git-hooks`;
|
Reference in New Issue
Block a user