chore: upgrade husky to latest (#5719)

- https://github.com/typicode/husky/pull/1336
This commit is contained in:
LongYinan 2024-01-26 06:37:39 +00:00
parent 1cf182b7ca
commit 16ef255f51
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
3 changed files with 8 additions and 10 deletions

View File

@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn lint-staged && yarn lint:ox

View File

@ -37,7 +37,8 @@
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc -b tsconfig.json --diagnostics",
"postinstall": "node ./scripts/check-version.mjs && yarn i18n-codegen gen && yarn husky install"
"postinstall": "node ./scripts/check-version.mjs && yarn i18n-codegen gen && yarn husky install",
"prepare": "husky"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown --cache",
@ -88,7 +89,7 @@
"eslint-plugin-vue": "^9.18.1",
"fake-indexeddb": "5.0.2",
"happy-dom": "^13.0.0",
"husky": "^9.0.0",
"husky": "^9.0.6",
"lint-staged": "^15.1.0",
"msw": "^2.0.8",
"nanoid": "^5.0.3",

View File

@ -559,7 +559,7 @@ __metadata:
eslint-plugin-vue: "npm:^9.18.1"
fake-indexeddb: "npm:5.0.2"
happy-dom: "npm:^13.0.0"
husky: "npm:^9.0.0"
husky: "npm:^9.0.6"
lint-staged: "npm:^15.1.0"
msw: "npm:^2.0.8"
nanoid: "npm:^5.0.3"
@ -22560,12 +22560,12 @@ __metadata:
languageName: node
linkType: hard
"husky@npm:^9.0.0":
version: 9.0.1
resolution: "husky@npm:9.0.1"
"husky@npm:^9.0.6":
version: 9.0.6
resolution: "husky@npm:9.0.6"
bin:
husky: bin.js
checksum: 8f28488e59d3c6944fedb9ba9adb0d4f79f000d44ede2e5ed3a79031995afc261965a47013017480012ad7fa6f54a3023c00ad992c143434bedf4d6134957141
checksum: e198c90a59d460cf860c33e0a4c3927ecfb645d4fd4c2de3fbcd5fb56b858a923af452508d549f6ed020bb48de08290912cd77c006dd2a83e551c24c17340d5b
languageName: node
linkType: hard