Skip to content

feat: Updated from runtime to orchestrator#39

Merged
Aukevanoost merged 2 commits intomainfrom
feat/orchestrator-as-default
Apr 25, 2026
Merged

feat: Updated from runtime to orchestrator#39
Aukevanoost merged 2 commits intomainfrom
feat/orchestrator-as-default

Conversation

@Aukevanoost
Copy link
Copy Markdown
Contributor

This pull request updates the Angular integration to use the new @softarc/native-federation-orchestrator package instead of the deprecated @softarc/native-federation-runtime. It refactors the public API to bridge to the orchestrator, adds improved type definitions and error handling, and updates build and dependency configurations accordingly.

Migration to Orchestrator and API Refactor:

  • Replaced all usage of @softarc/native-federation-runtime with @softarc/native-federation-orchestrator in both peer and regular dependencies in package.json and in the code, ensuring the package uses the latest orchestration layer for module federation. [1] [2] [3] [4]
  • Refactored src/index.ts to reimplement initFederation and loadRemoteModule so they bridge to the orchestrator, including new logic for handling remote entries, improved error handling, and support for fallbacks. Added and exported new types for options and results.

Build and TypeScript Configuration:

  • Updated tsconfig.build.json to use "module": "esnext" and "moduleResolution": "bundler" for better compatibility with modern module systems and bundlers.

@Aukevanoost
Copy link
Copy Markdown
Contributor Author

@manfredsteyer This should roughly provide parity of the classic runtime while using the new orchestrator without any migrations needed.

@Aukevanoost Aukevanoost merged commit dbd2dbc into main Apr 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant