From 35b640f83656400245d772f444c7984a517f4755 Mon Sep 17 00:00:00 2001 From: Mathieu Picciolli Date: Mon, 17 Aug 2026 09:50:09 -0400 Subject: [PATCH] chore: make husky setup v10-compatible husky 9 deprecated `husky install` and the shebang/sourcing preamble in hook files; both are removed in v10. Co-Authored-By: Claude Opus 5 --- .husky/pre-commit | 3 --- .husky/pre-push | 3 --- package.json | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index bf25f47..192cb67 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run build && npm test diff --git a/package.json b/package.json index fc78aab..5a0c2aa 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "test:watch": "vitest", "coverage": "vitest run --coverage", "bench": "vitest bench --run", - "prepare": "husky install" + "prepare": "husky" }, "dependencies": { "@types/sql.js": "^1.4.11",