diff --git a/.husky/pre-commit b/.husky/pre-commit index 20d0d06..3867a0f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run lint diff --git a/package-lock.json b/package-lock.json index 870dd96..c36a2de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "autoprefixer": "10.4.17", "eslint": "8.56.0", "eslint-config-next": "14.1.0", - "husky": "8.0.3", + "husky": "9.0.10", "postcss": "8.4.33", "tailwindcss": "3.4.1" } @@ -3257,15 +3257,15 @@ } }, "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.0.10", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.10.tgz", + "integrity": "sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -7696,4 +7696,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index a7359b8..8273b7f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "prepare": "husky install" + "prepare": "husky" }, "dependencies": { "@heroicons/react": "2.1.1", @@ -46,8 +46,8 @@ "autoprefixer": "10.4.17", "eslint": "8.56.0", "eslint-config-next": "14.1.0", - "husky": "8.0.3", + "husky": "9.0.10", "postcss": "8.4.33", "tailwindcss": "3.4.1" } -} +} \ No newline at end of file