Skip to content

Commit 18cc3c8

Browse files
committed
chore: upgrade husky
1 parent f3223b1 commit 18cc3c8

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install lint-staged --quiet --allow-empty

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build:clean": "pnpm -r --workspace-concurrency=1 run build:clean",
1616
"build:core": "pnpm -r --filter @sensoro-design/icons-svg run build",
1717
"release": "walrus release",
18-
"prepare": "husky install"
18+
"prepare": "husky || true",
19+
"preinstall": "npx only-allow pnpm"
1920
},
2021
"repository": {
2122
"type": "git",
@@ -52,7 +53,7 @@
5253
"gulp-concat": "catalog:",
5354
"gulp-header": "catalog:",
5455
"gulp-rename": "catalog:",
55-
"husky": "^8.0.3",
56+
"husky": "catalog:",
5657
"lerna": "^6.5.1",
5758
"lint-staged": "catalog:",
5859
"lodash": "catalog:",

pnpm-lock.yaml

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ catalog:
2626
gulp-concat: ^2.6.1
2727
gulp-header: ^2.0.9
2828
gulp-rename: ^2.0.0
29+
husky: ^9.1.5
2930
lint-staged: ^15.2.10
3031
lodash: ^4.17.21
3132
prettier: ^2.8.8

0 commit comments

Comments
 (0)