diff --git a/.husky/pre-commit b/.husky/pre-commit index 25d2235737..2312dc587f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged \ No newline at end of file +npx lint-staged diff --git a/package.json b/package.json index 75bba11fbb..71e0379dfa 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint:changed": "git diff --name-only --diff-filter=ACMRTUXB | grep -E '\\.(js|jsx|ts|tsx)$' | xargs -r oxlint", "format": "oxfmt app server shared plugins", "format:check": "oxfmt --check app server shared plugins", - "prepare": "husky install", + "prepare": "husky", "postinstall": "yarn patch-package", "install-local-ssl": "node ./server/scripts/install-local-ssl.js", "release": "node ./server/scripts/release.js", @@ -336,7 +336,7 @@ "concurrently": "^8.2.2", "discord-api-types": "^0.38.48", "fake-indexeddb": "^6.2.5", - "husky": "^8.0.3", + "husky": "^9.1.7", "i18next-parser": "^9.4.0", "ioredis-mock": "^8.13.1", "lint-staged": "^16.4.0", diff --git a/yarn.lock b/yarn.lock index 4114f0f428..5764f265ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11342,12 +11342,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.3": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.1.7": + version: 9.1.7 + resolution: "husky@npm:9.1.7" bin: - husky: lib/bin.js - checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 + husky: bin.js + checksum: 10c0/35bb110a71086c48906aa7cd3ed4913fb913823715359d65e32e0b964cb1e255593b0ae8014a5005c66a68e6fa66c38dcfa8056dbbdfb8b0187c0ffe7ee3a58f languageName: node linkType: hard @@ -14396,7 +14396,7 @@ __metadata: hot-shots: "npm:^12.1.0" http-errors: "npm:2.0.1" https-proxy-agent: "npm:^7.0.6" - husky: "npm:^8.0.3" + husky: "npm:^9.1.7" i18next: "npm:^22.5.1" i18next-fs-backend: "npm:^2.6.9" i18next-http-backend: "npm:^4.0.3"