diff --git a/.husky/pre-push b/.husky/pre-push index 7263f16f9..853f63d74 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn format:ci && yarn eslint diff --git a/package.json b/package.json index c8f7e43ec..3abf85bfa 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "build_sicp_package": "yarn build && node ./scripts/build_sicp_package.mjs", "publish_sicp_package": "./scripts/publish_sicp_package.sh", "benchmark": "node ./scripts/run_jest.mjs --runInBand --testPathPattern='.*benchmark.*' --testPathIgnorePatterns='/dist/'", - "prepare": "husky install" + "prepare": "husky" }, "devDependencies": { "@babel/core": "^7.26.10", @@ -74,7 +74,7 @@ "eslint": "^9.0.0", "eslint-plugin-import": "^2.29.1", "globals": "^15.11.0", - "husky": "^8.0.1", + "husky": "^9.0.0", "jest": "^29.0.0", "jest-environment-jsdom": "^29.0.0", "jest-html-reporter": "^3.2.0", diff --git a/yarn.lock b/yarn.lock index 5b9a2d738..48bfef93a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4297,12 +4297,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.1": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.0.0": + 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 @@ -5302,7 +5302,7 @@ __metadata: eslint: "npm:^9.0.0" eslint-plugin-import: "npm:^2.29.1" globals: "npm:^15.11.0" - husky: "npm:^8.0.1" + husky: "npm:^9.0.0" jest: "npm:^29.0.0" jest-environment-jsdom: "npm:^29.0.0" jest-html-reporter: "npm:^3.2.0"