diff --git a/.husky/pre-commit b/.husky/pre-commit index 57a5adb..c547379 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" if type pnpm > /dev/null 2>&1; then pnpm lint-staged else diff --git a/package.json b/package.json index 457c9c4..f128e95 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dev": "vite --force", "build": "vite build", "serve": "vite preview", - "prepare": "husky install", + "prepare": "husky", "format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\"" }, "license": "MIT", @@ -43,7 +43,7 @@ "@types/sha256": "^0.2.2", "@types/streamsaver": "^2.0.5", "@vitejs/plugin-legacy": "^4.1.1", - "husky": "^8.0.3", + "husky": "^9.0.0", "lint-staged": "^13.3.0", "prettier": "3.1.1", "rollup-plugin-copy": "^3.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ddaecdd..f3b1bee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -175,8 +175,8 @@ importers: specifier: ^4.1.1 version: 4.1.1(terser@5.42.0)(vite@4.5.14(@types/node@20.19.0)(terser@5.42.0)) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.0 + version: 9.1.7 lint-staged: specifier: ^13.3.0 version: 13.3.0 @@ -1594,9 +1594,9 @@ packages: resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} engines: {node: '>=14.18.0'} - husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + husky@9.1.7: + resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==} + engines: {node: '>=18'} hasBin: true ignore@5.3.2: @@ -4098,7 +4098,7 @@ snapshots: human-signals@4.3.1: {} - husky@8.0.3: {} + husky@9.1.7: {} ignore@5.3.2: {}