Anonymous View
Skip to content
AI Monorepos Free online conference · June 23 Join us!

@nx/module-federation - Migrations

The @nx/module-federation plugin provides various migrations to help you migrate to newer versions of module-federation projects within your Nx workspace. Below is a complete reference for all available migrations.

rewrite-module-federation-internal-subpath-imports

Section titled “rewrite-module-federation-internal-subpath-imports”

Version: 23.0.0-beta.25

Rewrites @nx/module-federation/src/* subpath imports now that the ./src/* subpath is no longer exposed by @nx/module-federation’s exports map. Named imports/exports of public symbols are routed to @nx/module-federation and the rest to the new @nx/module-federation/internal entry; require, dynamic import and jest.mock calls reference the whole module and are routed to @nx/module-federation/internal.

Version: 22.6.0-beta.10

The following packages will be updated:

NameVersionAlways add to package.json
@module-federation/enhanced^2.1.0Updated only
@module-federation/runtime^2.1.0Updated only
@module-federation/sdk^2.1.0Updated only
@module-federation/node^2.7.21Updated only

Version: 22.2.0-beta.0

The following packages will be updated:

NameVersionAlways add to package.json
@module-federation/enhanced^0.21.2Updated only
@module-federation/runtime^0.21.2Updated only
@module-federation/sdk^0.21.2Updated only
@module-federation/node^2.7.21Updated only

Version: 21.4.0-beta.8

The following packages will be updated:

NameVersionAlways add to package.json
@module-federation/sdk^0.18.0Updated only
@module-federation/enhanced^0.18.0Updated only
@module-federation/runtime^0.18.0Updated only
@module-federation/node^2.7.11Updated only

21.4.0-http-proxy-middleware-package-updates

Section titled “21.4.0-http-proxy-middleware-package-updates”

Version: 21.4.0-beta.8

The following packages will be updated:

NameVersionAlways add to package.json
http-proxy-middleware^3.0.5Updated only

Version: 21.3.0-beta.8

The following packages will be updated:

NameVersionAlways add to package.json
@module-federation/enhanced^0.17.0Updated only
@module-federation/node^2.7.9Updated only
@module-federation/sdk^0.17.0Updated only

Version: 21.2.0-beta.6

The following packages will be updated:

NameVersionAlways add to package.json
@module-federation/enhanced^0.15.0Updated only
@module-federation/runtime^0.15.0Updated only
@module-federation/sdk^0.15.0Updated only