Dev: update husky to v9

Change-type: patch
This commit is contained in:
Pagan Gazzard 2024-04-29 14:06:54 +01:00
parent be32a2e689
commit 7df3c1f5fc
3 changed files with 8 additions and 11 deletions

View File

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

12
package-lock.json generated
View File

@ -66,7 +66,7 @@
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fp-ts": "^2.8.1",
"got": "14.2.1",
"husky": "^8.0.1",
"husky": "^9.0.11",
"io-ts": "^2.2.10",
"io-ts-reporters": "^1.2.2",
"json-mask": "^2.0.0",
@ -7152,15 +7152,15 @@
}
},
"node_modules/husky": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz",
"integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==",
"version": "9.0.11",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz",
"integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==",
"dev": true,
"bin": {
"husky": "lib/bin.js"
"husky": "bin.mjs"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/typicode"

View File

@ -27,7 +27,7 @@
"clean": "rimraf build",
"install-native-deps": "./build-utils/install-dbus.sh",
"flowzone-preinstall": "npm run install-native-deps",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module"
},
"private": true,
"dependencies": {
@ -92,7 +92,7 @@
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fp-ts": "^2.8.1",
"got": "14.2.1",
"husky": "^8.0.1",
"husky": "^9.0.11",
"io-ts": "^2.2.10",
"io-ts-reporters": "^1.2.2",
"json-mask": "^2.0.0",