sandbox-agent/foundry/packages/backend/package.json
Nathan Flurry bc872da6f2 feat: switch foundry backend from Bun to Node.js
- Replace Bun.serve() with @hono/node-server (already a dependency)
- Replace Bun-specific debug APIs (Bun.gc, Bun.heapStats,
  Bun.generateHeapSnapshot) with Node.js equivalents (globalThis.gc)
- Update all three Dockerfiles from oven/bun base images to
  node:22-bookworm-slim
- Remove @types/bun devDependency
- Update package.json scripts to use node/npx instead of bun

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 04:46:52 -07:00

36 lines
1.1 KiB
JSON

{
"name": "@sandbox-agent/foundry-backend",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format esm",
"db:generate": "find src/actors -name drizzle.config.ts -exec pnpm exec drizzle-kit generate --config {} \\; && npx tsx src/actors/_scripts/generate-actor-migrations.ts",
"typecheck": "tsc --noEmit",
"test": "npx vitest run",
"start": "node dist/index.js start"
},
"dependencies": {
"@e2b/code-interpreter": "^2.3.3",
"@hono/node-server": "^1.19.7",
"@hono/node-ws": "^1.3.0",
"@iarna/toml": "^2.2.5",
"@sandbox-agent/foundry-shared": "workspace:*",
"better-auth": "^1.5.5",
"dockerode": "^4.0.9",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.44.5",
"hono": "^4.11.9",
"pino": "^10.3.1",
"rivetkit": "https://pkg.pr.new/rivet-dev/rivet/rivetkit@fc5f3b4",
"sandbox-agent": "workspace:*",
"uuid": "^13.0.0",
"ws": "^8.19.0",
"zod": "^4.1.5"
},
"devDependencies": {
"tsup": "^8.5.0"
}
}