From 360c1e1f44ecdea71a4a38ad44820f93b3574523 Mon Sep 17 00:00:00 2001 From: alphacrack <18480504+alphacrack@users.noreply.github.com> Date: Tue, 21 Jul 2026 20:52:26 +0200 Subject: [PATCH] chore: complete husky 9 hook migration husky 9 deprecated the v8 hook format. This removes the '.husky/_/husky.sh' shim sourcing from both hooks and switches the prepare script from 'husky install' to 'husky', eliminating the deprecation warnings on install and commit. Closes #36 Co-Authored-By: Claude Fable 5 --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- package.json | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 90e3f56..4b97214 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' diff --git a/.husky/pre-commit b/.husky/pre-commit index 057fb0b..cde78e6 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' diff --git a/package.json b/package.json index fdb334f..eb279ae 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "cdk:synth": "cdk synth", "cdk:deploy": "cdk deploy", "cdk:destroy": "cdk destroy", - "prepare": "husky install", + "prepare": "husky", "pre-commit": "lint-staged", "clean": "rm -rf lib dist coverage .jsii tsconfig.tsbuildinfo" },