diff --git a/packages/react/migrations.json b/packages/react/migrations.json index 6dab83a5d30c4..adf3b72e1fd11 100644 --- a/packages/react/migrations.json +++ b/packages/react/migrations.json @@ -151,6 +151,39 @@ "alwaysAddToPackageJson": false } } + }, + "19.0.0": { + "version": "19.0.0-beta.12", + "packages": { + "react": { + "version": "18.3.1", + "alwaysAddToPackageJson": false + }, + "react-dom": { + "version": "18.3.1", + "alwaysAddToPackageJson": false + }, + "react-is": { + "version": "18.3.1", + "alwaysAddToPackageJson": false + }, + "@types/react": { + "version": "18.3.1", + "alwaysAddToPackageJson": false + }, + "@types/react-dom": { + "version": "18.3.0", + "alwaysAddToPackageJson": false + }, + "@types/react-is": { + "version": "18.3.0", + "alwaysAddToPackageJson": false + }, + "@testing-library/react": { + "version": "15.0.6", + "alwaysAddToPackageJson": false + } + } } } } diff --git a/packages/react/src/utils/versions.ts b/packages/react/src/utils/versions.ts index 6f8585f5b2fa0..d09dd9cf94f87 100755 --- a/packages/react/src/utils/versions.ts +++ b/packages/react/src/utils/versions.ts @@ -3,14 +3,14 @@ export const nxVersion = require('../../package.json').version; // Always pull the latest version until we merge rspack plugin into the repo. export const nxRspackVersion = '*'; -export const reactVersion = '18.2.0'; -export const reactDomVersion = '18.2.0'; -export const reactIsVersion = '18.2.0'; +export const reactVersion = '18.3.1'; +export const reactDomVersion = '18.3.1'; +export const reactIsVersion = '18.3.1'; export const swcLoaderVersion = '0.1.15'; export const babelLoaderVersion = '^9.1.2'; -export const typesReactVersion = '18.2.33'; -export const typesReactDomVersion = '18.2.14'; -export const typesReactIsVersion = '18.2.2'; +export const typesReactVersion = '18.3.1'; +export const typesReactDomVersion = '18.3.0'; +export const typesReactIsVersion = '18.3.0'; export const typesNodeVersion = '18.16.9'; @@ -29,7 +29,7 @@ export const styledJsxVersion = '5.1.2'; export const reactRouterDomVersion = '6.11.2'; -export const testingLibraryReactVersion = '14.0.0'; +export const testingLibraryReactVersion = '15.0.6'; export const reduxjsToolkitVersion = '1.9.3'; export const reactReduxVersion = '8.0.5';