@softarc/native-federation-orchestrator 4.9.0 → 4.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +12 -12
  2. package/fesm2022/@softarc/native-federation-orchestrator.mjs +490 -123
  3. package/fesm2022/@softarc/native-federation-orchestrator.mjs.map +4 -4
  4. package/fesm2022/module-federation.mjs.map +2 -2
  5. package/fesm2022/node.mjs +495 -123
  6. package/fesm2022/node.mjs.map +4 -4
  7. package/fesm2022/options.mjs +25 -2
  8. package/fesm2022/options.mjs.map +3 -3
  9. package/fesm2022/registry.mjs.map +2 -2
  10. package/package.json +3 -3
  11. package/quickstart.mjs +15 -13
  12. package/types/lib/core/1.domain/externals/basis.d.ts +2 -2
  13. package/types/lib/core/1.domain/externals/version.contract.d.ts +3 -0
  14. package/types/lib/core/1.domain/import-map/eager-preloads.d.ts +10 -0
  15. package/types/lib/core/1.domain/pooling/builds.d.ts +7 -1
  16. package/types/lib/core/1.domain/remote/remote-module.contract.d.ts +1 -0
  17. package/types/lib/core/1.domain/remote-entry/remote-entry.contract.d.ts +2 -2
  18. package/types/lib/core/2.app/config/import-map.contract.d.ts +4 -7
  19. package/types/lib/core/2.app/config/index.d.ts +2 -2
  20. package/types/lib/core/2.app/config/mode.contract.d.ts +1 -0
  21. package/types/lib/core/2.app/driver-ports/init/flow.contract.d.ts +2 -4
  22. package/types/lib/core/2.app/driver-ports/init/for-exposing-module-loader.port.d.ts +6 -2
  23. package/types/lib/core/2.app/driving-ports/for-browser-tasks.d.ts +1 -0
  24. package/types/lib/core/2.app/driving-ports/for-remote-info-storage.port.d.ts +1 -0
  25. package/types/lib/core/2.app/steps/collect-eager-preloads.d.ts +4 -0
  26. package/types/lib/core/2.app/steps/preload-hint.d.ts +4 -0
  27. package/types/lib/core/2.app/steps/store-remote-entry.d.ts +0 -14
  28. package/types/lib/core/4.config/import-map/index.d.ts +2 -0
  29. package/types/lib/core/4.config/import-map/no-preload.d.ts +2 -0
  30. package/types/lib/core/4.config/import-map/preload-in-dom.d.ts +2 -0
  31. package/types/lib/core/5.di/federation-result.factory.d.ts +3 -2
  32. package/types/lib/core/init-federation.contract.d.ts +2 -0
  33. package/types/lib/index.d.ts +1 -1
  34. package/types/lib/node/init-federation.node.d.ts +2 -7
  35. package/types/lib/node.index.d.ts +1 -1
  36. package/types/lib/registry/event-registry.contract.d.ts +1 -0
  37. package/types/lib/registry/event.contract.d.ts +6 -0
  38. package/types/lib/registry/for-managing-events.port.d.ts +1 -0
  39. package/types/lib/registry/registry.contract.d.ts +2 -0
  40. package/types/lib/registry/setup-registry.d.ts +1 -0
  41. package/types/scripts/announce-init-ready.d.ts +2 -0
  42. package/types/scripts/init-registry.d.ts +1 -0
package/README.md CHANGED
@@ -70,7 +70,7 @@ Get up and running in under 2 minutes:
70
70
  </script>
71
71
 
72
72
  <!-- Include the orchestrator runtime -->
73
- <script src="https://unpkg.com/@softarc/native-federation-orchestrator@4.7.0/quickstart.mjs"></script>
73
+ <script src="https://unpkg.com/@softarc/native-federation-orchestrator@4.10.0/quickstart.mjs"></script>
74
74
  </head>
75
75
  <body>
76
76
  <!-- Use your loaded components -->
@@ -88,7 +88,7 @@ Your micro frontends are now loaded and ready to use. The runtime handles the wh
88
88
 
89
89
  ```html
90
90
  <!-- Development and quick testing -->
91
- <script src="https://unpkg.com/@softarc/native-federation-orchestrator@4.7.0/quickstart.mjs"></script>
91
+ <script src="https://unpkg.com/@softarc/native-federation-orchestrator@4.10.0/quickstart.mjs"></script>
92
92
  ```
93
93
 
94
94
  ## Advanced Usage
@@ -123,16 +123,16 @@ const HeaderComponent = await loadRemoteModule('team/mfe2', './Header');
123
123
 
124
124
  ## Documentation
125
125
 
126
- | Guide | Description |
127
- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
128
- | [🚀 Getting Started](https://github.com/native-federation/orchestrator/blob/main/docs/getting-started.md) | Detailed setup instructions and examples |
129
- | [🖥️ Node.js (server-side) usage](https://github.com/native-federation/orchestrator/blob/main/docs/node.md) | SSR / Node entry, loader hook, migration guide |
130
- | [🏗️ Architecture](https://github.com/native-federation/orchestrator/blob/main/docs/architecture.md) | Understanding the native federation domain |
131
- | [⚙️ Configuration](https://github.com/native-federation/orchestrator/blob/main/docs/config.md) | Complete configuration reference |
132
- | [📡 Event Registry](https://github.com/native-federation/orchestrator/blob/main/docs/event-registry.md) | In-page event bus for cross-MFE communication |
133
- | [🔄 Version Resolution](https://github.com/native-federation/orchestrator/blob/main/docs/version-resolver.md) | How dependency conflicts are resolved |
134
- | [🔒 Security & Trusted Types](https://github.com/native-federation/orchestrator/blob/main/docs/security.md) | CSP setup and the built-in Trusted Types policy |
135
- | [🌉 Module Federation](https://github.com/native-federation/orchestrator/blob/main/docs/module-federation.md) | Share singletons with webpack Module Federation |
126
+ | Guide | Description |
127
+ | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
128
+ | [🚀 Getting Started](https://github.com/native-federation/orchestrator/blob/main/docs/getting-started.md) | Detailed setup instructions and examples |
129
+ | [🖥️ Node.js (server-side) usage](https://github.com/native-federation/orchestrator/blob/main/docs/node.md) | SSR / Node entry, loader hook, migration guide |
130
+ | [🏗️ Architecture](https://github.com/native-federation/orchestrator/blob/main/docs/architecture.md) | Understanding the native federation domain |
131
+ | [⚙️ Configuration](https://github.com/native-federation/orchestrator/blob/main/docs/config.md) | Complete configuration reference |
132
+ | [📡 Event Registry](https://github.com/native-federation/orchestrator/blob/main/docs/event-registry.md) | Deprecated, removed in v5: use [@softarc/native-federation-communication](https://github.com/native-federation/communication) |
133
+ | [🔄 Version Resolution](https://github.com/native-federation/orchestrator/blob/main/docs/version-resolver.md) | How dependency conflicts are resolved |
134
+ | [🔒 Security & Trusted Types](https://github.com/native-federation/orchestrator/blob/main/docs/security.md) | CSP setup and the built-in Trusted Types policy |
135
+ | [🌉 Module Federation](https://github.com/native-federation/orchestrator/blob/main/docs/module-federation.md) | Share singletons with webpack Module Federation |
136
136
 
137
137
  ## Example repositories
138
138