mirror of
https://github.com/better-auth/better-hub
synced 2026-08-09 12:26:04 +00:00
fix: use bun in package.json
This commit is contained in:
+8
-8
@@ -21,16 +21,16 @@
|
||||
},
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"go": "pnpm run",
|
||||
"build": "pnpm -r run build",
|
||||
"dev": "pnpm -r run dev",
|
||||
"go": "bun run",
|
||||
"build": "bun -r run build",
|
||||
"dev": "bun -r run dev",
|
||||
"lint": "oxlint apps packages",
|
||||
"lint:fix": "oxlint --fix apps packages",
|
||||
"fmt": "oxfmt --ignore-path .oxfmtignore apps packages *.json *.yaml",
|
||||
"fmt:check": "oxfmt --ignore-path .oxfmtignore --check apps packages *.json *.yaml",
|
||||
"typecheck": "pnpm -r exec tsc --noEmit",
|
||||
"check": "pnpm lint && pnpm fmt:check && pnpm typecheck",
|
||||
"fix": "pnpm lint:fix && pnpm fmt",
|
||||
"typecheck": "bun -r exec tsc --noEmit",
|
||||
"check": "bun lint && bun fmt:check && bun typecheck",
|
||||
"fix": "bun lint:fix && bun fmt",
|
||||
"prepare": "simple-git-hooks"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -42,7 +42,7 @@
|
||||
"typescript": "^5.7.0"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
"pre-commit": "bun lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js,jsx}": [
|
||||
@@ -53,5 +53,5 @@
|
||||
"oxfmt --write"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@10.10.0"
|
||||
"packageManager": "bun@1.3.5"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user