Skip to content

Commit 7f24e46

Browse files
committed
🚀 Use @sveltejs/adapter-node instead of svelte-bun-adapter
1 parent e5645e8 commit 7f24e46

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# use the official Bun image
22
# see all versions at https://hub.docker.com/r/oven/bun/tags
3-
FROM oven/bun:1 AS base
3+
FROM imbios/bun-node AS base
44
WORKDIR /usr/src/app
55

66
# install dependencies into temp directory

bun.lockb

4.16 KB
Binary file not shown.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"format": "prettier --write .",
1212
"lint": "prettier --check . && eslint .",
1313
"gateway:start": "hive-gateway supergraph --port 5000",
14-
"app:start": "bun ./build/index.js",
14+
"app:start": "node ./build/index.js",
1515
"startall": "concurrently 'bun gateway:start' 'bun app:start'"
1616
},
1717
"devDependencies": {
@@ -33,7 +33,6 @@
3333
"prettier": "^3.3.2",
3434
"prettier-plugin-svelte": "^3.2.6",
3535
"svelte": "^5.0.0",
36-
"svelte-adapter-bun": "^0.5.2",
3736
"svelte-check": "^4.0.0",
3837
"typescript": "^5.0.0",
3938
"typescript-eslint": "^8.0.0",
@@ -47,6 +46,7 @@
4746
"@graphql-mesh/transform-prefix": "^0.102.12",
4847
"@graphql-mesh/transform-rename": "^0.102.12",
4948
"@graphql-mesh/transform-type-merging": "^0.102.12",
49+
"@sveltejs/adapter-node": "^5.2.9",
5050
"arctic": "^2.2.2",
5151
"dotenv": "^16.4.5",
5252
"graphql": "^16.9.0",

svelte.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adapter from 'svelte-adapter-bun';
1+
import adapter from '@sveltejs/adapter-node';
22
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
33

44
/** @type {import('@sveltejs/kit').Config} */

0 commit comments

Comments
 (0)