Move module federation enablement in app-next at runtime.

Signed-off-by: David Festal <dfestal@redhat.com>
Assisted-by: Cursor
This commit is contained in:
David Festal
2025-09-16 21:32:03 +02:00
parent 0a67ed0dde
commit c324bf71be
25 changed files with 1992 additions and 331 deletions
@@ -0,0 +1,11 @@
# @backstage/module-federation-common
This package provides a helper library for module federation, enabling a consistent management of shared dependencies
in both the module federation host (frontend application) at runtime, and remote modules at build-time through the CLI.
It provides:
- TypeScript types for both host and remote shared dependency definitions,
- a default list of shared dependencies (React, React Router, Material-UI, Backstage core packages, etc.) for both the host and remote modules,
- utilities used by the CLI to resolve versions of the shared dependencies for the host at build-time,
- utilities available for the frontend application to provide the list of resolved shared dependencies at runtime.