From 2bbba2b057a4aee857def61638ac05dfd1866e61 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 4 Jun 2024 16:27:12 +0200 Subject: [PATCH] Use nicer peer dependency rc.0 is equivalent to built-in. But looks more like the app is ready for 19. --- packages/create-next-app/templates/index.ts | 4 ++-- packages/next/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 58a7f45edac62..1d54f8ae0e63c 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -184,8 +184,8 @@ export const installTemplate = async ({ * Default dependencies. */ dependencies: { - react: "19.0.0-rc-bf3a29d097-20240603", - "react-dom": "19.0.0-rc-bf3a29d097-20240603", + react: "19.0.0-rc.0", + "react-dom": "19.0.0-rc.0", next: version, }, devDependencies: {}, diff --git a/packages/next/package.json b/packages/next/package.json index b8a9d6c4bdbdb..1a02cd7fde494 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -105,8 +105,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc-bf3a29d097-20240603", - "react-dom": "19.0.0-rc-bf3a29d097-20240603", + "react": "19.0.0-rc.0", + "react-dom": "19.0.0-rc.0", "sass": "^1.3.0" }, "peerDependenciesMeta": {