Skip to content
This repository was archived by the owner on Aug 20, 2026. It is now read-only.

Commit d8aef97

Browse files
committed
chore: use npx in husky hooks instead of pnpm exec
1 parent ba9ce29 commit d8aef97

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm exec commitlint --edit "$1"
1+
npx commitlint --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Lint and auto-fix staged TypeScript files.
2-
pnpm exec lint-staged
2+
npx lint-staged

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Run the full test suite before push to catch breakage early.
2-
pnpm test
2+
vitest run --project unit

0 commit comments

Comments
 (0)