diff --git a/apps/server/Dockerfile.prebuilt b/apps/server/Dockerfile.prebuilt index 986d8dec7..53bb4cbb8 100644 --- a/apps/server/Dockerfile.prebuilt +++ b/apps/server/Dockerfile.prebuilt @@ -3,7 +3,7 @@ # This expects the app to be already built by GitHub Actions # ================================================================ -FROM oven/bun:1.2.21-alpine AS runtime +FROM oven/bun:1.2.21 dev-alpine AS runtime WORKDIR /app diff --git a/apps/server/package.json b/apps/server/package.json index 598f38c2c..6ff2d27d7 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -10,7 +10,8 @@ "prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || (tsx scripts/validate-env.ts && pnpm run typecheck)", "build": "tsup", "build:dry-run": "tsup", - "dev": "bun --watch --inspect src/index.ts", + "get-bun-version": "bun -v", + "dev": "bun -v && echo 'Starting server on http://localhost:3002...' && bun --watch src/index.ts", "dev:fast": "bun --watch src/index.ts", "dev:build": "tsup --watch", "lint": "biome check --write", diff --git a/package.json b/package.json index 18560444a..4646aac2e 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "vitest": "catalog:" }, "peerDependencies": { - "bun": "^1.2.15", "typescript": "^5" }, "packageManager": "pnpm@10.15.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7cc219a0..77d1e25b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,9 +59,6 @@ importers: .: dependencies: - bun: - specifier: ^1.2.15 - version: 1.2.18 dotenv: specifier: 'catalog:' version: 17.2.1 @@ -3257,61 +3254,6 @@ packages: resolution: {integrity: sha512-TtxJSRD8Ohxp6bKkhrm27JRHAxPczQA7idtcTOMYI+wQRRrfgqxHv1cFbCApcSnNjtXkmzFozn6jQtFrOmbjPQ==} engines: {node: '>=14'} - '@oven/bun-darwin-aarch64@1.2.18': - resolution: {integrity: sha512-GNxVh9VUOQ6S0aDp4Qe80MGadGbh8BS6p3jEHXIboRoTrb/80oR0csMjGUpdwGa2hX1zTvpPBwOFXvVP9UaB0Q==} - cpu: [arm64] - os: [darwin] - - '@oven/bun-darwin-x64-baseline@1.2.18': - resolution: {integrity: sha512-LT/MF4DySLjskZf4mUgVXhpDBCuGXI7+uHJTiAjinddglh7ENbrSRuM01cjlJ/dxivvekq5+w6k9gdYpHUibuw==} - cpu: [x64] - os: [darwin] - - '@oven/bun-darwin-x64@1.2.18': - resolution: {integrity: sha512-/oxsG7eIkvw3rxt3V9gqY23i0ajk8m1cG/FedRj8b15GW2TgA+F9F6FQNLqxc/59SBkcrbTLoqk5EtAQwuwi/w==} - cpu: [x64] - os: [darwin] - - '@oven/bun-linux-aarch64-musl@1.2.18': - resolution: {integrity: sha512-hk58uY6LSvDn2WDB8o/WAVCOZERYZPShUujI8rCwcDXkQRI4pbm5B5RJP5wEF0fClRI+WXxyyoBFsTKb7lbgyQ==} - cpu: [aarch64] - os: [linux] - - '@oven/bun-linux-aarch64@1.2.18': - resolution: {integrity: sha512-0uTiUZJFS69LbYPCw963BAdP4wvUXEozbNf7vrB/3rT82x+fPZKF3C+4nfFScm+6UYusjH468vG7/g9x38jBIg==} - cpu: [arm64] - os: [linux] - - '@oven/bun-linux-x64-baseline@1.2.18': - resolution: {integrity: sha512-ERnR7gZz/YYpo/ZhRKXvY9qtsJNQnTrp5HayExfvD1achoHcYEvf3TarajRLVC7gDi7BxlaOPZyJjgdo5g0tUg==} - cpu: [x64] - os: [linux] - - '@oven/bun-linux-x64-musl-baseline@1.2.18': - resolution: {integrity: sha512-u4sqExX5gdcMRdwzL16qP/xJlnxVR+fF43GGQJNopOTXDrsK33BXw3aUObHRtVkqRiK3cyubJUgTtz2ykQ4Dng==} - cpu: [x64] - os: [linux] - - '@oven/bun-linux-x64-musl@1.2.18': - resolution: {integrity: sha512-Oqj8yDkObDWMlxzbhOefb+B75tgKEP4uGEFcBHXjVxSEL0lB7B7LYTvTpeDm8QPldhLs1xAN4FtzZlPUn6qI+Q==} - cpu: [x64] - os: [linux] - - '@oven/bun-linux-x64@1.2.18': - resolution: {integrity: sha512-okHdy9+Yov5BvI19FynnvsmQUP477SNJRv33TIHxs9cpj/ClgaYXMihS+yH0LCzYDFIeojfABiIHdBVUFmxqtQ==} - cpu: [x64] - os: [linux] - - '@oven/bun-windows-x64-baseline@1.2.18': - resolution: {integrity: sha512-n5XF3N0Kr53z4NnVWfTqS72U2rSHJlFafO70SOSzgiu26ylKTGOC9BBsvEQhKld4nKAsbp8YjpOViomrtC6bCQ==} - cpu: [x64] - os: [win32] - - '@oven/bun-windows-x64@1.2.18': - resolution: {integrity: sha512-jklsKWT9zfh8wXewKPfO7Uq8vo72esaQoGzCTTt0NKY+juXvyKaiMHEfT7v4o7cmrql3QPeVtsbp9uNAiuotgw==} - cpu: [x64] - os: [win32] - '@parcel/watcher-android-arm64@2.5.1': resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==} engines: {node: '>= 10.0.0'} @@ -6324,12 +6266,6 @@ packages: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} - bun@1.2.18: - resolution: {integrity: sha512-OR+EpNckoJN4tHMVZPaTPxDj2RgpJgJwLruTIFYbO3bQMguLd0YrmkWKYqsiihcLgm2ehIjF/H1RLfZiRa7+qQ==} - cpu: [arm64, x64, aarch64] - os: [darwin, linux, win32] - hasBin: true - bundle-name@4.1.0: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} @@ -14967,39 +14903,6 @@ snapshots: '@opentelemetry/semantic-conventions@1.36.0': {} - '@oven/bun-darwin-aarch64@1.2.18': - optional: true - - '@oven/bun-darwin-x64-baseline@1.2.18': - optional: true - - '@oven/bun-darwin-x64@1.2.18': - optional: true - - '@oven/bun-linux-aarch64-musl@1.2.18': - optional: true - - '@oven/bun-linux-aarch64@1.2.18': - optional: true - - '@oven/bun-linux-x64-baseline@1.2.18': - optional: true - - '@oven/bun-linux-x64-musl-baseline@1.2.18': - optional: true - - '@oven/bun-linux-x64-musl@1.2.18': - optional: true - - '@oven/bun-linux-x64@1.2.18': - optional: true - - '@oven/bun-windows-x64-baseline@1.2.18': - optional: true - - '@oven/bun-windows-x64@1.2.18': - optional: true - '@parcel/watcher-android-arm64@2.5.1': optional: true @@ -18014,11 +17917,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/browser@3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(playwright@1.55.0)(vite@7.1.3(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))(vitest@3.2.4)': + '@vitest/browser@3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(playwright@1.55.0)(vite@7.0.5(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))(vitest@3.2.4)': dependencies: '@testing-library/dom': 10.4.1 '@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.1) - '@vitest/mocker': 3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(vite@7.1.3(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0)) + '@vitest/mocker': 3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(vite@7.0.5(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0)) '@vitest/utils': 3.2.4 magic-string: 0.30.17 sirv: 3.0.1 @@ -18091,16 +17994,6 @@ snapshots: msw: 2.11.1(@types/node@20.19.4)(typescript@5.9.2) vite: 7.0.5(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0) - '@vitest/mocker@3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(vite@7.1.3(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))': - dependencies: - '@vitest/spy': 3.2.4 - estree-walker: 3.0.3 - magic-string: 0.30.17 - optionalDependencies: - msw: 2.11.1(@types/node@20.19.4)(typescript@5.9.2) - vite: 7.1.3(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0) - optional: true - '@vitest/mocker@3.2.4(msw@2.11.1(@types/node@24.0.10)(typescript@5.9.2))(vite@7.0.5(@types/node@24.0.10)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))': dependencies: '@vitest/spy': 3.2.4 @@ -18148,7 +18041,7 @@ snapshots: sirv: 3.0.1 tinyglobby: 0.2.14 tinyrainbow: 2.0.0 - vitest: 3.2.4(@edge-runtime/vm@3.2.0)(@types/debug@4.1.12)(@types/node@24.0.10)(@vitest/browser@3.2.4)(@vitest/ui@3.2.4)(jiti@2.5.1)(jsdom@26.1.0)(lightningcss@1.30.1)(msw@2.11.1(@types/node@24.0.10)(typescript@5.9.2))(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0) + vitest: 3.2.4(@edge-runtime/vm@3.2.0)(@types/debug@4.1.12)(@types/node@20.19.4)(@vitest/browser@3.2.4)(@vitest/ui@3.2.4)(jiti@2.5.1)(jsdom@26.1.0)(lightningcss@1.30.1)(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0) '@vitest/utils@3.2.4': dependencies: @@ -18762,20 +18655,6 @@ snapshots: builtin-modules@3.3.0: {} - bun@1.2.18: - optionalDependencies: - '@oven/bun-darwin-aarch64': 1.2.18 - '@oven/bun-darwin-x64': 1.2.18 - '@oven/bun-darwin-x64-baseline': 1.2.18 - '@oven/bun-linux-aarch64': 1.2.18 - '@oven/bun-linux-aarch64-musl': 1.2.18 - '@oven/bun-linux-x64': 1.2.18 - '@oven/bun-linux-x64-baseline': 1.2.18 - '@oven/bun-linux-x64-musl': 1.2.18 - '@oven/bun-linux-x64-musl-baseline': 1.2.18 - '@oven/bun-windows-x64': 1.2.18 - '@oven/bun-windows-x64-baseline': 1.2.18 - bundle-name@4.1.0: dependencies: run-applescript: 7.0.0 @@ -24789,7 +24668,7 @@ snapshots: '@edge-runtime/vm': 3.2.0 '@types/debug': 4.1.12 '@types/node': 20.19.4 - '@vitest/browser': 3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(playwright@1.55.0)(vite@7.1.3(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))(vitest@3.2.4) + '@vitest/browser': 3.2.4(msw@2.11.1(@types/node@20.19.4)(typescript@5.9.2))(playwright@1.55.0)(vite@7.0.5(@types/node@20.19.4)(jiti@2.5.1)(lightningcss@1.30.1)(sass@1.91.0)(terser@5.43.1)(tsx@4.20.4)(yaml@2.8.0))(vitest@3.2.4) '@vitest/ui': 3.2.4(vitest@3.2.4) jsdom: 26.1.0 transitivePeerDependencies: