From 2573d09bf01bd1c34e6bfa0554dbe99c14388dc6 Mon Sep 17 00:00:00 2001 From: hunterckx <118154470+hunterckx@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:25:01 -0700 Subject: [PATCH] chore: update deprecated husky commands (#40) --- .husky/commit-msg | 1 - .husky/pre-commit | 1 - package.json | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index d2c2a8cf..9f22e00b 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,5 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" echo "Checking commit message" diff --git a/.husky/pre-commit b/.husky/pre-commit index e267a7b6..b45b3ebe 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,4 @@ #!/bin/sh -. "$(dirname "$0")/_/husky.sh" echo '🏗️👷 Checking your project before committing' diff --git a/package.json b/package.json index cce0bc71..99b4bed4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "npx serve out", "lint": "next lint --dir .", "check-format": "prettier --check .", - "prepare": "husky install .husky", + "prepare": "husky", "test": "jest --runInBand", "build-brc-db": "esrun files/build-catalog.ts" },