diff --git a/.husky/commit-msg b/.husky/commit-msg index 180420ab43..9f9d917cfd 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - ./node_modules/.bin/commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index b326617a40..60b1ca98c8 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm precommit diff --git a/package.json b/package.json index 090f2c7045..213bc6cf77 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preinstall": "npx only-allow pnpm", "lintfix": "pnpm --recursive --parallel lintfix", "precommit": "lint-staged", - "prepare": "husky install", + "prepare": "husky", "reconstruct": "pnpm dlx rimraf packages/*/node_modules packages/*/.turbo node_modules && npm run setup && echo done", "setup": "pnpm install", "start": "turbo run build --filter=!@coveord/plasma-website && pnpm --recursive --parallel start", @@ -69,7 +69,7 @@ "eslint": "8.47.0", "eslint-config-plasma": "workspace:*", "eslint-plugin-prettier": "5.0.0", - "husky": "8.0.3", + "husky": "9.0.7", "lint-staged": "15.0.1", "mime-types": "2.1.35", "prettier": "3.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9feb884885..9cc1e2427f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: 5.0.0 version: 5.0.0(eslint@8.47.0)(prettier@3.0.2) husky: - specifier: 8.0.3 - version: 8.0.3 + specifier: 9.0.7 + version: 9.0.7 lint-staged: specifier: 15.0.1 version: 15.0.1 @@ -11187,9 +11187,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.7: + resolution: {integrity: sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==} + engines: {node: '>=18'} hasBin: true dev: true