@module-federation/nextjs-mf 7.0.0 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +1 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [7.0.2](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-7.0.1...nextjs-mf-7.0.2) (2023-07-05)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `node` updated to version `1.0.2`
|
|
10
|
+
* `node` updated to version `1.0.2`
|
|
11
|
+
* `node` updated to version `1.0.2`
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [7.0.1](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-7.0.0...nextjs-mf-7.0.1) (2023-07-05)
|
|
15
|
+
|
|
16
|
+
### Dependency Updates
|
|
17
|
+
|
|
18
|
+
* `node` updated to version `1.0.1`
|
|
19
|
+
* `node` updated to version `1.0.1`
|
|
20
|
+
* `node` updated to version `1.0.1`
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **nextjs-mf:** update broken documentation ([#1103](https://github.com/module-federation/nextjs-mf/issues/1103)) ([f3659b4](https://github.com/module-federation/nextjs-mf/commit/f3659b4f2dec9f37256fc2d87d2799f5d1923df6))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
5
28
|
# [7.0.0](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-6.7.1...nextjs-mf-7.0.0) (2023-07-01)
|
|
6
29
|
|
|
7
30
|
### Dependency Updates
|
package/README.md
CHANGED
|
@@ -28,9 +28,6 @@ You do not need to share these packages, sharing next internals yourself will ca
|
|
|
28
28
|
<details>
|
|
29
29
|
<summary> See DEFAULT_SHARE_SCOPE:</summary>
|
|
30
30
|
|
|
31
|
-
<details>
|
|
32
|
-
<summary> See DEFAULT_SHARE_SCOPE:</summary>
|
|
33
|
-
|
|
34
31
|
```ts
|
|
35
32
|
export const DEFAULT_SHARE_SCOPE: SharedObject = {
|
|
36
33
|
'next/dynamic': {
|
|
@@ -113,7 +110,7 @@ const SampleComponent = lazy(() => import('next2/sampleComponent'));
|
|
|
113
110
|
|
|
114
111
|
To avoid hydration errors, use `React.lazy` instead of `next/dynamic` for lazy loading federated components.
|
|
115
112
|
|
|
116
|
-
#### See the implementation here: https://github.com/module-federation/module-federation-examples/tree/master/nextjs/home/pages
|
|
113
|
+
#### See the implementation here: https://github.com/module-federation/module-federation-examples/tree/master/nextjs-v13/home/pages
|
|
117
114
|
|
|
118
115
|
With async boundary installed at the page level. You can then do the following
|
|
119
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/nextjs-mf",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"fast-glob": "^3.2.11",
|
|
22
22
|
"node-fetch": "2.6.9",
|
|
23
23
|
"webpack-sources": "^3.2.3",
|
|
24
|
-
"@module-federation/node": "1.0.
|
|
24
|
+
"@module-federation/node": "1.0.2",
|
|
25
25
|
"@module-federation/utilities": "2.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|