From 3935e76d6bbcf049d6c71e3773647986c21ffc37 Mon Sep 17 00:00:00 2001 From: Giuseppe Scuglia Date: Fri, 21 Nov 2025 18:55:44 +0100 Subject: [PATCH 1/2] chore: handle tsc on pre-push --- .husky/pre-commit | 3 ++- .husky/pre-push | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .husky/pre-push diff --git a/.husky/pre-commit b/.husky/pre-commit index 2312dc5..0bd3cd0 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ -npx lint-staged +#!/bin/sh +npx lint-staged \ No newline at end of file diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100644 index 0000000..e4c3cfe --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,2 @@ +#!/bin/sh +npx tsc --noEmit \ No newline at end of file From 0c3dbfbefc577efab518f3f2583ddc073e977303 Mon Sep 17 00:00:00 2001 From: Giuseppe Scuglia Date: Fri, 21 Nov 2025 19:48:11 +0100 Subject: [PATCH 2/2] refactor: replace npx with pnpm --- .husky/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-push b/.husky/pre-push index e4c3cfe..c8dab32 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,2 +1,2 @@ #!/bin/sh -npx tsc --noEmit \ No newline at end of file +pnpm type-check \ No newline at end of file