Update husky and remove deprecated features (#29338)

This commit is contained in:
Matt Jankowski 2024-02-22 04:02:15 -05:00 committed by GitHub
parent c63567a214
commit 006aa4e35a
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"
yarn lint-staged yarn lint-staged

View File

@ -27,7 +27,7 @@
"lint:yml": "prettier --check \"**/*.{yaml,yml}\"", "lint:yml": "prettier --check \"**/*.{yaml,yml}\"",
"lint": "yarn lint:js && yarn lint:json && yarn lint:sass && yarn lint:yml", "lint": "yarn lint:js && yarn lint:json && yarn lint:sass && yarn lint:yml",
"postversion": "git push --tags", "postversion": "git push --tags",
"prepare": "husky install", "prepare": "husky",
"start": "node ./streaming/index.js", "start": "node ./streaming/index.js",
"test": "yarn lint && yarn run typecheck && yarn jest", "test": "yarn lint && yarn run typecheck && yarn jest",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
@ -188,7 +188,7 @@
"eslint-plugin-promise": "~6.1.1", "eslint-plugin-promise": "~6.1.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3", "husky": "^9.0.11",
"jest": "^29.5.0", "jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0", "jest-environment-jsdom": "^29.5.0",
"lint-staged": "^15.0.0", "lint-staged": "^15.0.0",

View File

@ -2378,7 +2378,7 @@ __metadata:
history: "npm:^4.10.1" history: "npm:^4.10.1"
hoist-non-react-statics: "npm:^3.3.2" hoist-non-react-statics: "npm:^3.3.2"
http-link-header: "npm:^1.1.1" http-link-header: "npm:^1.1.1"
husky: "npm:^8.0.3" husky: "npm:^9.0.11"
immutable: "npm:^4.3.0" immutable: "npm:^4.3.0"
imports-loader: "npm:^1.2.0" imports-loader: "npm:^1.2.0"
intl-messageformat: "npm:^10.3.5" intl-messageformat: "npm:^10.3.5"
@ -9046,12 +9046,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"husky@npm:^8.0.3": "husky@npm:^9.0.11":
version: 8.0.3 version: 9.0.11
resolution: "husky@npm:8.0.3" resolution: "husky@npm:9.0.11"
bin: bin:
husky: lib/bin.js husky: bin.mjs
checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 checksum: 10c0/2c787dcf74a837fc9a4fea7da907509d4bd9a289f4ea10ecc9d86279e4d4542b0f5f6443a619bccae19e265f2677172cc2b86aae5c932a35a330cc227d914605
languageName: node languageName: node
linkType: hard linkType: hard