Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react): support react 18.3.1 #23166

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions packages/react/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}
}
14 changes: 7 additions & 7 deletions packages/react/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -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';
Expand Down