File tree 4 files changed +8
-35
lines changed
4 files changed +8
-35
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh
2
- if [ -z " $husky_skip_init " ]; then
3
- debug () {
4
- [ " $HUSKY_DEBUG " = " 1" ] && echo " husky (debug) - $1 "
5
- }
1
+ echo " husky - DEPRECATED
6
2
7
- readonly hook_name=" $( basename " $0 " ) "
8
- debug " starting $hook_name ..."
3
+ Please remove the following two lines from $0 :
9
4
10
- if [ " $HUSKY " = " 0" ]; then
11
- debug " HUSKY env variable is set to 0, skipping hook"
12
- exit 0
13
- fi
5
+ #!/usr/bin/env sh
6
+ . \"\$ (dirname -- \"\$ 0\" )/_/husky.sh\"
14
7
15
- if [ -f ~ /.huskyrc ]; then
16
- debug " sourcing ~/.huskyrc"
17
- . ~ /.huskyrc
18
- fi
19
-
20
- export readonly husky_skip_init=1
21
- sh -e " $0 " " $@ "
22
- exitCode=" $? "
23
-
24
- if [ $exitCode != 0 ]; then
25
- echo " husky - $hook_name hook exited with code $exitCode (error)"
26
- fi
27
-
28
- exit $exitCode
29
- fi
8
+ They WILL FAIL in v10.0.0
9
+ "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
2
- . " $( dirname " $0 " ) /_/husky.sh"
3
-
4
- pnpm format && pnpm lint && pnpm build && pnpm test
1
+ pnpm test && pnpm commitlint --config commitlint.config.js --edit "$1"
Original file line number Diff line number Diff line change 48
48
"typescript" : " ~5.6.3"
49
49
},
50
50
"packageManager" :
" [email protected] +sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
51
- }
51
+ }
You can’t perform that action at this time.
0 commit comments