From f22d89a603f6d789d5de6e29d09c2ef981692259 Mon Sep 17 00:00:00 2001 From: philon- Date: Mon, 2 Jun 2025 19:44:03 +0200 Subject: [PATCH] Fixes for Vercel --- deno.json | 7 ------- package.json | 8 ++++---- vite.config.ts | 2 -- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/deno.json b/deno.json index 87c0cee6..c1a8d131 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,4 @@ { - "workspace": [ - "./meshtastic-js/packages/core", - "./meshtastic-js/packages/transport-deno", - "./meshtastic-js/packages/transport-http", - "./meshtastic-js/packages/transport-web-bluetooth", - "./meshtastic-js/packages/transport-web-serial" - ], "imports": { "@app/": "./src/", "@pages/": "./src/pages/", diff --git a/package.json b/package.json index 14e7662a..f8866bdb 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "dependencies": { "@bufbuild/protobuf": "^2.2.5", "@deno/vite-plugin": "^1.0.4", - "@meshtastic/core": "workspace:*", + "@meshtastic/core": "file:./meshtastic-js/packages/core", "@meshtastic/js": "npm:@jsr/meshtastic__js@2.6.0-0", - "@meshtastic/transport-http": "workspace:*", - "@meshtastic/transport-web-bluetooth": "workspace:*", - "@meshtastic/transport-web-serial": "workspace:*", + "@meshtastic/transport-http": "file:./meshtastic-js/packages/transport-http", + "@meshtastic/transport-web-bluetooth": "file:./meshtastic-js/packages/transport-web-bluetooth", + "@meshtastic/transport-web-serial": "file:./meshtastic-js/packages/transport-web-serial", "@meshtastic/protobufs": "npm:@jsr/meshtastic__protobufs@^2.6.2", "@noble/curves": "^1.9.0", "@radix-ui/react-accordion": "^1.2.8", diff --git a/vite.config.ts b/vite.config.ts index 3b827f9a..83bba01f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,5 +1,4 @@ import { defineConfig } from "vite"; -import deno from "@deno/vite-plugin"; import react from "@vitejs/plugin-react"; import { VitePWA } from "vite-plugin-pwa"; import { viteStaticCopy } from "vite-plugin-static-copy"; @@ -17,7 +16,6 @@ try { export default defineConfig({ plugins: [ - deno(), react(), VitePWA({ registerType: "autoUpdate",