Skip to content

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:

PackageVersion
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:

PackageVersion
@testing-library/react16.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:

PackageVersion
@module-federation/enhanced0.7.6
@module-federation/runtime0.7.6
@module-federation/sdk0.7.6
@module-federation/node2.6.11

20.1.x

Package Updates for 20.1.0

The following packages will be updated:

PackageVersion
eslint-plugin-react-hooks5.0.0
eslint-plugin-jsx-a11y6.10.1

20.0.x

Package Updates for 20.0.0

The following packages will be updated:

PackageVersion
eslint-plugin-import2.31.0

19.7.x

Package Updates for 19.7.0

The following packages will be updated:

PackageVersion
@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:

PackageVersion
@module-federation/node^2.3.0

19.2.x

Package Updates for 19.2.0

The following packages will be updated:

PackageVersion
postcss8.4.38

19.0.x

Package Updates for 19.0.0

The following packages will be updated:

PackageVersion
react18.3.1
react-dom18.3.1
react-is18.3.1
@types/react18.3.1
@types/react-dom18.3.0
@types/react-is18.3.0
@testing-library/react15.0.6

Package Updates for 19.0.3

The following packages will be updated:

PackageVersion
tailwindcss3.4.3