Skip to content

Commit 82ec5e0

Browse files
committed
chore(nf): update to 21.0.2
1 parent 1e7dc07 commit 82ec5e0

File tree

9 files changed

+86
-101
lines changed

9 files changed

+86
-101
lines changed

libs/native-federation-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@softarc/native-federation",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"type": "commonjs",
55
"license": "MIT",
66
"dependencies": {
77
"json5": "^2.2.0",
88
"chalk": "^5.6.2",
9-
"@softarc/native-federation-runtime": "3.4.0",
9+
"@softarc/native-federation-runtime": "3.4.1",
1010
"fast-glob": "^3.3.3",
1111
"@softarc/sheriff-core": "0.19.2"
1212
}

libs/native-federation-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation-esbuild",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"type": "commonjs",
55
"dependencies": {
66
"@rollup/plugin-commonjs": "^22.0.2",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@softarc/native-federation-node",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"license": "MIT",
55
"dependencies": {
6-
"@softarc/native-federation-runtime": "^3.4.0",
6+
"@softarc/native-federation-runtime": "^3.4.1",
77
"tslib": "^2.8.1"
88
}
99
}

libs/native-federation-node/src/lib/utils/fstart.mjs

Lines changed: 65 additions & 85 deletions
Large diffs are not rendered by default.

libs/native-federation-node/src/lib/utils/loader-as-data-url.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/native-federation-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation-runtime",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"dependencies": {
55
"tslib": "^2.3.0"
66
},

libs/native-federation/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ A dynamic host reads the configuration data at runtime from a `.json` file.
173173
The host configuration (`projects/shell/federation.config.js`) looks like what you know from our Module Federation plugin:
174174

175175
```javascript
176-
const { withNativeFederation, shareAll } = require('@angular-architects/native-federation/config');
176+
const {
177+
withNativeFederation,
178+
shareAll,
179+
} = require('@angular-architects/native-federation/config');
177180

178181
module.exports = withNativeFederation({
179182
name: 'my-host',
@@ -202,7 +205,10 @@ module.exports = withNativeFederation({
202205
Also, the remote configuration (`projects/mfe1/federation.config.js`) looks familiar:
203206

204207
```javascript
205-
const { withNativeFederation, shareAll } = require('@angular-architects/native-federation/config');
208+
const {
209+
withNativeFederation,
210+
shareAll,
211+
} = require('@angular-architects/native-federation/config');
206212

207213
module.exports = withNativeFederation({
208214
name: 'mfe1',
@@ -301,7 +307,8 @@ export const APP_ROUTES: Routes = [
301307
// Add this route:
302308
{
303309
path: 'flights',
304-
loadComponent: () => loadRemoteModule('mfe1', './Component').then((m) => m.AppComponent),
310+
loadComponent: () =>
311+
loadRemoteModule('mfe1', './Component').then((m) => m.AppComponent),
305312
},
306313

307314
{

libs/native-federation/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/native-federation",
3-
"version": "21.0.1",
3+
"version": "21.0.2",
44
"main": "src/index.js",
55
"generators": "./collection.json",
66
"builders": "./builders.json",
@@ -20,8 +20,8 @@
2020
},
2121
"dependencies": {
2222
"@babel/core": "^7.19.0",
23-
"@softarc/native-federation": "3.4.0",
24-
"@softarc/native-federation-runtime": "3.4.0",
23+
"@softarc/native-federation": "3.4.1",
24+
"@softarc/native-federation-runtime": "3.4.1",
2525
"@chialab/esbuild-plugin-commonjs": "^0.19.0",
2626
"esbuild": "^0.25.1",
2727
"mrmime": "^1.0.1",

libs/native-federation/src/tools/fstart-as-data-url.ts

Lines changed: 1 addition & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)