chore(deps-dev): bump husky from 8.0.3 to 9.0.5 (#14326)

* chore(deps-dev): bump husky from 8.0.3 to 9.0.5

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.5)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

* chore: migrate to husky v9

https://github.com/typicode/husky/releases/tag/v9.0.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-01-26 16:06:22 +08:00 committed by GitHub
parent 0d18af93b8
commit 2bb4e47e39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 10 deletions

View File

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

View File

@ -31,7 +31,7 @@
"jest:coverage": "cross-env NODE_ENV=test jest --coverage --reporters=default --reporters=jest-junit --runInBand --forceExit --detectOpenHandles",
"jest:watch": "cross-env NODE_ENV=test jest --watch",
"lint": "eslint --cache .",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"prepare": "husky || true",
"profiling": "NODE_ENV=production node --prof lib/index.js",
"start": "node lib/index.js",
"test": "npm run format:check && npm run jest:coverage"
@ -193,7 +193,7 @@
"eslint-plugin-unicorn": "50.0.1",
"eslint-plugin-yml": "1.12.2",
"fs-extra": "11.2.0",
"husky": "8.0.3",
"husky": "9.0.5",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.2.0",

View File

@ -332,8 +332,8 @@ devDependencies:
specifier: 11.2.0
version: 11.2.0
husky:
specifier: 8.0.3
version: 8.0.3
specifier: 9.0.5
version: 9.0.5
jest:
specifier: 29.7.0
version: 29.7.0
@ -4608,9 +4608,9 @@ packages:
engines: {node: '>=16.17.0'}
dev: true
/husky@8.0.3:
resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
engines: {node: '>=14'}
/husky@9.0.5:
resolution: {integrity: sha512-/EX48XLor4FczjgdJjwK4qMETrJxJqF4rkgo+NUeK8b2F4TV6s5QxAuG2JZfxm4b9WnrgBGS7bA/JK+H5CKg+A==}
engines: {node: '>=18'}
hasBin: true
dev: true