Skip to content

Commit cde9313

Browse files
feat: upgrade to beta.18 (module-federation#105)
* feat: upgrade to beta.18 * fix: dep bugs on react sharing * chore: regenerate locks * docs: update readme slightly
1 parent 19c4c4f commit cde9313

File tree

54 files changed

+630
-538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+630
-538
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ If you need **support**, consider looking at my sponsor profile [https://github.
1717
**Medium post** **Original Webpack Issue** [https://link.medium.com/xzFgBBtAx6](https://module-federation.github.io/redirect?utm_source=ModuleFederationExamples&utm_campaign=game_changer_medium_post&utm_medium=https://link.medium.com/xzFgBBtAx6)
1818

1919
# Check out our book
20+
2021
| <a href="https://module-federation.myshopify.com/products/practical-module-federation" target="_blank"><img src="./docs/MFCover.png" alt='Practical Module Federation Book' width="95%"/></a> | <a href="https://module-federation.myshopify.com/products/practical-module-federation" target="_blank">We will be actively updating this book over the next year as we learn more about best practices and what issues people are running into with Module Federation, as well as with every release of Webpack as it moves towards a release candidate and release. So with your one purchase you are buying a whole year of updates.</a> |
21-
|------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
22+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
2223

2324

2425
# Examples
@@ -28,6 +29,7 @@ If you need **support**, consider looking at my sponsor profile [https://github.
2829
> - ⚠️: In Progress/Incomplete
2930
> - 🔒: Depends on proprietary code that isn't free.
3031
32+
- [x] [Advanced API](./advanced-api) &mdash; showcasing advanced API use, also seen in other examples
3133
- [x] [Basic Host-Remote](./basic-host-remote/README.md) &mdash; App 1 consumes remote components from App2.
3234
- [x] [Bi-Directional Hosts](./bi-directional/README.md) &mdash; App1 consumes App2 components; App2 consumes App1 components.
3335
- [x] [Self-Healing](./self-healing/README.md) &mdash; Fallback to remote apps vendors if a dependency fails to load.
@@ -36,14 +38,15 @@ If you need **support**, consider looking at my sponsor profile [https://github.
3638
- [x] [Dynamic System Host](./dynamic-system-host/README.md) &mdash; Swap between remotes at runtime.
3739
- [x] [Redux Reducer Injection](./redux-reducer-injection.md) &mdash; Dynamically inject reducers to host store at runtime.
3840
- [x] [Shared Routes](./shared-routes2) &mdash; Compose federated routes for a seamless user experience.
39-
- [x] [Nested Components](./nested/README.md) &mdash; Nested remote components.[link to Google!](http://google.com)
41+
- [x] [Nested Components](./nested/README.md) &mdash; Nested remote components.
4042
- [x] [Share Context Provider](./shared-context/README.md) &mdash; App1 and App2 with shared Context Provider.
41-
- [x] 🔒 [Streaming Federated Code ](./streamed-federation/README.md) &mdash; App1 and federated-middleware deploy to s3. App1 then stream's federated code directly from S3
42-
- [x] Non-UI Modul
43-
- [x] Routing
43+
- [x] [Federation Dashboard Example](./dashboard-example/README.md) &mdash; Single example implementing [Module Federation Dashboard](https://www.npmjs.com/package/@module-federation/dashboard-plugin)
44+
- [x] 🔒 [Streaming Federated Code](./streamed-federation/README.md) &mdash; App1 and federated-middleware deploy to s3. App1 then stream's federated code directly from S3
45+
- [x] Non-UI Module
46+
- [x] [Routing](./shared-routing/README.md) &mdash; An example of sharing router context. Also worth looking at - [Routing 2](./shared-routes2/README.md)
4447
- [x] [Version Discrepancy](./version-discrepancy/README.md) &mdash; Federated apps depending on different versions of a dependency without side-effects.
4548
- [x] [TypeScript](./typescript/README.md) &mdash; Simple host/remote example using TypeScript.
46-
- [x] ⚠️ [Angular Universal](./angular-universal-ssr/README.md) &mdash; Remote and Host app with SSR, lazy modules and components.
49+
- [x] ⚠️ [Angular Universal](./angular-universal-ssr/README.md) &mdash; Remote and Host app with SSR, lazy modules and components. (Not working with WP beta.18)
4750
- [ ] NextJS
4851

4952
# Notes

advanced-api/automatic-vendor-sharing/app1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.0",
11-
"webpack": "^5.0.0-beta.17",
11+
"webpack": "^5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

advanced-api/automatic-vendor-sharing/app2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.0",
11-
"webpack": "^5.0.0-beta.17",
11+
"webpack": "^5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

advanced-api/dynamic-remotes/app1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.0",
11-
"webpack": "^5.0.0-beta.17",
11+
"webpack": "^5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

advanced-api/dynamic-remotes/app2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.0",
11-
"webpack": "^5.0.0-beta.17",
11+
"webpack": "^5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

advanced-api/dynamic-remotes/app3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.0",
11-
"webpack": "^5.0.0-beta.17",
11+
"webpack": "^5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

basic-host-remote/app1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"bundle-loader": "^0.5.6",
1010
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1111
"serve": "11.3.1",
12-
"webpack": "5.0.0-beta.17",
12+
"webpack": "5.0.0-beta.18",
1313
"webpack-cli": "3.3.11",
1414
"webpack-dev-server": "3.11.0"
1515
},

basic-host-remote/app2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.1",
11-
"webpack": "5.0.0-beta.17",
11+
"webpack": "5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

basic-host-remote/yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

bi-directional/app1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"babel-loader": "8.1.0",
99
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
1010
"serve": "11.3.1",
11-
"webpack": "5.0.0-beta.17",
11+
"webpack": "5.0.0-beta.18",
1212
"webpack-cli": "3.3.11",
1313
"webpack-dev-server": "3.11.0"
1414
},

0 commit comments

Comments
 (0)