@nx/react - Migrations
The @nx/react plugin provides various migrations to help you migrate to newer versions of react projects within your Nx workspace. Below is a complete reference for all available migrations.
21.4.x
Package Updates for 21.4.0
The following packages will be updated:
Package | Version |
---|---|
http-proxy-middleware | ^3.0.5 |
21.0.x
update-21-0-0-update-babel-loose
Replaces classProperties.loose
option with loose
.
20.4.x
add-mf-env-var-to-target-defaults
Add NX_MF_DEV_REMOTES to inputs for task hashing when ‘@nx/webpack:webpack’ or ‘@nx/rspack:rspack’ is used for Module Federation.
20.3.x
ensure-nx-module-federation-package
If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.
Package Updates for 20.3.0
The following packages will be updated:
Package | Version |
---|---|
@testing-library/react | 16.1.0 |
20.2.x
update-20-2-0-update-module-federation-config-import
Update the ModuleFederationConfig import use @nx/module-federation.
update-20-2-0-update-with-module-federation-import
Update the withModuleFederation import use @nx/module-federation/webpack.
Package Updates for 20.2.0
The following packages will be updated:
Package | Version |
---|---|
@module-federation/enhanced | 0.7.6 |
@module-federation/runtime | 0.7.6 |
@module-federation/sdk | 0.7.6 |
@module-federation/node | 2.6.11 |
20.1.x
Package Updates for 20.1.0
The following packages will be updated:
Package | Version |
---|---|
eslint-plugin-react-hooks | 5.0.0 |
eslint-plugin-jsx-a11y | 6.10.1 |
20.0.x
Package Updates for 20.0.0
The following packages will be updated:
Package | Version |
---|---|
eslint-plugin-import | 2.31.0 |
19.7.x
Package Updates for 19.7.0
The following packages will be updated:
Package | Version |
---|---|
@module-federation/enhanced | ~0.6.0 |
@module-federation/node | ~2.5.0 |
19.6.x
update-19-6-0-turn-module-federation-dts-off
Ensure Module Federation DTS is turned off by default.
update-module-federation-ssr-server-file
Update the server file for Module Federation SSR port value to be the same as the ‘serve’ target port value.
update-19-6-1-ensure-module-federation-target-defaults
Ensure Target Defaults are set correctly for Module Federation.
19.5.x
Package Updates for 19.5.0-module-federation
The following packages will be updated:
Package | Version |
---|---|
@module-federation/node | ^2.3.0 |
19.2.x
Package Updates for 19.2.0
The following packages will be updated:
Package | Version |
---|---|
postcss | 8.4.38 |
19.0.x
Package Updates for 19.0.0
The following packages will be updated:
Package | Version |
---|---|
react | 18.3.1 |
react-dom | 18.3.1 |
react-is | 18.3.1 |
@types/react | 18.3.1 |
@types/react-dom | 18.3.0 |
@types/react-is | 18.3.0 |
@testing-library/react | 15.0.6 |
Package Updates for 19.0.3
The following packages will be updated:
Package | Version |
---|---|
tailwindcss | 3.4.3 |