File tree Expand file tree Collapse file tree 3 files changed +41
-74
lines changed
Expand file tree Collapse file tree 3 files changed +41
-74
lines changed Original file line number Diff line number Diff line change 1- #! /usr/bin/env sh
2- if [ -z " $husky_skip_init " ]; then
3- debug () {
4- if [ " $HUSKY_DEBUG " = " 1" ]; then
5- echo " husky (debug) - $1 "
6- fi
7- }
8-
9- readonly hook_name=" $( basename -- " $0 " ) "
10- debug " starting $hook_name ..."
11-
12- if [ " $HUSKY " = " 0" ]; then
13- debug " HUSKY env variable is set to 0, skipping hook"
14- exit 0
15- fi
1+ echo " husky - DEPRECATED
162
17- if [ -f ~ /.huskyrc ]; then
18- debug " sourcing ~/.huskyrc"
19- . ~ /.huskyrc
20- fi
3+ Please remove the following two lines from $0 :
214
22- readonly husky_skip_init=1
23- export husky_skip_init
24- sh -e " $0 " " $@ "
25- exitCode=" $? "
26-
27- if [ $exitCode != 0 ]; then
28- echo " husky - $hook_name hook exited with code $exitCode (error)"
29- fi
30-
31- if [ $exitCode = 127 ]; then
32- echo " husky - command not found in PATH=$PATH "
33- fi
5+ #!/usr/bin/env sh
6+ . \"\$ (dirname -- \"\$ 0\" )/_/husky.sh\"
347
35- exit $exitCode
36- fi
8+ They WILL FAIL in v10.0.0
9+ "
Original file line number Diff line number Diff line change 4747 "@commitlint/config-conventional" : " ^19.7.1" ,
4848 "@tinyhttp/app" : " ^2.5.2" ,
4949 "@types/node" : " ^20.17.22" ,
50- "bun-types" : " ^1.2.4" ,
5150 "c8" : " ^10.1.3" ,
5251 "expect" : " ^29.7.0" ,
53- "husky" : " ^8.0.3 " ,
52+ "husky" : " ^9.1.7 " ,
5453 "supertest-fetch" : " ^2.0.0" ,
55- "tsx" : " ^3.14.0 " ,
54+ "tsx" : " ^4.19.3 " ,
5655 "typescript" : " ^5.8.2"
5756 }
5857}
You can’t perform that action at this time.
0 commit comments