From 15e462be04471da2dd337bc5bb9179624d6a80d9 Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Wed, 10 Sep 2025 07:02:59 -0700 Subject: [PATCH] templates: ensure blank template installs matching react-dom version (#13757) Currently, in fresh installations, pnpm may install react-dom version 19.1.1, which will throw an error as it does not match the react version it installs (19.1.0) --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1211306293437538 --- pnpm-lock.yaml | 3 +++ templates/blank/package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 402c2f1a6..4dfa9303d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1708,6 +1708,9 @@ importers: react: specifier: 19.1.0 version: 19.1.0 + react-dom: + specifier: 19.1.0 + version: 19.1.0(react@19.1.0) sharp: specifier: 0.34.2 version: 0.34.2 diff --git a/templates/blank/package.json b/templates/blank/package.json index 375ef949f..0986ddca9 100644 --- a/templates/blank/package.json +++ b/templates/blank/package.json @@ -29,6 +29,7 @@ "next": "15.4.4", "payload": "workspace:*", "react": "19.1.0", + "react-dom": "19.1.0", "sharp": "0.34.2" }, "devDependencies": {