From d2fe56cc64f55bb6be1d8108904c541c3366e5a8 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Fri, 20 Sep 2024 09:07:18 +0200 Subject: [PATCH] fix(router): Add missing dependency for RSC (#11591) --- .changesets/11591.md | 3 +++ packages/router/package.json | 3 ++- yarn.lock | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changesets/11591.md diff --git a/.changesets/11591.md b/.changesets/11591.md new file mode 100644 index 000000000000..ef211148433f --- /dev/null +++ b/.changesets/11591.md @@ -0,0 +1,3 @@ +- fix(router): Add missing dependency for RSC (#11591) by @Tobbe + +Adding missing dependency `react-server-dom-webpack` to the `@redwoodjs/router` package. This should fix an error some people were seeing when trying to use RSC. diff --git a/packages/router/package.json b/packages/router/package.json index e49440b6cf4f..fcd96835a2ab 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -95,7 +95,8 @@ "@redwoodjs/server-store": "workspace:*", "core-js": "3.38.1", "react": "19.0.0-rc-f2df5694-20240916", - "react-dom": "19.0.0-rc-f2df5694-20240916" + "react-dom": "19.0.0-rc-f2df5694-20240916", + "react-server-dom-webpack": "19.0.0-rc-f2df5694-20240916" }, "devDependencies": { "@arethetypeswrong/cli": "0.16.4", diff --git a/yarn.lock b/yarn.lock index 7941e9252c3c..fe9d274d674b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8588,6 +8588,7 @@ __metadata: publint: "npm:0.2.10" react: "npm:19.0.0-rc-f2df5694-20240916" react-dom: "npm:19.0.0-rc-f2df5694-20240916" + react-server-dom-webpack: "npm:19.0.0-rc-f2df5694-20240916" tstyche: "npm:2.1.1" tsx: "npm:4.19.1" typescript: "npm:5.6.2"