diff --git a/.husky/commit-msg b/.husky/commit-msg index 0bd658f4..70bd3dd2 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install commitlint --edit "$1" diff --git a/package-lock.json b/package-lock.json index aeb80cb9..068490d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "eslint": "9.16.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", - "husky": "8.0.3", + "husky": "9.1.7", "jest": "^29.6.1", "lodash": "4.17.21", "prettier": "3.4.1", @@ -6355,15 +6355,16 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", "dev": true, + "license": "MIT", "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index 4aad960d..8e1ae408 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "license": "Apache-2.0", "scripts": { - "prepare": "tsx scripts/create-definition-schema.ts && husky install", + "prepare": "tsx scripts/create-definition-schema.ts && husky", "build": "rollup -c", "test": "NODE_OPTIONS=--experimental-vm-modules jest --coverage src", "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch src", @@ -73,7 +73,7 @@ "eslint": "9.16.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", - "husky": "8.0.3", + "husky": "9.1.7", "jest": "^29.6.1", "lodash": "4.17.21", "prettier": "3.4.1",