Skip to content

Commit de62f2f

Browse files
Federation 7 project update (#3119)
* update express example * update exmple * update exmple * update exmple * Revert "update exmple" This reverts commit a645998. * update exmple * fix next ssr example * fix next ssr example * fix next ssr example * update more examples * update more examples
1 parent 679e278 commit de62f2f

File tree

156 files changed

+1355
-3611
lines changed

Some content is hidden

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

156 files changed

+1355
-3611
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,5 @@ buildServer
122122
**/cypress/screenshots/**
123123
**/cypress/results/**
124124
**/cypress/report/**
125+
/federated-express-routes/host/build/
126+
/federated-express-routes/remote/build/

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ https://scriptedalchemy.medium.com/
5353
- [x] [Version Discrepancy](./version-discrepancy/README.md) — Federated apps depending on different versions of a dependency without side-effects.
5454
- [x] [TypeScript](./typescript/README.md) — Streaming TypeScript between module-federation apps.
5555
- [x] [Angular Universal](./angular-universal-ssr/README.md) — Remote and Host app with SSR, lazy modules and components.
56-
- [x] [NextJS Sidecar Build](./nextjs-sidecar/README.md) — Sidecar build to enable module-federation alongside Next codebases.
57-
- [x] [NextJS v12](./nextjs-v12/README.md) — Operation, with [nextjs-mf](https://www.npmjs.com/package/@module-federation/nextjs-mf).
5856
- [x] [NextJS v13](./nextjs-v13/README.md) — Operation, with [nextjs-mf](https://www.npmjs.com/package/@module-federation/nextjs-mf).
59-
- [x] [NextJS](./nextjs/README.md) — Operation, with [nextjs-mf](https://github.com/module-federation/universe).
6057
- [x] [NextJS SSR](./nextjs-ssr/README.md) — Powered by software streams, with [nextjs-ssr](https://github.com/module-federation/universe)
6158
- [x] [NextJS SSR via Delegates](./nextjs-ssr-delegate-modules/README.md) — Custom glue code for containers and hosts [nextjs-ssr](https://github.com/module-federation/universe)
6259
- [x] [Building A Plugin-based Workflow Designer With Angular and Module Federation](https://github.com/manfredsteyer/module-federation-with-angular-dynamic-workflow-designer) — External Example

checkChangedWorkspaces.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
const { exec } = require("child_process");
2-
exec("npx lerna ls --all --json", (error, stdout, stderr) => {
2+
exec("yarn list:all", (error, stdout, stderr) => {
33
if (error) {
44
console.log(`error: ${error.message}`);
55
return;
66
}
7-
7+
console.log('ou', stdout);
88
try {
99
const allPackages = JSON.parse(stdout);
10-
exec("npx lerna ls --all --since=origin/master --json", (error, stdout, stderr) => {
10+
exec("yarn list:changed", (error, stdout, stderr) => {
1111
if (error) {
1212
console.log(`error: ${error.message}`);
1313
return;

nextjs-antd/3000-home/components/SharedNav.js

Lines changed: 0 additions & 70 deletions
This file was deleted.

nextjs-antd/3000-home/next.config.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

nextjs-antd/3000-home/package.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

nextjs-antd/3000-home/pages/[...federatedPage].js

Lines changed: 0 additions & 3 deletions
This file was deleted.

nextjs-antd/3000-home/pages/_app.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

nextjs-antd/3000-home/pages/_app.real.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

nextjs-antd/3000-home/pages/_document.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

nextjs-antd/3000-home/pages/_menu.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

nextjs-antd/3000-home/pages/home/exposed-pages.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

nextjs-antd/3000-home/pages/home/test-remote-hook.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

nextjs-antd/3000-home/pages/home/test-remote-hook.real.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

nextjs-antd/3000-home/pages/home/test-shared-nav.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

nextjs-antd/3000-home/pages/index.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)