@angular-architects/native-federation
Advanced tools
Comparing version 19.0.4 to 19.0.5
{ | ||
"name": "@angular-architects/native-federation", | ||
"version": "19.0.4", | ||
"version": "19.0.5", | ||
"main": "src/index.js", | ||
@@ -23,4 +23,4 @@ "generators": "./collection.json", | ||
"@babel/core": "^7.19.0", | ||
"@softarc/native-federation": "2.0.17", | ||
"@softarc/native-federation-runtime": "2.0.17", | ||
"@softarc/native-federation": "2.0.18", | ||
"@softarc/native-federation-runtime": "2.0.18", | ||
"@types/browser-sync": "^2.29.0", | ||
@@ -27,0 +27,0 @@ "@chialab/esbuild-plugin-commonjs": "^0.18.0", |
@@ -37,2 +37,12 @@ # Native Federation for Angular | ||
## Demo Repo | ||
In this [demo repo](https://github.com/manfredsteyer/nf-test.git), we test Native Federation together with several known UI libraries for Angular. For this, we compile demo apps build with them with Native Federation. | ||
<a href="https://github.com/manfredsteyer/nf-test.git" target="_blank"> | ||
<img width="500" src="https://github.com/angular-architects/module-federation-plugin/blob/main/libs/native-federation/demo-repo.png"> | ||
</a> | ||
This is primarily for testing purposes. For an **initial example and/or an tutorial please look below.** | ||
## Migration from Module Federation | ||
@@ -354,3 +364,3 @@ | ||
Since version >=18.2.7, transitive dependencies can also be shared. For instance, `primeng` uses a lib `@primeuix/styled` for theming. The latter one is now shared too if `primeng` is. This prevents possible challenges but also results in more bundles. | ||
Since version >=18.2.7, transitive dependencies can also be shared. For instance, `primeng` uses a lib `@primeuix/styled` for theming. The latter one is now shared too if `primeng` is. This prevents possible challenges but also results in more bundles. | ||
@@ -362,7 +372,7 @@ To activate sharing transient dependencies, set the new `transient` flag provided by `share` and `shareAll` to `true`: | ||
shared: { | ||
...shareAll({ | ||
singleton: true, | ||
strictVersion: true, | ||
requiredVersion: 'auto', | ||
transient: true | ||
...shareAll({ | ||
singleton: true, | ||
strictVersion: true, | ||
requiredVersion: 'auto', | ||
transient: true | ||
}), | ||
@@ -369,0 +379,0 @@ }, |
183160
427
+ Added@softarc/native-federation@2.0.18(transitive)
+ Added@softarc/native-federation-runtime@2.0.18(transitive)
- Removed@softarc/native-federation@2.0.17(transitive)
- Removed@softarc/native-federation-runtime@2.0.17(transitive)