diff --git a/.husky/pre-commit b/.husky/pre-commit index 5a182ef10..372362317 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - yarn lint-staged diff --git a/package.json b/package.json index 079747e07..32a199150 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "prepublishOnly": "yarn build", "generate": "node scripts/production/postinstall.js", "postinstall": "node scripts/production/postinstall.js", - "prepare": "husky install", + "prepare": "husky", "type:check": "tsc --noEmit" }, "devDependencies": { @@ -99,7 +99,7 @@ "graphql": "^16.8.1", "graphql-request": "^6.1.0", "graphql-tag": "^2.12.6", - "husky": "^8.0.3", + "husky": "^9.0.7", "jest": "29.7.0", "jest-watch-select-projects": "^2.0.0", "jest-watch-typeahead": "2.2.2", diff --git a/yarn.lock b/yarn.lock index 6d48b551c..9e754f8c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4585,10 +4585,10 @@ human-signals@^5.0.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== -husky@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" - integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== +husky@^9.0.7: + version "9.0.7" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.7.tgz#047f24ec1b6c681206af714b4217c13ee97fff20" + integrity sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg== iconv-lite@^0.6.2: version "0.6.3"