Skip to content

Commit

Permalink
add bun
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam234 committed Oct 24, 2024
1 parent 6944b18 commit 5ff5fc5
Show file tree
Hide file tree
Showing 14 changed files with 1,048 additions and 1,081 deletions.
22 changes: 0 additions & 22 deletions .vscode/launch.json

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN pnpm install --frozen-lockfile
RUN pnpm run build:client
RUN pnpm run build:server

FROM denoland/deno:distroless
FROM oven/bun:distroless
WORKDIR /app
COPY --from=builder /app/build ./build
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
EXPOSE 8080
CMD [ "run","--allow-all","build/server/index.js" ]
CMD [ "run","build/server/index.js" ]
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"client": "vite",
"server": "deno run --allow-all --unstable-sloppy-imports --env=.env server/deno.ts",
"server": "bun --watch server/index.ts",
"typecheck": "tsc --noEmit",
"build:client": "vite build",
"build:server": "vite build -c vite.server.config.mts",
Expand All @@ -13,23 +13,23 @@
"dependencies": {
"@artplayer/player": "^5.1.14",
"@auth/core": "^0.35.3",
"@hono/auth-js": "^1.0.12",
"@hono/auth-js": "^1.0.13",
"@nextui-org/react": "^2.4.8",
"@nextui-org/shared-utils": "^2.0.8",
"@nextui-org/theme": "^2.2.11",
"@nextui-org/use-clipboard": "^2.0.7",
"@tanstack/react-query": "^5.59.15",
"@tanstack/react-router": "1.74.4",
"@tanstack/router-devtools": "^1.74.4",
"@tanstack/router-valibot-adapter": "^1.74.4",
"@tanstack/router-vite-plugin": "^1.74.2",
"@tanstack/react-query": "^5.59.16",
"@tanstack/react-router": "1.76.1",
"@tanstack/router-devtools": "^1.76.1",
"@tanstack/router-valibot-adapter": "^1.76.1",
"@tanstack/router-vite-plugin": "^1.76.0",
"bencode": "^4.0.0",
"clsx": "^2.1.1",
"fast-xml-parser": "^4.5.0",
"feaxios": "^0.0.23",
"filesize": "^10.1.6",
"framer-motion": "^11.11.9",
"hono": "^4.6.5",
"hono": "^4.6.6",
"immer": "^10.1.1",
"lodash.debounce": "^4.0.8",
"magnet-uri": "^7.0.5",
Expand All @@ -48,16 +48,16 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@iconify/json": "^2.2.262",
"@iconify/json": "^2.2.263",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tanstack/react-query-devtools": "5.59.15",
"@tanstack/react-query-devtools": "5.59.16",
"@types/bencode": "^2.0.4",
"@types/deno": "npm:@teidesu/deno-types@^2.0.2",
"@types/bun": "^1.1.12",
"@types/lodash.debounce": "^4.0.9",
"@types/magnet-uri": "^5.1.5",
"@types/react": "^18.3.11",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
Expand All @@ -67,7 +67,7 @@
"terser": "^5.36.0",
"typescript": "^5.6.3",
"unplugin-icons": "^0.19.3",
"vite": "^5.4.9",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.20.5",
"vite-tsconfig-paths": "^5.0.1"
}
Expand Down
Loading

0 comments on commit 5ff5fc5

Please sign in to comment.