From 4ae3bee281d553b5d448643fcd0a2c766519f8f1 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Fri, 4 Jul 2025 12:47:37 +0900 Subject: [PATCH 1/4] chore(deps): replace `@hiogawa/vite-rsc` with `@vitejs/plugin-rsc` --- docs/start/rsc/vite.md | 8 +-- integration/helpers/rsc-vite/package.json | 2 +- .../helpers/rsc-vite/src/entry.browser.tsx | 2 +- .../helpers/rsc-vite/src/entry.rsc.tsx | 2 +- .../helpers/rsc-vite/src/entry.ssr.tsx | 2 +- integration/helpers/rsc-vite/tsconfig.json | 2 +- integration/helpers/rsc-vite/vite.config.ts | 2 +- playground/rsc-vite/package.json | 2 +- playground/rsc-vite/src/entry.browser.tsx | 2 +- playground/rsc-vite/src/entry.rsc.tsx | 2 +- playground/rsc-vite/src/entry.ssr.tsx | 2 +- playground/rsc-vite/tsconfig.json | 2 +- playground/rsc-vite/vite.config.ts | 2 +- pnpm-lock.yaml | 60 ++++++++----------- 14 files changed, 42 insertions(+), 50 deletions(-) diff --git a/docs/start/rsc/vite.md b/docs/start/rsc/vite.md index 5789260387..622e8007f6 100644 --- a/docs/start/rsc/vite.md +++ b/docs/start/rsc/vite.md @@ -28,7 +28,7 @@ npm i react-router react react-dom react-server-dom-parcel @mjackson/node-fetch- Along with development dependencies ```shellscript nonumber -npm i -D vite vite-plugin-devtools-json @hiogawa/vite-rsc typescript @types/react @types/react-dom @types/express @types/compression @types/node +npm i -D vite vite-plugin-devtools-json @vitejs/plugin-rsc typescript @types/react @types/react-dom @types/express @types/compression @types/node ``` ## Configure Parcel @@ -58,7 +58,7 @@ import { decodeReply, loadServerAction, renderToReadableStream, -} from "@hiogawa/vite-rsc/rsc"; +} from "@vitejs/plugin-rsc/rsc"; import { unstable_matchRSCServerRequest as matchRSCServerRequest } from "react-router"; import { routes } from "./routes/routes"; @@ -102,7 +102,7 @@ export default async function handler(request: Request) { Create a `src/prerender.tsx` file that will be responsible for rendering our application to HTML. ```tsx nonnumber -import { createFromReadableStream } from "@hiogawa/vite-rsc/ssr"; +import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; import { renderToReadableStream as renderHTMLToReadableStream } from "react-dom/server.edge"; import { unstable_routeRSCServerRequest as routeRSCServerRequest, @@ -151,7 +151,7 @@ import { createFromReadableStream, encodeReply, setServerCallback, -} from "@hiogawa/vite-rsc/browser"; +} from "@vitejs/plugin-rsc/browser"; import { startTransition, StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; import { diff --git a/integration/helpers/rsc-vite/package.json b/integration/helpers/rsc-vite/package.json index 63a3845959..1b77be800c 100644 --- a/integration/helpers/rsc-vite/package.json +++ b/integration/helpers/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@hiogawa/vite-rsc": "0.4.4", + "@vitejs/plugin-rsc": "0.4.10-alpha.1", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/integration/helpers/rsc-vite/src/entry.browser.tsx b/integration/helpers/rsc-vite/src/entry.browser.tsx index 71c8ebf326..476166a0c1 100644 --- a/integration/helpers/rsc-vite/src/entry.browser.tsx +++ b/integration/helpers/rsc-vite/src/entry.browser.tsx @@ -5,7 +5,7 @@ import { createTemporaryReferenceSet, encodeReply, setServerCallback, -} from "@hiogawa/vite-rsc/browser"; +} from "@vitejs/plugin-rsc/browser"; import { unstable_createCallServer as createCallServer, unstable_getRSCStream as getRSCStream, diff --git a/integration/helpers/rsc-vite/src/entry.rsc.tsx b/integration/helpers/rsc-vite/src/entry.rsc.tsx index 834c9dc47e..0a8ba73f04 100644 --- a/integration/helpers/rsc-vite/src/entry.rsc.tsx +++ b/integration/helpers/rsc-vite/src/entry.rsc.tsx @@ -4,7 +4,7 @@ import { decodeReply, loadServerAction, renderToReadableStream, -} from "@hiogawa/vite-rsc/rsc"; +} from "@vitejs/plugin-rsc/rsc"; import { unstable_matchRSCServerRequest as matchRSCServerRequest } from "react-router"; import { routes } from "./routes"; diff --git a/integration/helpers/rsc-vite/src/entry.ssr.tsx b/integration/helpers/rsc-vite/src/entry.ssr.tsx index ef629141ab..c41d46d491 100644 --- a/integration/helpers/rsc-vite/src/entry.ssr.tsx +++ b/integration/helpers/rsc-vite/src/entry.ssr.tsx @@ -1,5 +1,5 @@ import bootstrapScriptContent from "virtual:vite-rsc/bootstrap-script-content"; -import { createFromReadableStream } from "@hiogawa/vite-rsc/ssr"; +import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; // @ts-expect-error import * as ReactDomServer from "react-dom/server.edge"; import { diff --git a/integration/helpers/rsc-vite/tsconfig.json b/integration/helpers/rsc-vite/tsconfig.json index b795eea593..77438d9dbe 100644 --- a/integration/helpers/rsc-vite/tsconfig.json +++ b/integration/helpers/rsc-vite/tsconfig.json @@ -11,7 +11,7 @@ "module": "ESNext", "target": "ESNext", "lib": ["ESNext", "DOM", "DOM.Iterable"], - "types": ["vite/client", "@hiogawa/vite-rsc/types"], + "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } } diff --git a/integration/helpers/rsc-vite/vite.config.ts b/integration/helpers/rsc-vite/vite.config.ts index 274649c19c..e3d01126dd 100644 --- a/integration/helpers/rsc-vite/vite.config.ts +++ b/integration/helpers/rsc-vite/vite.config.ts @@ -1,4 +1,4 @@ -import rsc from "@hiogawa/vite-rsc/plugin"; +import rsc from "@vitejs/plugin-rsc/plugin"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; diff --git a/playground/rsc-vite/package.json b/playground/rsc-vite/package.json index 2ab6f7f2f5..0488f03779 100644 --- a/playground/rsc-vite/package.json +++ b/playground/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@hiogawa/vite-rsc": "0.4.4", + "@vitejs/plugin-rsc": "0.4.10-alpha.1", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/playground/rsc-vite/src/entry.browser.tsx b/playground/rsc-vite/src/entry.browser.tsx index 71c8ebf326..476166a0c1 100644 --- a/playground/rsc-vite/src/entry.browser.tsx +++ b/playground/rsc-vite/src/entry.browser.tsx @@ -5,7 +5,7 @@ import { createTemporaryReferenceSet, encodeReply, setServerCallback, -} from "@hiogawa/vite-rsc/browser"; +} from "@vitejs/plugin-rsc/browser"; import { unstable_createCallServer as createCallServer, unstable_getRSCStream as getRSCStream, diff --git a/playground/rsc-vite/src/entry.rsc.tsx b/playground/rsc-vite/src/entry.rsc.tsx index d39342f65a..93cdedfda7 100644 --- a/playground/rsc-vite/src/entry.rsc.tsx +++ b/playground/rsc-vite/src/entry.rsc.tsx @@ -4,7 +4,7 @@ import { decodeReply, loadServerAction, renderToReadableStream, -} from "@hiogawa/vite-rsc/rsc"; +} from "@vitejs/plugin-rsc/rsc"; import { unstable_matchRSCServerRequest as matchRSCServerRequest } from "react-router"; import { routes } from "./routes"; diff --git a/playground/rsc-vite/src/entry.ssr.tsx b/playground/rsc-vite/src/entry.ssr.tsx index ef629141ab..c41d46d491 100644 --- a/playground/rsc-vite/src/entry.ssr.tsx +++ b/playground/rsc-vite/src/entry.ssr.tsx @@ -1,5 +1,5 @@ import bootstrapScriptContent from "virtual:vite-rsc/bootstrap-script-content"; -import { createFromReadableStream } from "@hiogawa/vite-rsc/ssr"; +import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; // @ts-expect-error import * as ReactDomServer from "react-dom/server.edge"; import { diff --git a/playground/rsc-vite/tsconfig.json b/playground/rsc-vite/tsconfig.json index b795eea593..77438d9dbe 100644 --- a/playground/rsc-vite/tsconfig.json +++ b/playground/rsc-vite/tsconfig.json @@ -11,7 +11,7 @@ "module": "ESNext", "target": "ESNext", "lib": ["ESNext", "DOM", "DOM.Iterable"], - "types": ["vite/client", "@hiogawa/vite-rsc/types"], + "types": ["vite/client", "@vitejs/plugin-rsc/types"], "jsx": "react-jsx" } } diff --git a/playground/rsc-vite/vite.config.ts b/playground/rsc-vite/vite.config.ts index 274649c19c..e3d01126dd 100644 --- a/playground/rsc-vite/vite.config.ts +++ b/playground/rsc-vite/vite.config.ts @@ -1,4 +1,4 @@ -import rsc from "@hiogawa/vite-rsc/plugin"; +import rsc from "@vitejs/plugin-rsc/plugin"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7d64999c7..8ae56e0ef1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -478,9 +478,6 @@ importers: specifier: workspace:* version: link:../../../packages/react-router devDependencies: - '@hiogawa/vite-rsc': - specifier: 0.4.4 - version: 0.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) '@types/express': specifier: ^5.0.0 version: 5.0.1 @@ -496,6 +493,9 @@ importers: '@vitejs/plugin-react': specifier: ^4.5.2 version: 4.5.2(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + '@vitejs/plugin-rsc': + specifier: 0.4.10-alpha.1 + version: 0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) typescript: specifier: ^5.1.6 version: 5.4.5 @@ -1804,9 +1804,6 @@ importers: specifier: workspace:* version: link:../../packages/react-router devDependencies: - '@hiogawa/vite-rsc': - specifier: 0.4.4 - version: 0.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) '@types/express': specifier: ^5.0.0 version: 5.0.1 @@ -1822,6 +1819,9 @@ importers: '@vitejs/plugin-react': specifier: ^4.5.2 version: 4.5.2(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + '@vitejs/plugin-rsc': + specifier: 0.4.10-alpha.1 + version: 0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -3370,16 +3370,6 @@ packages: resolution: {integrity: sha512-AgJgKLooZyQnzMfoFg5Mo/aHM+HGBC9ExpXIjNqGimYTRgNbL/K7X5EM1kR2JY90BNKk9lo6Usq1T/nWFdT7TQ==} hasBin: true - '@hiogawa/transforms@0.1.3': - resolution: {integrity: sha512-vzDCWgXIk4D6Ea2aBSuNqTssN6sTAqm8xzeqXea68o9TvBm5IZhQ3u/8vmWEiJpAtrlTohcTc1Hfgi025iFpGA==} - - '@hiogawa/vite-rsc@0.4.4': - resolution: {integrity: sha512-Yucbgb6g1bC3S6wofT+ZdtEhnwBZIt4YMZWxXzH9yHugcen0bUtasSATb1qGGraCxu03y8xtHOstXgS8sjdUOQ==} - peerDependencies: - react: '*' - react-dom: '*' - vite: '*' - '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} @@ -5093,6 +5083,13 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0 + '@vitejs/plugin-rsc@0.4.10-alpha.1': + resolution: {integrity: sha512-CsYFXD/8t07FqPDiYyqRcLb9Jm4WsMnrpnnEPzQUnHThr7zaBjSz76N3spsDsBEPDM1hDFFNneuQV1VtOWmTUg==} + peerDependencies: + react: '*' + react-dom: '*' + vite: '*' + '@web3-storage/multipart-parser@1.0.0': resolution: {integrity: sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==} @@ -11444,24 +11441,6 @@ snapshots: cac: 6.7.14 mime-types: 2.1.35 - '@hiogawa/transforms@0.1.3': - dependencies: - estree-walker: 3.0.3 - magic-string: 0.30.17 - periscopic: 4.0.2 - - '@hiogawa/vite-rsc@0.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0))': - dependencies: - '@hiogawa/transforms': 0.1.3 - '@mjackson/node-fetch-server': 0.6.1 - es-module-lexer: 1.7.0 - magic-string: 0.30.17 - react: 19.1.0 - react-dom: 19.1.0(react@19.1.0) - turbo-stream: 3.1.0 - vite: 6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0) - vitefu: 1.0.6(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) - '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -13668,6 +13647,19 @@ snapshots: transitivePeerDependencies: - supports-color + '@vitejs/plugin-rsc@0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0))': + dependencies: + '@mjackson/node-fetch-server': 0.6.1 + es-module-lexer: 1.7.0 + estree-walker: 3.0.3 + magic-string: 0.30.17 + periscopic: 4.0.2 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + turbo-stream: 3.1.0 + vite: 6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0) + vitefu: 1.0.6(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + '@web3-storage/multipart-parser@1.0.0': {} '@whatwg-node/fetch@0.9.23': From aea219eff7b566f6725328c6b94976692802a629 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Fri, 4 Jul 2025 12:53:12 +0900 Subject: [PATCH 2/4] chore: tweak api --- docs/start/rsc/vite.md | 2 +- integration/helpers/rsc-vite/src/entry.ssr.tsx | 2 +- integration/helpers/rsc-vite/vite.config.ts | 2 +- playground/rsc-vite/src/entry.ssr.tsx | 2 +- playground/rsc-vite/vite.config.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/start/rsc/vite.md b/docs/start/rsc/vite.md index 622e8007f6..da44a6c3fe 100644 --- a/docs/start/rsc/vite.md +++ b/docs/start/rsc/vite.md @@ -108,12 +108,12 @@ import { unstable_routeRSCServerRequest as routeRSCServerRequest, unstable_RSCStaticRouter as RSCStaticRouter, } from "react-router"; -import bootstrapScriptContent from "virtual:vite-rsc/bootstrap-script-content"; export async function prerender( request: Request, fetchServer: (request: Request) => Promise ): Promise { + const bootstrapScriptContent = await import.meta.viteRsc.loadBootstrapScriptContent("index") return await routeRSCServerRequest({ // The incoming request. request, diff --git a/integration/helpers/rsc-vite/src/entry.ssr.tsx b/integration/helpers/rsc-vite/src/entry.ssr.tsx index c41d46d491..385310db7d 100644 --- a/integration/helpers/rsc-vite/src/entry.ssr.tsx +++ b/integration/helpers/rsc-vite/src/entry.ssr.tsx @@ -1,4 +1,3 @@ -import bootstrapScriptContent from "virtual:vite-rsc/bootstrap-script-content"; import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; // @ts-expect-error import * as ReactDomServer from "react-dom/server.edge"; @@ -11,6 +10,7 @@ export default async function handler( request: Request, fetchServer: (request: Request) => Promise ) { + const bootstrapScriptContent = await import.meta.viteRsc.loadBootstrapScriptContent("index"); return routeRSCServerRequest({ request, fetchServer, diff --git a/integration/helpers/rsc-vite/vite.config.ts b/integration/helpers/rsc-vite/vite.config.ts index e3d01126dd..ecffb9c6c1 100644 --- a/integration/helpers/rsc-vite/vite.config.ts +++ b/integration/helpers/rsc-vite/vite.config.ts @@ -1,4 +1,4 @@ -import rsc from "@vitejs/plugin-rsc/plugin"; +import rsc from "@vitejs/plugin-rsc"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; diff --git a/playground/rsc-vite/src/entry.ssr.tsx b/playground/rsc-vite/src/entry.ssr.tsx index c41d46d491..385310db7d 100644 --- a/playground/rsc-vite/src/entry.ssr.tsx +++ b/playground/rsc-vite/src/entry.ssr.tsx @@ -1,4 +1,3 @@ -import bootstrapScriptContent from "virtual:vite-rsc/bootstrap-script-content"; import { createFromReadableStream } from "@vitejs/plugin-rsc/ssr"; // @ts-expect-error import * as ReactDomServer from "react-dom/server.edge"; @@ -11,6 +10,7 @@ export default async function handler( request: Request, fetchServer: (request: Request) => Promise ) { + const bootstrapScriptContent = await import.meta.viteRsc.loadBootstrapScriptContent("index"); return routeRSCServerRequest({ request, fetchServer, diff --git a/playground/rsc-vite/vite.config.ts b/playground/rsc-vite/vite.config.ts index e3d01126dd..ecffb9c6c1 100644 --- a/playground/rsc-vite/vite.config.ts +++ b/playground/rsc-vite/vite.config.ts @@ -1,4 +1,4 @@ -import rsc from "@vitejs/plugin-rsc/plugin"; +import rsc from "@vitejs/plugin-rsc"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; From e8995eeabc341d839d4796e77ba7b655d1c7a60a Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Fri, 4 Jul 2025 13:08:45 +0900 Subject: [PATCH 3/4] chore: format --- docs/start/rsc/vite.md | 5 ++++- integration/helpers/rsc-vite/src/entry.ssr.tsx | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/start/rsc/vite.md b/docs/start/rsc/vite.md index da44a6c3fe..80f7624f92 100644 --- a/docs/start/rsc/vite.md +++ b/docs/start/rsc/vite.md @@ -113,7 +113,10 @@ export async function prerender( request: Request, fetchServer: (request: Request) => Promise ): Promise { - const bootstrapScriptContent = await import.meta.viteRsc.loadBootstrapScriptContent("index") + const bootstrapScriptContent = + await import.meta.viteRsc.loadBootstrapScriptContent( + "index" + ); return await routeRSCServerRequest({ // The incoming request. request, diff --git a/integration/helpers/rsc-vite/src/entry.ssr.tsx b/integration/helpers/rsc-vite/src/entry.ssr.tsx index 385310db7d..827bddf8c1 100644 --- a/integration/helpers/rsc-vite/src/entry.ssr.tsx +++ b/integration/helpers/rsc-vite/src/entry.ssr.tsx @@ -10,7 +10,8 @@ export default async function handler( request: Request, fetchServer: (request: Request) => Promise ) { - const bootstrapScriptContent = await import.meta.viteRsc.loadBootstrapScriptContent("index"); + const bootstrapScriptContent = + await import.meta.viteRsc.loadBootstrapScriptContent("index"); return routeRSCServerRequest({ request, fetchServer, From a630a7e74aa376b35cff9ee6487a93f5b13571bc Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 7 Jul 2025 16:30:11 +0900 Subject: [PATCH 4/4] chore: v0.4.11 --- integration/helpers/rsc-vite/package.json | 2 +- playground/rsc-vite/package.json | 2 +- pnpm-lock.yaml | 31 +++++++++++++---------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/integration/helpers/rsc-vite/package.json b/integration/helpers/rsc-vite/package.json index 1b77be800c..7d8e740de3 100644 --- a/integration/helpers/rsc-vite/package.json +++ b/integration/helpers/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@vitejs/plugin-rsc": "0.4.10-alpha.1", + "@vitejs/plugin-rsc": "0.4.11", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/playground/rsc-vite/package.json b/playground/rsc-vite/package.json index 0488f03779..304b4602c5 100644 --- a/playground/rsc-vite/package.json +++ b/playground/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@vitejs/plugin-rsc": "0.4.10-alpha.1", + "@vitejs/plugin-rsc": "0.4.11", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ae56e0ef1..cb80355b9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -494,8 +494,8 @@ importers: specifier: ^4.5.2 version: 4.5.2(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) '@vitejs/plugin-rsc': - specifier: 0.4.10-alpha.1 - version: 0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + specifier: 0.4.11 + version: 0.4.11(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) typescript: specifier: ^5.1.6 version: 5.4.5 @@ -1820,8 +1820,8 @@ importers: specifier: ^4.5.2 version: 4.5.2(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) '@vitejs/plugin-rsc': - specifier: 0.4.10-alpha.1 - version: 0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + specifier: 0.4.11 + version: 0.4.11(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -3684,6 +3684,9 @@ packages: '@mjackson/node-fetch-server@0.6.1': resolution: {integrity: sha512-9ZJnk/DJjt805uv5PPv11haJIW+HHf3YEEyVXv+8iLQxLD/iXA68FH220XoiTPBC4gCg5q+IMadDw8qPqlA5wg==} + '@mjackson/node-fetch-server@0.7.0': + resolution: {integrity: sha512-un8diyEBKU3BTVj3GzlTPA1kIjCkGdD+AMYQy31Gf9JCkfoZzwgJ79GUtHrF2BN3XPNMLpubbzPcxys+a3uZEw==} + '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3': resolution: {integrity: sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==} cpu: [arm64] @@ -5083,8 +5086,8 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0 - '@vitejs/plugin-rsc@0.4.10-alpha.1': - resolution: {integrity: sha512-CsYFXD/8t07FqPDiYyqRcLb9Jm4WsMnrpnnEPzQUnHThr7zaBjSz76N3spsDsBEPDM1hDFFNneuQV1VtOWmTUg==} + '@vitejs/plugin-rsc@0.4.11': + resolution: {integrity: sha512-+4H4wLi+Y9yF58znBfKgGfX8zcqUGt8ngnmNgzrdGdF1SVz7EO0sg7WnhK5fFVHt6fUxsVEjmEabsCWHKPL1Tw==} peerDependencies: react: '*' react-dom: '*' @@ -9732,10 +9735,10 @@ packages: yaml: optional: true - vitefu@1.0.6: - resolution: {integrity: sha512-+Rex1GlappUyNN6UfwbVZne/9cYC4+R2XDk9xkNXBKMw6HQagdX9PgZ8V2v1WUSK1wfBLp7qbI1+XSNIlB1xmA==} + vitefu@1.1.1: + resolution: {integrity: sha512-B/Fegf3i8zh0yFbpzZ21amWzHmuNlLlmJT6n7bu5e+pCHUKQIfXSYokrqOBGEMMe9UG2sostKQF9mml/vYaWJQ==} peerDependencies: - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0 peerDependenciesMeta: vite: optional: true @@ -11853,6 +11856,8 @@ snapshots: '@mjackson/node-fetch-server@0.6.1': {} + '@mjackson/node-fetch-server@0.7.0': {} + '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3': optional: true @@ -13647,9 +13652,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-rsc@0.4.10-alpha.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0))': + '@vitejs/plugin-rsc@0.4.11(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0))': dependencies: - '@mjackson/node-fetch-server': 0.6.1 + '@mjackson/node-fetch-server': 0.7.0 es-module-lexer: 1.7.0 estree-walker: 3.0.3 magic-string: 0.30.17 @@ -13658,7 +13663,7 @@ snapshots: react-dom: 19.1.0(react@19.1.0) turbo-stream: 3.1.0 vite: 6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0) - vitefu: 1.0.6(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) + vitefu: 1.1.1(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)) '@web3-storage/multipart-parser@1.0.0': {} @@ -19667,7 +19672,7 @@ snapshots: tsx: 4.19.3 yaml: 2.6.0 - vitefu@1.0.6(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)): + vitefu@1.1.1(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)): optionalDependencies: vite: 6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.30.1)(tsx@4.19.3)(yaml@2.6.0)