chore: update husky (#15867)

This commit is contained in:
btea 2024-02-23 09:10:20 +08:00 committed by GitHub
parent 95f8041e4c
commit 41bcd9e1f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 13 deletions

View File

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm exec commitlint --config commitlint.config.js --edit "${1}"

View File

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm exec lint-staged

View File

@ -37,7 +37,7 @@
"docs:gen-locale": "pnpm run -C docs gen-locale",
"docs:crowdin-credentials": "pnpm run -C docs crowdin-credentials",
"stub": "pnpm run -r --parallel stub",
"prepare": "husky install",
"prepare": "husky",
"postinstall": "pnpm stub && concurrently \"pnpm gen:version\" \"pnpm run -C internal/metadata dev\""
},
"peerDependencies": {
@ -98,7 +98,7 @@
"eslint-define-config": "^1.5.1",
"expect-type": "^0.13.0",
"fast-glob": "^3.2.11",
"husky": "^8.0.1",
"husky": "^9.0.11",
"jsdom": "16.4.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",

View File

@ -166,8 +166,8 @@ importers:
specifier: ^3.2.11
version: 3.2.11
husky:
specifier: ^8.0.1
version: 8.0.1
specifier: ^9.0.11
version: 9.0.11
jsdom:
specifier: 16.4.0
version: 16.4.0
@ -7647,9 +7647,9 @@ packages:
engines: {node: '>=12.20.0'}
dev: true
/husky@8.0.1:
resolution: {integrity: sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==}
engines: {node: '>=14'}
/husky@9.0.11:
resolution: {integrity: sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==}
engines: {node: '>=18'}
hasBin: true
dev: true