Skip to content

Commit d2e6b5e

Browse files
committed
feat(nf): prepare 1.0.0
1 parent 56e8558 commit d2e6b5e

File tree

7 files changed

+20
-12
lines changed

7 files changed

+20
-12
lines changed

libs/native-federation-core/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ While this core library can be used with any framework and build tool, there is
2020

2121
> Please find the [Angular-based version here](https://www.npmjs.com/package/@angular-architects/native-federation).
2222
23+
> Please find the [vite plugin here](https://www.npmjs.com/package/@gioboa/vite-module-federation).
24+
2325
Also, other higher level abstractions on top of this core library are possible.
2426

2527
## About the Mental Model
@@ -37,6 +39,11 @@ For this, the mental model introduces several concepts:
3739

3840
- [VanillaJS example](https://github.com/manfredsteyer/native-federation-core-microfrontend).
3941
- [React example](https://github.com/manfredsteyer/native-federation-react-example)
42+
- This example also shows the **watch mode** for compiling a federated application
43+
- [Vite + Svelte example](https://github.com/gioboa/svelte-microfrontend-demo)
44+
- [Vite + Angular example powered by AnalogJS](https://github.com/manfredsteyer/native-federation-vite-angular-demo)
45+
- **Your Example:** If you have an example with aspects not covered here, let us know. We are happy to link it here.
46+
4047

4148
## Credits
4249

@@ -48,6 +55,7 @@ Big thanks to:
4855
- [The Nx Team](https://twitter.com/NxDevTools), esp. [Colum Ferry](https://twitter.com/FerryColum), who seamlessly integrated webpack Module Federation into Nx and hence helped to spread the word about it (Nx + Module Federation === ❤️)
4956
- [Michael Egger-Zikes](https://twitter.com/MikeZks) for contributing to our Module Federation efforts and brining in valuable feedback
5057
- The Angular CLI-Team, esp. [Alan Agius](https://twitter.com/AlanAgius4) and [Charles Lyding](https://twitter.com/charleslyding), for working on the experimental esbuild builder for Angular
58+
- [Giorgio Boa](https://twitter.com/giorgio_boa) for implementing the awesome vite plugin for module federation.
5159

5260
## Using this Library
5361

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@softarc/native-federation",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"type": "commonjs",
55
"dependencies": {
66
"json5": "^2.2.0",
77
"npmlog": "^6.0.2",
8-
"@softarc/native-federation-runtime": "1.0.0-beta.3"
8+
"@softarc/native-federation-runtime": "1.0.0"
99
}
1010
}

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": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"type": "commonjs",
55
"dependencies": {
66
"@rollup/plugin-commonjs": "^22.0.2",

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": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"peerDependencies": {},
55
"dependencies": {
66
"tslib": "^2.3.0"

libs/native-federation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ We migrated our webpack Module Federation example to Native Federation:
5050

5151
![Example](https://raw.githubusercontent.com/angular-architects/module-federation-plugin/main/libs/native-federation/example.png)
5252

53-
Please find the example [here (branch: ng-solution)](https://github.com/manfredsteyer/module-federation-plugin-example/tree/nf-solution):
53+
Please find the example [here (branch: nf-solution)](https://github.com/manfredsteyer/module-federation-plugin-example/tree/nf-solution):
5454

5555
```
5656
git clone https://github.com/manfredsteyer/module-federation-plugin-example.git --branch nf-solution

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": "0.9.4",
3+
"version": "1.0.0-beta.1",
44
"main": "src/index.js",
55
"generators": "./collection.json",
66
"builders": "./builders.json",
@@ -23,8 +23,8 @@
2323
"rollup-plugin-node-externals": "^4.1.1",
2424
"esbuild": "^0.15.5",
2525
"@babel/core": "^7.19.0",
26-
"@softarc/native-federation": "1.0.0-beta.3",
27-
"@softarc/native-federation-runtime": "1.0.0-beta.3",
26+
"@softarc/native-federation": "1.0.0",
27+
"@softarc/native-federation-runtime": "1.0.0",
2828
"@rollup/plugin-json": "^4.1.0",
2929
"cross-spawn": "^7.0.3",
3030
"rollup-plugin-terser": "^7.0.2",

update-local.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
call npm unpublish @softarc/native-federation@1.0.0-beta.3 --registry http://localhost:4873
2-
call npm unpublish @softarc/native-federation-runtime@1.0.0-beta.3 --registry http://localhost:4873
3-
call npm unpublish @softarc/native-federation-esbuild@1.0.0-beta.3 --registry http://localhost:4873
4-
call npm unpublish @angular-architects/native-federation@0.9.4 --registry http://localhost:4873
1+
call npm unpublish @softarc/native-federation@1.0.0 --registry http://localhost:4873
2+
call npm unpublish @softarc/native-federation-runtime@1.0.0 --registry http://localhost:4873
3+
call npm unpublish @softarc/native-federation-esbuild@1.0.0 --registry http://localhost:4873
4+
call npm unpublish @angular-architects/native-federation@1.0.0-beta.1 --registry http://localhost:4873
55

66
call nx build native-federation
77
call nx build native-federation-core

0 commit comments

Comments
 (0)