diff --git a/.husky/commit-msg b/.husky/commit-msg index 39c48ae..ff36038 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - pnpm commitlint ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 5680886..b70a79f 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "generate:icons": "pnpm sync && pnpm compile && pnpm clean && node build/scripts/buildIconsDataset.js", "generate:pkgjson": "pnpm compile && node build/scripts/makeProdPkg.js", "lint": "prettier --check . && eslint .", - "prepare": "husky install", "preview": "vite preview", "sync": "svelte-kit sync" }, @@ -57,7 +56,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.43.0", "hast-util-to-html": "^9.0.1", - "husky": "^8.0.3", + "husky": "^9.1.3", "lint-staged": "^15.2.7", "picocolors": "1.0.0", "prettier": "^3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f245ed8..11293b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,8 +61,8 @@ importers: specifier: ^9.0.1 version: 9.0.1 husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.1.3 + version: 9.1.3 lint-staged: specifier: ^15.2.7 version: 15.2.7 @@ -1162,9 +1162,9 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + husky@9.1.3: + resolution: {integrity: sha512-ET3TQmQgdIu0pt+jKkpo5oGyg/4MQZpG6xcam5J5JyNJV+CBT23OBpCF15bKHKycRyMH9k6ONy8g2HdGIsSkMQ==} + engines: {node: '>=18'} hasBin: true ignore-walk@5.0.1: @@ -3219,7 +3219,7 @@ snapshots: human-signals@5.0.0: {} - husky@8.0.3: {} + husky@9.1.3: {} ignore-walk@5.0.1: dependencies: