diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index 9c0776817d8a6..42c43bfdaf725 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc.0", - "react-dom": "19.0.0-rc.0" + "react": "19.0.0-rc-dfd30974ab-20240613", + "react-dom": "19.0.0-rc-dfd30974ab-20240613" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 1d54f8ae0e63c..7523e1050f903 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.0", - "react-dom": "19.0.0-rc.0", + react: "19.0.0-rc-dfd30974ab-20240613", + "react-dom": "19.0.0-rc-dfd30974ab-20240613", next: version, }, devDependencies: {}, diff --git a/packages/next/package.json b/packages/next/package.json index bb0db279be323..827eb74470361 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -106,8 +106,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc.0", - "react-dom": "19.0.0-rc.0", + "react": "19.0.0-rc-dfd30974ab-20240613", + "react-dom": "19.0.0-rc-dfd30974ab-20240613", "sass": "^1.3.0" }, "peerDependenciesMeta": { diff --git a/run-tests.js b/run-tests.js index 6d675fa4c18ab..ff2a277301a87 100644 --- a/run-tests.js +++ b/run-tests.js @@ -415,7 +415,8 @@ ${ENDGROUP}`) // a starter Next.js install to re-use to speed up tests // to avoid having to run yarn each time console.log(`${GROUP}Creating Next.js install for isolated tests`) - const reactVersion = process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc.0' + const reactVersion = + process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc-dfd30974ab-20240613' const { installDir, pkgPaths, tmpRepoDir } = await createNextInstall({ parentSpan: mockTrace(), dependencies: { diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index 1429151bc5490..0d862f158210c 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "19.0.0-rc.0", - "react-dom": "19.0.0-rc.0" + "react": "19.0.0-rc-dfd30974ab-20240613", + "react-dom": "19.0.0-rc-dfd30974ab-20240613" }, "engines": { "node": ">=18.18.0" diff --git a/test/e2e/next-test/first-time-setup-js/package.json b/test/e2e/next-test/first-time-setup-js/package.json index 52f5ddec3d6d3..d2f932479481c 100644 --- a/test/e2e/next-test/first-time-setup-js/package.json +++ b/test/e2e/next-test/first-time-setup-js/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc.0", - "react-dom": "19.0.0-rc.0" + "react": "19.0.0-rc-dfd30974ab-20240613", + "react-dom": "19.0.0-rc-dfd30974ab-20240613" } } diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index ea92f26de5b6b..92adbe3cd14d3 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -163,7 +163,7 @@ export class NextInstance { ) const reactVersion = - process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc.0' + process.env.NEXT_TEST_REACT_VERSION || '19.0.0-rc-dfd30974ab-20240613' const finalDependencies = { react: reactVersion, 'react-dom': reactVersion,