chore: migrate monorepo toolchain pnpm+vitest → bun (bun test, bunfig preload, bun.lock)

- Gateway + backend + frontend: pnpm/vitest fully removed → bun 1.3.14
  (bun install, bun test tests/, bunfig.toml [test] preload, bun.lock).
- vitest configs deleted; vitest→bun facade (jest/mock/spyOn/waitForCompat)
  keeps the vitest-style assertions working under bun:test.
- flake.nix: bunInstall switch; pruned prod-pass now removes post-pnpm
  dev-toolchain trees; frontend builds Next standalone via bun's next.
- CI: deploy.yml installs with bun + runs bun test tests/ per service.
- 190 tests green (146 gateway + 37 backend pass, 14 skip), 0 fail;
  tsc + biome across all 3 services clean.

Co-authored-by: git-migration[bot] <noreply@gmw.local>
This commit is contained in:
mytheclipsebotreview
2026-09-24 23:50:30 +07:00
co-authored by git-migration[bot]
parent 7acc49e1fb
commit 7be069d73f
25 changed files with 1819 additions and 9008 deletions
+6 -5
View File
@@ -5,7 +5,7 @@
"private": true,
"type": "module",
"main": "dist/index.js",
"packageManager": "pnpm@11.20.0",
"packageManager": "bun@1.3.14",
"engines": {
"node": ">=22.12.0",
"pnpm": ">=9.0.0"
@@ -16,8 +16,9 @@
"format": "biome format --write .",
"lint": "biome check --diagnostic-level=error .",
"start": "node dist/index.js",
"test": "vitest run",
"typecheck": "tsc --noEmit"
"test": "bun test tests/",
"typecheck": "tsc --noEmit",
"test:e2e": "bun test src/e2e.test.ts"
},
"dependencies": {
"@orpc/server": "1.15.3",
@@ -41,6 +42,6 @@
"@types/ws": "^8.18.1",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
"@types/bun": "latest"
}
}
}