Skip to content

Commit 3f0bad8

Browse files
committed
chore: use bun for husky
1 parent b905c80 commit 3f0bad8

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,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install commitlint --config commitlint.config.cjs --edit "$1"
4+
bunx commitlint --config commitlint.config.cjs --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
pnpm format && pnpm lint && pnpm build && pnpm test
4+
bun lint && bun run build && bun run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"exports": "./dist/index.js",
1414
"description": "Unless middleware for tinyhttp",
1515
"engines": {
16-
"node": ">=12.4 || 14.x || >=16"
16+
"node": ">=12.20 || >=14.18 || >=16"
1717
},
1818
"files": [
1919
"dist"

0 commit comments

Comments
 (0)