From 181008cc5714919cd42c497d62b293a11e040c09 Mon Sep 17 00:00:00 2001 From: Aukevanoost Date: Wed, 16 Sep 2026 11:50:52 +0200 Subject: [PATCH 1/2] fix: stop the build-time FederationManifest shadowing the runtime one `export * from "@softarc/native-federation/domain"` re-exports the core's build-time FederationManifest, which won over the orchestrator's at the public boundary. Consumers got a shape with an extra `main` field that initFederation() ignores. Re-export the orchestrator's explicitly so it shadows the star-export, completing 722e88a on the consumer-facing side. Also export FederationConfig from ./config, next to the withNativeFederation that takes it -- it previously only reached users through the runtime root entry. --- src/config.ts | 5 ++++- src/index.ts | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 8031a44..e0bb025 100644 --- a/src/config.ts +++ b/src/config.ts @@ -8,6 +8,9 @@ export { } from './config/share-utils.js'; // Nothing Angular-specific to add: the skip list NG_SKIP_LIST seeds applies to npm // packages, not to workspace path mappings. -export { mappingsFromWorkspace } from '@softarc/native-federation/config'; +export { + mappingsFromWorkspace, + type FederationConfig, +} from '@softarc/native-federation/config'; export { NG_SKIP_LIST } from './config/angular-skip-list.js'; export { shareAngularLocales } from './config/angular-locales.js'; diff --git a/src/index.ts b/src/index.ts index fdf9548..3169f8d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -217,4 +217,9 @@ export async function loadRemoteModule( } } -export { type NativeFederationResult } from "@softarc/native-federation-orchestrator"; +// Explicit: shadows the build-time FederationManifest that line 1 star-exports, +// whose extra `main` field initFederation() ignores. +export { + type NativeFederationResult, + type FederationManifest, +} from "@softarc/native-federation-orchestrator"; From d4ae43571e57abf248465e4921cdead3de07a464 Mon Sep 17 00:00:00 2001 From: Aukevanoost Date: Wed, 16 Sep 2026 11:53:57 +0200 Subject: [PATCH 2/2] chore: drop explanatory comment on the FederationManifest re-export --- src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3169f8d..93ccd1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -217,8 +217,6 @@ export async function loadRemoteModule( } } -// Explicit: shadows the build-time FederationManifest that line 1 star-exports, -// whose extra `main` field initFederation() ignores. export { type NativeFederationResult, type FederationManifest,