Update husky hooks (#7738)

* [deps] SM: Update husky to v9

* follow migration instructions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
tangowithfoxtrot 2024-01-30 06:50:54 -08:00 committed by GitHub
parent faabb3bbe9
commit 40dc6861cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 11 deletions

View File

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

12
package-lock.json generated
View File

@ -151,7 +151,7 @@
"html-loader": "4.2.0",
"html-webpack-injector": "1.1.4",
"html-webpack-plugin": "5.5.4",
"husky": "8.0.3",
"husky": "9.0.7",
"jest-junit": "16.0.0",
"jest-mock-extended": "3.0.5",
"jest-preset-angular": "14.0.0",
@ -24078,15 +24078,15 @@
}
},
"node_modules/husky": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz",
"integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==",
"version": "9.0.7",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
"integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
"dev": true,
"bin": {
"husky": "lib/bin.js"
"husky": "bin.js"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/typicode"

View File

@ -13,7 +13,7 @@
},
"homepage": "https://bitwarden.com",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"lint": "eslint . --cache --cache-strategy content && prettier --check .",
"lint:fix": "eslint . --cache --cache-strategy content --fix",
"lint:clear": "rimraf .eslintcache",
@ -113,7 +113,7 @@
"html-loader": "4.2.0",
"html-webpack-injector": "1.1.4",
"html-webpack-plugin": "5.5.4",
"husky": "8.0.3",
"husky": "9.0.7",
"jest-junit": "16.0.0",
"jest-mock-extended": "3.0.5",
"jest-preset-angular": "14.0.0",