switch to bun

This commit is contained in:
2025-09-22 21:39:45 +00:00
parent 049ed4b956
commit 91c14f750e
17 changed files with 208 additions and 276 deletions

View File

@@ -14,27 +14,25 @@
"dev": "tsx watch src/app.ts",
"lint": "oxlint .",
"type": "tsc --noEmit",
"build": "rolldown src/app.ts --file dist/app.js --platform node --format esm --minify",
"tests": "vitest run"
"build": "bun build --target=bun --outfile dist/app.js src/app.ts",
"tests": "bun test"
},
"devDependencies": {
"@prettier/plugin-oxc": "^0.0.4",
"@types/bcrypt": "^6.0.0",
"@types/node": "^24.2.1",
"@types/pg": "^8.15.5",
"oxlint": "^1.12.0",
"@types/bun": "latest",
"oxlint": "^1.16.0",
"prettier": "3.6.2",
"rolldown": "^1.0.0-beta.33",
"tsx": "^4.20.4",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
"tsx": "^4.20.5",
"typescript": "^5.9.2"
},
"dependencies": {
"@hono/node-server": "^1.19.0",
"@hono/zod-validator": "^0.7.2",
"@hono/zod-validator": "^0.7.3",
"bcrypt": "^6.0.0",
"hono": "^4.9.2",
"hono": "^4.9.8",
"pg": "^8.16.3",
"zod": "^4.0.17"
"zod": "^4.1.11"
}
}