From 15cdfdda82375d1de6a20c33fcee26bb5cc3606b Mon Sep 17 00:00:00 2001 From: Marc MacLeod Date: Fri, 27 Sep 2024 19:12:21 -0500 Subject: [PATCH] fix dependency issue Signed-off-by: Marc MacLeod --- .changeset/early-apes-nail.md | 5 +++++ examples/tanstack-router-simple/package.json | 2 +- packages/vite/package.json | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/early-apes-nail.md diff --git a/.changeset/early-apes-nail.md b/.changeset/early-apes-nail.md new file mode 100644 index 0000000..7a8cbef --- /dev/null +++ b/.changeset/early-apes-nail.md @@ -0,0 +1,5 @@ +--- +'@ssrx/vite': patch +--- + +move vite-env-only to dependencies diff --git a/examples/tanstack-router-simple/package.json b/examples/tanstack-router-simple/package.json index 5c69f7f..f190e0e 100644 --- a/examples/tanstack-router-simple/package.json +++ b/examples/tanstack-router-simple/package.json @@ -16,7 +16,6 @@ "@hono/node-server": "^1.12.2", "@ssrx/plugin-tanstack-router": "latest", "@ssrx/react": "latest", - "@ssrx/vite": "latest", "@tanstack/react-router": "1.57.13", "@tanstack/router-devtools": "1.57.13", "@tanstack/start": "1.57.13", @@ -25,6 +24,7 @@ "react-dom": "18.3.1" }, "devDependencies": { + "@ssrx/vite": "latest", "@tanstack/router-plugin": "1.57.13", "@types/react": "18.3.5", "@types/react-dom": "18.3.0", diff --git a/packages/vite/package.json b/packages/vite/package.json index 7962d4f..639db59 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -44,14 +44,14 @@ }, "dependencies": { "@hono/node-server": "^1.12.2", - "radix3": "^1.1.2" + "radix3": "^1.1.2", + "vite-env-only": "3.0.3" }, "devDependencies": { "@total-typescript/ts-reset": "~0.6.1", "esbuild": "0.23.1", "rollup": "4.22.5", "rollup-plugin-esbuild": "6.1.1", - "vite": "5.4.5", - "vite-env-only": "3.0.3" + "vite": "5.4.5" } }