mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: migrate from tsx to bun as TypeScript runtime
Remove tsx dependency and update all dev scripts and documentation to use bun as the primary TypeScript runtime for development. Consolidate process detection logic in daemon.ts to check for dev mode via src/index.ts regardless of runtime.
This commit is contained in:
+2
-3
@@ -44,8 +44,8 @@
|
||||
"test": "bun run tools:unpack && vitest run",
|
||||
"test:win": "vitest run",
|
||||
"dev": "bun src/index.ts",
|
||||
"dev:local-server": "tsx --env-file .env.dev-local-server src/index.ts",
|
||||
"dev:integration-test-env": "tsx --env-file .env.integration-test src/index.ts",
|
||||
"dev:local-server": "bun --env-file .env.dev-local-server src/index.ts",
|
||||
"dev:integration-test-env": "bun --env-file .env.integration-test src/index.ts",
|
||||
"release-all": "bun run scripts/release-all.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -77,7 +77,6 @@
|
||||
"eslint-config-prettier": "^10",
|
||||
"shx": "^0.3.3",
|
||||
"ts-node": "^10",
|
||||
"tsx": "^4.20.6",
|
||||
"typescript": "^5",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user