diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec..0000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/commit-msg b/.husky/commit-msg index a483680..38bf73a 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - pnpm commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index 4e80cc6..0bbfe79 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm lint-staged pnpm test:ci diff --git a/package.json b/package.json index da4560a..c9bbb26 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:typescript": "tsc --noEmit", "lint": "pnpm lint:typescript && pnpm lint:eslint", "preinstall": "npx only-allow pnpm", - "prepare": "husky install", + "prepare": "husky", "release": "semantic-release", "start": "next start", "test:ci": "jest --ci", @@ -48,7 +48,7 @@ "eslint-plugin-prettier": "5.1.3", "eslint-plugin-react": "^7.33.2", "eslint-plugin-testing-library": "^6.2.0", - "husky": "^8.0.3", + "husky": "^9.0.11", "inquirer": "8.2.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfa453f..a5d7aaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,8 +113,8 @@ devDependencies: specifier: ^6.2.0 version: 6.2.0(eslint@8.56.0)(typescript@5.3.3) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.11 + version: 9.0.11 inquirer: specifier: 8.2.6 version: 8.2.6 @@ -4831,9 +4831,9 @@ packages: engines: {node: '>=16.17.0'} dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.11: + resolution: {integrity: sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==} + engines: {node: '>=18'} hasBin: true dev: true