@module-federation/node 2.0.2-beta.2 → 2.0.2-beta.4
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 +158 -125
- package/package.json +13 -8
- package/src/filesystem/stratagies.d.ts +3 -3
- package/src/filesystem/stratagies.js +22 -23
- package/src/filesystem/stratagies.js.map +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +7 -1
- package/src/index.js.map +1 -1
- package/src/plugins/AutomaticPublicPathPlugin.d.ts +9 -0
- package/src/plugins/AutomaticPublicPathPlugin.js +38 -0
- package/src/plugins/AutomaticPublicPathPlugin.js.map +1 -0
- package/src/plugins/ChunkCorrelationPlugin.d.ts +3 -3
- package/src/plugins/ChunkCorrelationPlugin.js +23 -7
- package/src/plugins/ChunkCorrelationPlugin.js.map +1 -1
- package/src/plugins/CommonJsChunkLoadingPlugin.d.ts +4 -4
- package/src/plugins/CommonJsChunkLoadingPlugin.js +22 -19
- package/src/plugins/CommonJsChunkLoadingPlugin.js.map +1 -1
- package/src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.js +15 -13
- package/src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.js.map +1 -1
- package/src/plugins/NodeContainerPlugin.d.ts +57 -0
- package/src/plugins/NodeContainerPlugin.js +105 -0
- package/src/plugins/NodeContainerPlugin.js.map +1 -0
- package/src/plugins/NodeFederationPlugin.d.ts +4 -1
- package/src/plugins/NodeFederationPlugin.js +43 -18
- package/src/plugins/NodeFederationPlugin.js.map +1 -1
- package/src/plugins/RemotePublicPathRuntimeModule.d.ts +3 -3
- package/src/plugins/RemotePublicPathRuntimeModule.js +54 -30
- package/src/plugins/RemotePublicPathRuntimeModule.js.map +1 -1
- package/src/plugins/{parts.js → webpackChunkUtilities.js} +15 -6
- package/src/plugins/webpackChunkUtilities.js.map +1 -0
- package/src/utils/flush-chunks.js +1 -0
- package/src/utils/flush-chunks.js.map +1 -1
- package/src/utils/hot-reload.d.ts +7 -1
- package/src/utils/hot-reload.js +97 -91
- package/src/utils/hot-reload.js.map +1 -1
- package/src/filesystem/DynamicFilesystemRuntimeModule.d.ts +0 -6
- package/src/filesystem/DynamicFilesystemRuntimeModule.js +0 -30
- package/src/filesystem/DynamicFilesystemRuntimeModule.js.map +0 -1
- package/src/plugins/FederationModuleInfoRuntimeModule.d.ts +0 -9
- package/src/plugins/FederationModuleInfoRuntimeModule.js +0 -55
- package/src/plugins/FederationModuleInfoRuntimeModule.js.map +0 -1
- package/src/plugins/parts.js.map +0 -1
- /package/src/plugins/{parts.d.ts → webpackChunkUtilities.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,265 +2,298 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
## [2.0.2-beta.
|
|
5
|
+
## [2.0.2-beta.4](https://github.com/module-federation/nextjs-mf/compare/node-2.0.2-beta.3...node-2.0.2-beta.4) (2023-10-03)
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
### Bug Fixes
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
* ensure custom FS works with target: node or async node preset ([a08fcab](https://github.com/module-federation/nextjs-mf/commit/a08fcab7dde903966d34be9dab0b34c8896948ca))
|
|
9
|
+
## [2.0.2-beta.3](https://github.com/module-federation/nextjs-mf/compare/node-2.0.2-beta.2...node-2.0.2-beta.3) (2023-10-03)
|
|
12
10
|
|
|
13
11
|
|
|
12
|
+
### Bug Fixes
|
|
14
13
|
|
|
15
|
-
|
|
14
|
+
* add exported file ([19b1afb](https://github.com/module-federation/nextjs-mf/commit/19b1afbd58572897f36b16926f841e35d154c712))
|
|
15
|
+
* bad impleentation during federation port ([cc2e53f](https://github.com/module-federation/nextjs-mf/commit/cc2e53f0351fb94c9068223ad6b8d990a913ab53))
|
|
16
|
+
* chunk flushing ([c9df545](https://github.com/module-federation/nextjs-mf/commit/c9df5451c84e6458b392884492bf669bf7383d5c))
|
|
17
|
+
* dont crash offline remotes ([f0d7671](https://github.com/module-federation/nextjs-mf/commit/f0d7671569ac34f64017a303739b54880f5220e6))
|
|
18
|
+
* export parseRemotes ([12ed54c](https://github.com/module-federation/nextjs-mf/commit/12ed54c87ba539bc2a79cdee86058f0a2776653e))
|
|
19
|
+
* hot reloading system ([99f733b](https://github.com/module-federation/nextjs-mf/commit/99f733bbdbd727a99fbaaeab3f92f4b65fa568dd))
|
|
20
|
+
* remove logger in filesystem ([c370ed5](https://github.com/module-federation/nextjs-mf/commit/c370ed5fdc5fe3423703f29daa40a4227ac51cf2))
|
|
21
|
+
* remove logging on DFS ([40b8c28](https://github.com/module-federation/nextjs-mf/commit/40b8c28fac9c39fec8623415a36e487152c2ef34))
|
|
22
|
+
* search registry for both ident and unique name ([f22dc25](https://github.com/module-federation/nextjs-mf/commit/f22dc25e5a6374273b1bc51b0e101b57226c5906))
|
|
23
|
+
* simplify template ([b4e633b](https://github.com/module-federation/nextjs-mf/commit/b4e633b6624264456800bc7351c6d815430d42b5))
|
|
24
|
+
* stats plugin updates ([c1db325](https://github.com/module-federation/nextjs-mf/commit/c1db325d3311b2126964f4ad2ddbfa9d82a50674))
|
|
25
|
+
* ts in template string ([0edbbea](https://github.com/module-federation/nextjs-mf/commit/0edbbeaa42503237b88132252e29a34a79bade51))
|
|
26
|
+
* ts in template string ([9b8f652](https://github.com/module-federation/nextjs-mf/commit/9b8f652f96bf6f29d5fc238bb616e19187158a57))
|
|
16
27
|
|
|
17
28
|
|
|
29
|
+
### Features
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
* create and expose AutomaticPublicPathPlugin.ts ([9d0fcdd](https://github.com/module-federation/nextjs-mf/commit/9d0fcdd2e36fae971f2eec3269980baedf276b35))
|
|
32
|
+
* improve options logic in node federation plugin ([b69b70d](https://github.com/module-federation/nextjs-mf/commit/b69b70d200c63e3557089e8a0669fc43330c988c))
|
|
33
|
+
* improved async init ([bb19b07](https://github.com/module-federation/nextjs-mf/commit/bb19b07b5be1bbc28bd6b049ea7aea6510ad17a2))
|
|
34
|
+
* improved async init ([019694e](https://github.com/module-federation/nextjs-mf/commit/019694e55fe1f6bebfdab0701bf9087bf0034b8f))
|
|
35
|
+
* Static fallback to non auto public path ([3c58780](https://github.com/module-federation/nextjs-mf/commit/3c587809f1e936fba291eab3d7c790115be5102c))
|
|
36
|
+
* support vmok conventions ([0501da8](https://github.com/module-federation/nextjs-mf/commit/0501da86eaaab6ea79a3397c2c683086cc591309))
|
|
37
|
+
* support vmok conventions ([d53b586](https://github.com/module-federation/nextjs-mf/commit/d53b5867719eb7fff32bee2edd3255023d598f44))
|
|
38
|
+
* Use enhanced Federation Plugin ([e021d66](https://github.com/module-federation/nextjs-mf/commit/e021d6667996962f154137d164bed13f53a6a135))
|
|
20
39
|
|
|
21
40
|
|
|
41
|
+
|
|
42
|
+
## [2.0.2-beta.2](https://github.com/module-federation/nextjs-mf/compare/node-2.0.2-beta.1...node-2.0.2-beta.2) (2023-09-15)
|
|
43
|
+
|
|
22
44
|
### Bug Fixes
|
|
23
45
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
* remove ensure remote runtime module ([d06c082](https://github.com/module-federation/nextjs-mf/commit/d06c0823435063dcd277897ab551cd3a9c996d3d))
|
|
46
|
+
- Auto Public Path, detect multiple output targets ([65f17b1](https://github.com/module-federation/nextjs-mf/commit/65f17b189f37e0ad9e72bb0bf04463e9c5455929))
|
|
47
|
+
- ensure custom FS works with target: node or async node preset ([a08fcab](https://github.com/module-federation/nextjs-mf/commit/a08fcab7dde903966d34be9dab0b34c8896948ca))
|
|
27
48
|
|
|
49
|
+
## [2.0.2-beta.1](https://github.com/module-federation/nextjs-mf/compare/node-2.0.2-beta.0...node-2.0.2-beta.1) (2023-09-14)
|
|
28
50
|
|
|
29
|
-
|
|
51
|
+
## [2.0.2-beta.0](https://github.com/module-federation/nextjs-mf/compare/node-2.0.1...node-2.0.2-beta.0) (2023-09-14)
|
|
30
52
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* implement Bytedance Infra Node Plugin ([97f283e](https://github.com/module-federation/nextjs-mf/commit/97f283e4746bf6f048ee27584adde5249c8e577c))
|
|
37
|
-
* native self forming node federation ([#1291](https://github.com/module-federation/nextjs-mf/issues/1291)) ([1dd5ed1](https://github.com/module-federation/nextjs-mf/commit/1dd5ed17c981e036336925e807203e94b58c36d6))
|
|
38
|
-
* **node-remote:** Improve module federation runtime compatibility ([5eb2092](https://github.com/module-federation/nextjs-mf/commit/5eb209249c44d525c12eff5739bf23a93db08e4f))
|
|
39
|
-
* **node:** auto set public path and improve chunk loading strategy #node_auto_public_path ([65989da](https://github.com/module-federation/nextjs-mf/commit/65989dab95ee2acee7ec9a5ab321921a278cd078))
|
|
40
|
-
* **node:** enhance error handling and remote container registry in RemotePublicPathRuntimeModule (#bytedance) ([061285e](https://github.com/module-federation/nextjs-mf/commit/061285e0b6210baa1dd502dc94fd57fd9a8af822))
|
|
41
|
-
* **NodeFederationPlugin:** assign remoteContainerRegistry to importMetaName ([ca33d98](https://github.com/module-federation/nextjs-mf/commit/ca33d98df63fdb8dac402b1cc0ec8bf95f9f1971))
|
|
42
|
-
* **node:** remove unused import from DynamicFilesystemRuntimeModule ([f9787a9](https://github.com/module-federation/nextjs-mf/commit/f9787a9a67da936679db388e5c66e012e7452d8a))
|
|
43
|
-
* remove old loadScript hack ([fbe19bc](https://github.com/module-federation/nextjs-mf/commit/fbe19bc76694c14b6a95c577669c2e8656ede1ba))
|
|
44
|
-
* **utilities:** update DelegateModulesPlugin and tests (#node_auto_public_path) ([df8bb79](https://github.com/module-federation/nextjs-mf/commit/df8bb791c3fedef299cb15960546ff5ad9c665ef))
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
- import utils manually ([2767191](https://github.com/module-federation/nextjs-mf/commit/2767191467d9d685704b747d42b5f170da233847))
|
|
56
|
+
- **node:** use ES6 imports and override method in FederationModuleInfoRuntimeModule (#bytedance) ([d420ad9](https://github.com/module-federation/nextjs-mf/commit/d420ad94b7515123254af45c61704abcc0971511))
|
|
57
|
+
- remove ensure remote runtime module ([d06c082](https://github.com/module-federation/nextjs-mf/commit/d06c0823435063dcd277897ab551cd3a9c996d3d))
|
|
45
58
|
|
|
59
|
+
### Features
|
|
46
60
|
|
|
61
|
+
- add auto public path support for remote modules (node_auto_public_path) ([b12c984](https://github.com/module-federation/nextjs-mf/commit/b12c9841aa55027cb7b77e768ff9c0b456120d51))
|
|
62
|
+
- Dynamic Filesystem ([#1274](https://github.com/module-federation/nextjs-mf/issues/1274)) ([2bec98a](https://github.com/module-federation/nextjs-mf/commit/2bec98a2472b44898a7f14ec6868a2368cfb6d82))
|
|
63
|
+
- FederationModuleInfo Runtime Module ([50a1a0c](https://github.com/module-federation/nextjs-mf/commit/50a1a0c7a37bbe42ab6f2f5559b411567fee0fe9))
|
|
64
|
+
- FederationModuleInfo Runtime Module ([7b09ef6](https://github.com/module-federation/nextjs-mf/commit/7b09ef6c0f4ee68a1b5caa5f021632059c522b8f))
|
|
65
|
+
- implement Bytedance Infra Node Plugin ([82e6801](https://github.com/module-federation/nextjs-mf/commit/82e680157bbad68fa93800a69149c4c28652cfed))
|
|
66
|
+
- implement Bytedance Infra Node Plugin ([97f283e](https://github.com/module-federation/nextjs-mf/commit/97f283e4746bf6f048ee27584adde5249c8e577c))
|
|
67
|
+
- native self forming node federation ([#1291](https://github.com/module-federation/nextjs-mf/issues/1291)) ([1dd5ed1](https://github.com/module-federation/nextjs-mf/commit/1dd5ed17c981e036336925e807203e94b58c36d6))
|
|
68
|
+
- **node-remote:** Improve module federation runtime compatibility ([5eb2092](https://github.com/module-federation/nextjs-mf/commit/5eb209249c44d525c12eff5739bf23a93db08e4f))
|
|
69
|
+
- **node:** auto set public path and improve chunk loading strategy #node_auto_public_path ([65989da](https://github.com/module-federation/nextjs-mf/commit/65989dab95ee2acee7ec9a5ab321921a278cd078))
|
|
70
|
+
- **node:** enhance error handling and remote container registry in RemotePublicPathRuntimeModule (#bytedance) ([061285e](https://github.com/module-federation/nextjs-mf/commit/061285e0b6210baa1dd502dc94fd57fd9a8af822))
|
|
71
|
+
- **NodeFederationPlugin:** assign remoteContainerRegistry to importMetaName ([ca33d98](https://github.com/module-federation/nextjs-mf/commit/ca33d98df63fdb8dac402b1cc0ec8bf95f9f1971))
|
|
72
|
+
- **node:** remove unused import from DynamicFilesystemRuntimeModule ([f9787a9](https://github.com/module-federation/nextjs-mf/commit/f9787a9a67da936679db388e5c66e012e7452d8a))
|
|
73
|
+
- remove old loadScript hack ([fbe19bc](https://github.com/module-federation/nextjs-mf/commit/fbe19bc76694c14b6a95c577669c2e8656ede1ba))
|
|
74
|
+
- **utilities:** update DelegateModulesPlugin and tests (#node_auto_public_path) ([df8bb79](https://github.com/module-federation/nextjs-mf/commit/df8bb791c3fedef299cb15960546ff5ad9c665ef))
|
|
47
75
|
|
|
48
76
|
## [2.0.1](https://github.com/module-federation/nextjs-mf/compare/node-2.0.0...node-2.0.1) (2023-09-13)
|
|
49
77
|
|
|
50
78
|
### Dependency Updates
|
|
51
79
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
80
|
+
- `utils` updated to version `3.0.1`
|
|
81
|
+
- `utils` updated to version `3.0.1`
|
|
55
82
|
|
|
56
83
|
# [2.0.0](https://github.com/module-federation/nextjs-mf/compare/node-1.0.6...node-2.0.0) (2023-09-09)
|
|
57
84
|
|
|
58
85
|
### Dependency Updates
|
|
59
86
|
|
|
60
|
-
|
|
61
|
-
|
|
87
|
+
- `utils` updated to version `3.0.0`
|
|
88
|
+
- `utils` updated to version `3.0.0`
|
|
62
89
|
|
|
63
90
|
### Bug Fixes
|
|
64
91
|
|
|
65
|
-
|
|
66
|
-
|
|
92
|
+
- workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
67
93
|
|
|
68
94
|
### Features
|
|
69
95
|
|
|
70
|
-
|
|
71
|
-
|
|
96
|
+
- core package for module federation ([#1093](https://github.com/module-federation/nextjs-mf/issues/1093)) ([d460400](https://github.com/module-federation/nextjs-mf/commit/d46040053e9b627321b5fe8e05556c5bb727c238)), closes [#851](https://github.com/module-federation/nextjs-mf/issues/851) [#864](https://github.com/module-federation/nextjs-mf/issues/864) [#835](https://github.com/module-federation/nextjs-mf/issues/835) [#851](https://github.com/module-federation/nextjs-mf/issues/851) [#864](https://github.com/module-federation/nextjs-mf/issues/864) [#871](https://github.com/module-federation/nextjs-mf/issues/871) [#851](https://github.com/module-federation/nextjs-mf/issues/851) [#864](https://github.com/module-federation/nextjs-mf/issues/864) [#872](https://github.com/module-federation/nextjs-mf/issues/872) [#875](https://github.com/module-federation/nextjs-mf/issues/875) [#884](https://github.com/module-federation/nextjs-mf/issues/884) [#887](https://github.com/module-federation/nextjs-mf/issues/887) [#893](https://github.com/module-federation/nextjs-mf/issues/893) [#885](https://github.com/module-federation/nextjs-mf/issues/885) [#899](https://github.com/module-federation/nextjs-mf/issues/899) [#904](https://github.com/module-federation/nextjs-mf/issues/904) [#932](https://github.com/module-federation/nextjs-mf/issues/932) [#936](https://github.com/module-federation/nextjs-mf/issues/936) [#959](https://github.com/module-federation/nextjs-mf/issues/959) [#960](https://github.com/module-federation/nextjs-mf/issues/960) [#969](https://github.com/module-federation/nextjs-mf/issues/969) [#971](https://github.com/module-federation/nextjs-mf/issues/971) [#1234](https://github.com/module-federation/nextjs-mf/issues/1234) [#1235](https://github.com/module-federation/nextjs-mf/issues/1235)
|
|
72
97
|
|
|
73
98
|
### BREAKING CHANGES
|
|
74
99
|
|
|
75
|
-
|
|
100
|
+
- automaticAsyncBoundary option has been removed
|
|
76
101
|
|
|
77
|
-
|
|
102
|
+
- fix: exclude specific pages from page map automatically
|
|
78
103
|
|
|
79
|
-
|
|
104
|
+
- refactor: conslidate codebase
|
|
80
105
|
|
|
81
|
-
|
|
106
|
+
- fix: improve hot reload share recovery
|
|
82
107
|
|
|
83
|
-
|
|
108
|
+
- refactor: remove server jsonp template
|
|
84
109
|
|
|
85
|
-
|
|
110
|
+
- chore: remove dead code from runtime modules
|
|
86
111
|
|
|
87
|
-
|
|
112
|
+
- fix: clean up jsonp getCustomJsonpCode
|
|
88
113
|
|
|
89
114
|
getting chunk loading global from compiler output options
|
|
90
115
|
|
|
91
|
-
|
|
116
|
+
- feat: adding cleanInitArrays runtime helper
|
|
92
117
|
|
|
93
|
-
|
|
118
|
+
- chore: remove share scope hoist and module hoisting system
|
|
94
119
|
|
|
95
|
-
|
|
120
|
+
- chore: cleanup code
|
|
96
121
|
|
|
97
|
-
|
|
122
|
+
- chore: remove dead code from add module runtime plugin
|
|
98
123
|
|
|
99
124
|
likely can remove whole plugin in future
|
|
100
125
|
|
|
101
|
-
|
|
126
|
+
- chore: remove logs from delegate modules
|
|
102
127
|
|
|
103
|
-
|
|
128
|
+
- chore: remove old utils
|
|
104
129
|
|
|
105
|
-
|
|
130
|
+
- fix: add warning on auto page stitch
|
|
106
131
|
|
|
107
|
-
|
|
132
|
+
- fix: remove commented out code from InvertedContainerPlugin.ts
|
|
108
133
|
|
|
109
|
-
|
|
134
|
+
- chore: improve logging to see if its local load or remote load
|
|
110
135
|
|
|
111
|
-
|
|
136
|
+
- chore: clean up old custom promises factories
|
|
112
137
|
|
|
113
|
-
|
|
138
|
+
- fix: remove container proxy code
|
|
114
139
|
|
|
115
|
-
|
|
116
|
-
|
|
140
|
+
- fix: remove container proxy code
|
|
141
|
+
- automaticAsyncBoundary option has been removed
|
|
117
142
|
|
|
118
|
-
|
|
143
|
+
- fix: exclude specific pages from page map automatically
|
|
119
144
|
|
|
120
|
-
|
|
145
|
+
- refactor: conslidate codebase
|
|
121
146
|
|
|
122
|
-
|
|
147
|
+
- fix: improve hot reload share recovery
|
|
123
148
|
|
|
124
|
-
|
|
149
|
+
- refactor: remove server jsonp template
|
|
125
150
|
|
|
126
|
-
|
|
151
|
+
- chore: remove dead code from runtime modules
|
|
127
152
|
|
|
128
|
-
|
|
153
|
+
- fix: clean up jsonp getCustomJsonpCode
|
|
129
154
|
|
|
130
155
|
getting chunk loading global from compiler output options
|
|
131
156
|
|
|
132
|
-
|
|
157
|
+
- feat: adding cleanInitArrays runtime helper
|
|
133
158
|
|
|
134
|
-
|
|
159
|
+
- chore: remove share scope hoist and module hoisting system
|
|
135
160
|
|
|
136
|
-
|
|
161
|
+
- chore: cleanup code
|
|
137
162
|
|
|
138
|
-
|
|
163
|
+
- chore: remove dead code from add module runtime plugin
|
|
139
164
|
|
|
140
165
|
likely can remove whole plugin in future
|
|
141
166
|
|
|
142
|
-
|
|
167
|
+
- chore: remove logs from delegate modules
|
|
143
168
|
|
|
144
|
-
|
|
169
|
+
- chore: remove old utils
|
|
145
170
|
|
|
146
|
-
|
|
171
|
+
- fix: add warning on auto page stitch
|
|
147
172
|
|
|
148
|
-
|
|
173
|
+
- fix: remove commented out code from InvertedContainerPlugin.ts
|
|
149
174
|
|
|
150
|
-
|
|
175
|
+
- chore: improve logging to see if its local load or remote load
|
|
151
176
|
|
|
152
|
-
|
|
177
|
+
- chore: clean up old custom promises factories
|
|
153
178
|
|
|
154
|
-
|
|
179
|
+
- fix: remove container proxy code
|
|
155
180
|
|
|
156
|
-
|
|
181
|
+
- fix: remove container proxy code
|
|
157
182
|
|
|
158
|
-
|
|
183
|
+
- chore: fix project.json
|
|
159
184
|
|
|
160
|
-
|
|
185
|
+
- debugging
|
|
161
186
|
|
|
162
|
-
|
|
187
|
+
- fix: resolve backmerge issues with build
|
|
163
188
|
|
|
164
|
-
|
|
189
|
+
- Merge branch 'kill_child_compilers' into fix_backmerge_issues
|
|
165
190
|
|
|
166
191
|
# Conflicts:
|
|
167
|
-
# package-lock.json
|
|
168
|
-
# package.json
|
|
169
|
-
# packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
|
|
170
|
-
# packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts
|
|
171
|
-
# packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts
|
|
172
192
|
|
|
173
|
-
|
|
193
|
+
# package-lock.json
|
|
194
|
+
|
|
195
|
+
# package.json
|
|
196
|
+
|
|
197
|
+
# packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
|
|
174
198
|
|
|
175
|
-
|
|
199
|
+
# packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts
|
|
176
200
|
|
|
177
|
-
|
|
201
|
+
# packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts
|
|
178
202
|
|
|
179
|
-
|
|
203
|
+
- feat: enable eager sharing
|
|
204
|
+
|
|
205
|
+
- refactor: improve module hooks for eager loading and search
|
|
206
|
+
|
|
207
|
+
- refactor: cleanup custom jsonp and make es5
|
|
208
|
+
|
|
209
|
+
- refactor: cleanup inverted container code
|
|
180
210
|
|
|
181
|
-
|
|
182
|
-
|
|
211
|
+
- refactor: cleanup inverted container code
|
|
212
|
+
- automaticAsyncBoundary option has been removed
|
|
183
213
|
|
|
184
|
-
|
|
214
|
+
- fix: exclude specific pages from page map automatically
|
|
185
215
|
|
|
186
|
-
|
|
216
|
+
- refactor: conslidate codebase
|
|
187
217
|
|
|
188
|
-
|
|
218
|
+
- fix: improve hot reload share recovery
|
|
189
219
|
|
|
190
|
-
|
|
220
|
+
- refactor: remove server jsonp template
|
|
191
221
|
|
|
192
|
-
|
|
222
|
+
- chore: remove dead code from runtime modules
|
|
193
223
|
|
|
194
|
-
|
|
224
|
+
- fix: clean up jsonp getCustomJsonpCode
|
|
195
225
|
|
|
196
226
|
getting chunk loading global from compiler output options
|
|
197
227
|
|
|
198
|
-
|
|
228
|
+
- feat: adding cleanInitArrays runtime helper
|
|
199
229
|
|
|
200
|
-
|
|
230
|
+
- chore: remove share scope hoist and module hoisting system
|
|
201
231
|
|
|
202
|
-
|
|
232
|
+
- chore: cleanup code
|
|
203
233
|
|
|
204
|
-
|
|
234
|
+
- chore: remove dead code from add module runtime plugin
|
|
205
235
|
|
|
206
236
|
likely can remove whole plugin in future
|
|
207
237
|
|
|
208
|
-
|
|
238
|
+
- chore: remove logs from delegate modules
|
|
209
239
|
|
|
210
|
-
|
|
240
|
+
- chore: remove old utils
|
|
211
241
|
|
|
212
|
-
|
|
242
|
+
- fix: add warning on auto page stitch
|
|
213
243
|
|
|
214
|
-
|
|
244
|
+
- fix: remove commented out code from InvertedContainerPlugin.ts
|
|
215
245
|
|
|
216
|
-
|
|
246
|
+
- chore: improve logging to see if its local load or remote load
|
|
217
247
|
|
|
218
|
-
|
|
248
|
+
- chore: clean up old custom promises factories
|
|
219
249
|
|
|
220
|
-
|
|
250
|
+
- fix: remove container proxy code
|
|
221
251
|
|
|
222
|
-
|
|
252
|
+
- fix: remove container proxy code
|
|
223
253
|
|
|
224
|
-
|
|
254
|
+
- fix: resolve backmerge issues with build
|
|
225
255
|
|
|
226
|
-
|
|
256
|
+
- Merge branch 'kill_child_compilers' into fix_backmerge_issues
|
|
227
257
|
|
|
228
258
|
# Conflicts:
|
|
229
|
-
# package-lock.json
|
|
230
|
-
# package.json
|
|
231
|
-
# packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
|
|
232
|
-
# packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts
|
|
233
|
-
# packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts
|
|
234
259
|
|
|
235
|
-
|
|
260
|
+
# package-lock.json
|
|
236
261
|
|
|
237
|
-
|
|
262
|
+
# package.json
|
|
238
263
|
|
|
239
|
-
|
|
264
|
+
# packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts
|
|
240
265
|
|
|
241
|
-
|
|
266
|
+
# packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts
|
|
242
267
|
|
|
243
|
-
|
|
268
|
+
# packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts
|
|
244
269
|
|
|
245
|
-
|
|
270
|
+
- feat: enable eager sharing
|
|
246
271
|
|
|
247
|
-
|
|
272
|
+
- refactor: improve module hooks for eager loading and search
|
|
248
273
|
|
|
249
|
-
|
|
274
|
+
- refactor: cleanup custom jsonp and make es5
|
|
250
275
|
|
|
251
|
-
|
|
276
|
+
- refactor: cleanup inverted container code
|
|
277
|
+
|
|
278
|
+
- refactor: cleanup inverted container code
|
|
279
|
+
|
|
280
|
+
- ci: fix install step with npm and NX
|
|
281
|
+
|
|
282
|
+
- test: remove tests for now
|
|
252
283
|
|
|
253
|
-
|
|
284
|
+
- chore(utils): release version 1.7.3-beta.0
|
|
254
285
|
|
|
255
|
-
|
|
286
|
+
- chore(utils): release version 1.7.3
|
|
256
287
|
|
|
257
|
-
|
|
288
|
+
- chore(node): release version 0.14.4-beta.0
|
|
258
289
|
|
|
259
|
-
|
|
290
|
+
- chore(node): release version 0.14.4
|
|
260
291
|
|
|
261
|
-
|
|
292
|
+
- chore(nextjs-mf): release version 6.4.1-beta.4
|
|
262
293
|
|
|
294
|
+
- fix: remove debugging runtime variable
|
|
263
295
|
|
|
296
|
+
- chore(nextjs-mf): release version 6.4.1-beta.5
|
|
264
297
|
|
|
265
298
|
## [1.0.7](https://github.com/module-federation/nextjs-mf/compare/node-1.0.6...node-1.0.7) (2023-08-14)
|
|
266
299
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/node",
|
|
4
|
-
"version": "2.0.2-beta.
|
|
4
|
+
"version": "2.0.2-beta.4",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
"import": "./src/utils/index.js",
|
|
15
15
|
"require": "./src/utils/index.js"
|
|
16
16
|
},
|
|
17
|
+
"./src/plugins/RemotePublicPathPlugin.js": "./src/plugins/RemotePublicPathPlugin.js",
|
|
18
|
+
"./src/plugins/NodeFederationPlugin.js": "./src/plugins/NodeFederationPlugin.js",
|
|
17
19
|
"./src/": "./src/"
|
|
18
20
|
},
|
|
19
21
|
"publishConfig": {
|
|
@@ -33,24 +35,27 @@
|
|
|
33
35
|
"author": "Zack Jackson <zackary.l.jackson@gmail.com>",
|
|
34
36
|
"license": "MIT",
|
|
35
37
|
"dependencies": {
|
|
36
|
-
"
|
|
38
|
+
"@module-federation/utilities": "3.0.2-beta.0",
|
|
37
39
|
"encoding": "^0.1.13",
|
|
38
|
-
"
|
|
40
|
+
"node-fetch": "^2.6.7",
|
|
41
|
+
"tapable": "2.2.1",
|
|
42
|
+
"webpack-sources": "3.2.3",
|
|
43
|
+
"@module-federation/enhanced": "0.0.4-0"
|
|
39
44
|
},
|
|
40
45
|
"peerDependencies": {
|
|
41
|
-
"
|
|
46
|
+
"next": "^12||^13",
|
|
42
47
|
"react": "^16||^17||^18",
|
|
43
48
|
"react-dom": "^16||^17||^18",
|
|
44
|
-
"
|
|
49
|
+
"webpack": "^5.40.0"
|
|
45
50
|
},
|
|
46
51
|
"peerDependenciesMeta": {
|
|
47
|
-
"
|
|
52
|
+
"next": {
|
|
48
53
|
"optional": true
|
|
49
54
|
},
|
|
50
|
-
"react
|
|
55
|
+
"react": {
|
|
51
56
|
"optional": true
|
|
52
57
|
},
|
|
53
|
-
"
|
|
58
|
+
"react-dom": {
|
|
54
59
|
"optional": true
|
|
55
60
|
}
|
|
56
61
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function fileSystemRunInContextStrategy(chunkId: any, rootOutputDir: any, remotes: any, callback: any): Promise<void>;
|
|
2
|
-
export function httpEvalStrategy(chunkName: any, remoteName: any, remotes: any, callback: any): Promise<void>;
|
|
1
|
+
export declare function fileSystemRunInContextStrategy(chunkId: any, rootOutputDir: any, remotes: any, callback: any): Promise<void>;
|
|
2
|
+
export declare function httpEvalStrategy(chunkName: any, remoteName: any, remotes: any, callback: any): Promise<void>;
|
|
3
3
|
/**
|
|
4
4
|
* HttpVmStrategy
|
|
5
5
|
* This function is used to execute a chunk of code in a VM using HTTP or HTTPS based on the protocol.
|
|
@@ -8,4 +8,4 @@ export function httpEvalStrategy(chunkName: any, remoteName: any, remotes: any,
|
|
|
8
8
|
* @param {object} remotes - An object containing the remote servers.
|
|
9
9
|
* @param {function} callback - A callback function to be executed after the chunk is executed.
|
|
10
10
|
*/
|
|
11
|
-
export function httpVmStrategy(chunkName:
|
|
11
|
+
export declare function httpVmStrategy(chunkName: any, remoteName: any, remotes: any, callback: any): Promise<void>;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.httpVmStrategy = exports.httpEvalStrategy = exports.fileSystemRunInContextStrategy = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
4
5
|
async function fileSystemRunInContextStrategy(chunkId, rootOutputDir, remotes, callback) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//eslint-disable-next-line
|
|
10
|
-
rootOutputDir + __webpack_require__.u(chunkId));
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const vm = require('vm');
|
|
9
|
+
const filename = path.join(__dirname, rootOutputDir + __webpack_require__.u(chunkId));
|
|
11
10
|
if (fs.existsSync(filename)) {
|
|
12
11
|
fs.readFile(filename, 'utf-8', (err, content) => {
|
|
13
12
|
if (err) {
|
|
14
13
|
callback(err, null);
|
|
15
14
|
return;
|
|
16
15
|
}
|
|
17
|
-
|
|
16
|
+
const chunk = {};
|
|
18
17
|
try {
|
|
19
18
|
vm.runInThisContext('(function(exports, require, __dirname, __filename) {' +
|
|
20
19
|
content +
|
|
@@ -35,25 +34,25 @@ async function fileSystemRunInContextStrategy(chunkId, rootOutputDir, remotes, c
|
|
|
35
34
|
exports.fileSystemRunInContextStrategy = fileSystemRunInContextStrategy;
|
|
36
35
|
// HttpEvalStrategy
|
|
37
36
|
async function httpEvalStrategy(chunkName, remoteName, remotes, callback) {
|
|
38
|
-
|
|
37
|
+
let url;
|
|
39
38
|
try {
|
|
40
|
-
// eslint-disable-next-line no-undef
|
|
41
39
|
url = new URL(chunkName, __webpack_require__.p);
|
|
42
40
|
}
|
|
43
41
|
catch (e) {
|
|
44
42
|
console.error('module-federation: failed to construct absolute chunk path of', remoteName, 'for', chunkName, e);
|
|
45
43
|
url = new URL(remotes[remoteName]);
|
|
46
|
-
|
|
44
|
+
const getBasenameFromUrl = (url) => {
|
|
47
45
|
const urlParts = url.split('/');
|
|
48
46
|
return urlParts[urlParts.length - 1];
|
|
49
47
|
};
|
|
50
|
-
|
|
48
|
+
const fileToReplace = getBasenameFromUrl(url.pathname);
|
|
51
49
|
url.pathname = url.pathname.replace(fileToReplace, chunkName);
|
|
52
50
|
}
|
|
53
51
|
const data = await fetch(url).then((res) => res.text());
|
|
54
|
-
|
|
52
|
+
const chunk = {};
|
|
55
53
|
try {
|
|
56
|
-
|
|
54
|
+
const urlDirname = url.pathname.split('/').slice(0, -1).join('/');
|
|
55
|
+
eval('(function(exports, require, __dirname, __filename) {' + data + '\n})', chunkName)(chunk, require, urlDirname, chunkName);
|
|
57
56
|
callback(null, chunk);
|
|
58
57
|
}
|
|
59
58
|
catch (e) {
|
|
@@ -70,30 +69,30 @@ exports.httpEvalStrategy = httpEvalStrategy;
|
|
|
70
69
|
* @param {function} callback - A callback function to be executed after the chunk is executed.
|
|
71
70
|
*/
|
|
72
71
|
async function httpVmStrategy(chunkName, remoteName, remotes, callback) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
const http = require('http');
|
|
73
|
+
const https = require('https');
|
|
74
|
+
const vm = require('vm');
|
|
75
|
+
const path = require('path');
|
|
76
|
+
let url;
|
|
77
77
|
try {
|
|
78
|
-
console.log('trying chunk load', chunkName, __webpack_require__.p);
|
|
79
78
|
url = new URL(chunkName, __webpack_require__.p);
|
|
80
79
|
}
|
|
81
80
|
catch (e) {
|
|
82
81
|
console.error('module-federation: failed to construct absolute chunk path of', remoteName, 'for', chunkName, e);
|
|
83
|
-
console.log('fallbak url constructed', remotes._config[remoteName]);
|
|
84
82
|
url = new URL(remotes._config[remoteName]);
|
|
85
|
-
|
|
83
|
+
const fileToReplace = path.basename(url.pathname);
|
|
86
84
|
url.pathname = url.pathname.replace(fileToReplace, chunkName);
|
|
87
85
|
}
|
|
88
|
-
|
|
86
|
+
const protocol = url.protocol === 'https:' ? https : http;
|
|
89
87
|
protocol.get(url, (res) => {
|
|
90
88
|
let data = '';
|
|
91
89
|
res.on('data', (chunk) => {
|
|
92
90
|
data += chunk;
|
|
93
91
|
});
|
|
94
92
|
res.on('end', () => {
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
const chunk = {};
|
|
94
|
+
const urlDirname = url.pathname.split('/').slice(0, -1).join('/');
|
|
95
|
+
vm.runInThisContext('(function(exports, require, __dirname, __filename) {' + data + '\n})', chunkName)(chunk, require, urlDirname, chunkName);
|
|
97
96
|
callback(null, chunk);
|
|
98
97
|
});
|
|
99
98
|
res.on('error', (err) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stratagies.js","sourceRoot":"","sources":["../../../../../packages/node/src/filesystem/stratagies.
|
|
1
|
+
{"version":3,"file":"stratagies.js","sourceRoot":"","sources":["../../../../../packages/node/src/filesystem/stratagies.ts"],"names":[],"mappings":";;;AAAA,aAAa;AACN,KAAK,UAAU,8BAA8B,CAClD,OAAO,EACP,aAAa,EACb,OAAO,EACP,QAAQ;IAER,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7B,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CACxB,SAAS,EACT,aAAa,GAAG,mBA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,CAAC;YAElE,EAAE,CAAC,gBAAgB,CACjB,sDAAsD,GAAG,IAAI,GAAG,MAAM,EACtE,SAAS,CACV,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;YACzC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;QACH,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;YACtB,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAxCD,wCAwCC"}
|
package/src/index.d.ts
CHANGED
|
@@ -2,3 +2,6 @@ export { default as StreamingTargetPlugin } from './plugins/StreamingTargetPlugi
|
|
|
2
2
|
export { default as NodeFederationPlugin } from './plugins/NodeFederationPlugin';
|
|
3
3
|
export { default as UniversalFederationPlugin } from './plugins/UniversalFederationPlugin';
|
|
4
4
|
export { default as ChunkCorrelationPlugin } from './plugins/ChunkCorrelationPlugin';
|
|
5
|
+
export { default as RemotePublicPathPlugin } from './plugins/RemotePublicPathRuntimeModule';
|
|
6
|
+
export { default as NodeContainerPlugin } from './plugins/NodeContainerPlugin';
|
|
7
|
+
export { parseRemotes } from './plugins/NodeFederationPlugin';
|