From b485491b38931953a8181a24663b62a8f116c894 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Fri, 27 Oct 2023 16:41:23 +0300 Subject: [PATCH] chore: use bun for husky --- .husky/commit-msg | 2 +- .husky/pre-commit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index f6ca9c6..932a65a 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install commitlint --config commitlint.config.cjs --edit "$1" \ No newline at end of file +bunx commitlint --config commitlint.config.cjs --edit "$1" \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index 367adc4..129ef61 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -pnpm format && pnpm lint && pnpm build && pnpm test \ No newline at end of file +bun lint && bun run build && bun run test \ No newline at end of file