From c5f14866be528191727e3a9dd03325ed0224ec74 Mon Sep 17 00:00:00 2001 From: abhishek Date: Thu, 9 Jan 2025 00:34:37 +0530 Subject: [PATCH 1/2] chore: fixed husky deprecated issues --- .husky/pre-commit | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 77ecddae25..22f1552bf9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npm run format:fix # npm run lint:fix diff --git a/package.json b/package.json index cd52ff6453..7fd2f550eb 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "format:check": "prettier --check \"**/*.{ts,tsx,json,scss,css}\"", "check-tsdoc": "node .github/workflows/check-tsdoc.js", "typecheck": "tsc --project tsconfig.json --noEmit", - "prepare": "husky install", + "prepare": "husky", "jest-preview": "jest-preview", "update:toc": "node scripts/githooks/update-toc.js", "lint-staged": "lint-staged --concurrent false", From 4bd58dbf04d10077fe6026bc4607f2c372ada151 Mon Sep 17 00:00:00 2001 From: abhishek Date: Thu, 9 Jan 2025 01:24:37 +0530 Subject: [PATCH 2/2] chore: Removed deprecated shebang line --- .husky/pre-commit | 1 - 1 file changed, 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 22f1552bf9..8a0ce26aa2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ -#!/usr/bin/env sh npm run format:fix # npm run lint:fix