@module-federation/enhanced 0.1.0 → 0.2.0-canary.1

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.
Files changed (27) hide show
  1. package/package.json +2 -4
  2. package/src/lib/container/AsyncBoundaryPlugin.d.ts +11 -43
  3. package/src/lib/container/AsyncBoundaryPlugin.js +76 -93
  4. package/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
  5. package/src/lib/container/ContainerEntryModule.js +3 -1
  6. package/src/lib/container/ContainerEntryModule.js.map +1 -1
  7. package/src/lib/container/ContainerEntryModuleFactory.js +2 -1
  8. package/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
  9. package/src/lib/container/ContainerReferencePlugin.js +3 -1
  10. package/src/lib/container/ContainerReferencePlugin.js.map +1 -1
  11. package/src/lib/container/FallbackModuleFactory.js +2 -1
  12. package/src/lib/container/FallbackModuleFactory.js.map +1 -1
  13. package/src/lib/container/ModuleFederationPlugin.js +1 -1
  14. package/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  15. package/src/lib/sharing/ConsumeSharedModule.js +3 -1
  16. package/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
  17. package/src/lib/sharing/ConsumeSharedPlugin.js +3 -1
  18. package/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
  19. package/src/lib/sharing/ConsumeSharedRuntimeModule.js +3 -1
  20. package/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
  21. package/src/lib/sharing/ProvideSharedModule.js +3 -1
  22. package/src/lib/sharing/ProvideSharedModule.js.map +1 -1
  23. package/src/lib/sharing/ShareRuntimeModule.js +3 -1
  24. package/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
  25. package/src/schemas/container/ModuleFederationPlugin.check.d.ts +10 -0
  26. package/CHANGELOG.md +0 -134
  27. package/README.md +0 -11
package/CHANGELOG.md DELETED
@@ -1,134 +0,0 @@
1
- # Changelog
2
-
3
- This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
-
5
- # [0.1.0](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.4-0...enhanced-0.1.0) (2023-10-07)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * ensure chunk handler exists before calling it ([98ba838](https://github.com/module-federation/nextjs-mf/commit/98ba838f979bbef11f5d678c3bf27a4de534cf9d))
11
-
12
-
13
- ### Features
14
-
15
- * AddRuntimeRequirementToPromiseExternal ([9bc5a20](https://github.com/module-federation/nextjs-mf/commit/9bc5a20b54228de7d1f2554eee10360a34e8d8a1))
16
-
17
-
18
-
19
- ## [0.0.4-0](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.3...enhanced-0.0.4-0) (2023-10-03)
20
-
21
-
22
- ### Bug Fixes
23
-
24
- * no external helpers ([6c47fd4](https://github.com/module-federation/nextjs-mf/commit/6c47fd4ce19f2292f6718d201005fba4a8552252))
25
-
26
-
27
-
28
- ## [0.0.3](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.2...enhanced-0.0.3) (2023-10-03)
29
-
30
-
31
-
32
- ## [0.0.2](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.1...enhanced-0.0.2) (2023-10-03)
33
-
34
-
35
-
36
- ## [0.0.1](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.1-rc.0...enhanced-0.0.1) (2023-10-03)
37
-
38
-
39
-
40
- ## 0.0.1-rc.0 (2023-10-03)
41
-
42
-
43
- ### Bug Fixes
44
-
45
- * add missing serialize method on RemoteModule ([e7ac801](https://github.com/module-federation/nextjs-mf/commit/e7ac801151b08dbb5ca025bd8ac03683f792f92f))
46
- * add override to remoteModule ([875038a](https://github.com/module-federation/nextjs-mf/commit/875038ad68dfed05822c1bc7c68ae91e57282f4f))
47
- * bad impleentation during federation port ([cc2e53f](https://github.com/module-federation/nextjs-mf/commit/cc2e53f0351fb94c9068223ad6b8d990a913ab53))
48
- * broken versioning issues in consumes ([e7fada2](https://github.com/module-federation/nextjs-mf/commit/e7fada211b1e58dc52eafeff4210a9ce62636f9d))
49
- * change exports for module info runtime ([f40c538](https://github.com/module-federation/nextjs-mf/commit/f40c538221353a61938cadf624c9235ec8eb4cce))
50
- * **enhanced:** module info duplication ([49b4a57](https://github.com/module-federation/nextjs-mf/commit/49b4a5736714c1db4510d10cdd5fe0277123caa8))
51
- * **enhanced:** syntax issue in proxy ([2e5848b](https://github.com/module-federation/nextjs-mf/commit/2e5848b4be3e3bba46508a427c1bc8f2d3043c8d))
52
- * improve backward compat __remote_scope__ global ([ac0efa3](https://github.com/module-federation/nextjs-mf/commit/ac0efa37d975a130aa3badc657fa66d723865a5b))
53
- * improve logic in runtime module info proxy ([8eea1a8](https://github.com/module-federation/nextjs-mf/commit/8eea1a84ae6a12f69dbb16d00f52ec902efbdda6))
54
- * legacy scope duplication on recreation ([347e4c9](https://github.com/module-federation/nextjs-mf/commit/347e4c96e87ff4f28dce319fc6b2fe40f1cbabee))
55
- * package data ([992d298](https://github.com/module-federation/nextjs-mf/commit/992d2985c29d0bf86de6739f728fbf64749e7fd0))
56
- * remote global share scope ([e05d32f](https://github.com/module-federation/nextjs-mf/commit/e05d32f489880d6b4e0fc21a3807e619a40bc5b3))
57
- * Ts import error ([6e7974c](https://github.com/module-federation/nextjs-mf/commit/6e7974c22874378122ab31eea27dddd0604505db))
58
- * TS imports to webpack ([d506b49](https://github.com/module-federation/nextjs-mf/commit/d506b492b724ccfb7fdcf6234196ac421564c153))
59
- * TS imports, missing module methods ([8eb422d](https://github.com/module-federation/nextjs-mf/commit/8eb422d30e149cb0d96835f036ec73ce1ccafe53))
60
- * ts in template string ([579b341](https://github.com/module-federation/nextjs-mf/commit/579b341a5eb38ca6396da15f9667729ab84d2ff6))
61
- * ts in template string ([37e790a](https://github.com/module-federation/nextjs-mf/commit/37e790a7b46ff6d8c8fd2c12cfd5629900db1b53))
62
- * ts in template string ([0edbbea](https://github.com/module-federation/nextjs-mf/commit/0edbbeaa42503237b88132252e29a34a79bade51))
63
- * ts in template string ([1d56efd](https://github.com/module-federation/nextjs-mf/commit/1d56efdf3d0bc78d19d187fe561fbbf453bada87))
64
- * ts in template string ([113d703](https://github.com/module-federation/nextjs-mf/commit/113d7037de8238ed0bcf9418ac1bf3d082fbea66))
65
- * typescript issues ([0a07481](https://github.com/module-federation/nextjs-mf/commit/0a07481552e1df6b35506165cbc649996004c318))
66
- * use ES5 for renderStartup of entrypoint ([d14324a](https://github.com/module-federation/nextjs-mf/commit/d14324a9af856fca974a8f9945ba7d0d2a96be48))
67
-
68
-
69
- ### Features
70
-
71
- * additional plugin exports ([0604461](https://github.com/module-federation/nextjs-mf/commit/0604461ea8806d4e064955f5edef571a9a45d8d0))
72
- * AsyncBoundaryPlugin ([00227ca](https://github.com/module-federation/nextjs-mf/commit/00227cabf3a1e7286148e84d5714e020391771f7))
73
- * checkInvalidContext as tapable hook ([a3eb553](https://github.com/module-federation/nextjs-mf/commit/a3eb5537ff462ead2230615f578569ec46199f50))
74
- * **ContainerEntryModule:** fix TypeScript issue, enhance needBuild method [#398](https://github.com/module-federation/nextjs-mf/issues/398)a60e ([c561e11](https://github.com/module-federation/nextjs-mf/commit/c561e111a54b253fd194c3b75041577dda50ad4b)), closes [#398a60](https://github.com/module-federation/nextjs-mf/issues/398a60)
75
- * **enhanced:** Fork Module Federation ([8682990](https://github.com/module-federation/nextjs-mf/commit/8682990e7fec6309ce20572958916f747737af90))
76
- * **enhanced:** Refactor ContainerEntryDependency and ContainerEntryModule for better code readability and maintainability ([e93e7d2](https://github.com/module-federation/nextjs-mf/commit/e93e7d2fafe2e22f7d2c613095ce1900d7531f29))
77
- * fork module federation ([0ad7430](https://github.com/module-federation/nextjs-mf/commit/0ad7430f6170458a47144be392133b7b2fa1ade0))
78
- * improved async init ([17b1419](https://github.com/module-federation/nextjs-mf/commit/17b1419ef31ec5661fa06b9f0c297e2771e2a86c))
79
- * support lazy compilation ([29c234c](https://github.com/module-federation/nextjs-mf/commit/29c234c14315e000acefc60d635ee486205ca83e))
80
- * Use enhanced Federation Plugin ([e021d66](https://github.com/module-federation/nextjs-mf/commit/e021d6667996962f154137d164bed13f53a6a135))
81
-
82
-
83
- ### Reverts
84
-
85
- * Revert "add migration / sync steps" ([5511559](https://github.com/module-federation/nextjs-mf/commit/5511559b86937b2733ac2e8db7e0a4fb33293778))
86
-
87
-
88
-
89
- ## 0.0.1-0 (2023-10-03)
90
-
91
-
92
- ### Bug Fixes
93
-
94
- * add missing serialize method on RemoteModule ([e7ac801](https://github.com/module-federation/nextjs-mf/commit/e7ac801151b08dbb5ca025bd8ac03683f792f92f))
95
- * add override to remoteModule ([875038a](https://github.com/module-federation/nextjs-mf/commit/875038ad68dfed05822c1bc7c68ae91e57282f4f))
96
- * bad impleentation during federation port ([cc2e53f](https://github.com/module-federation/nextjs-mf/commit/cc2e53f0351fb94c9068223ad6b8d990a913ab53))
97
- * broken versioning issues in consumes ([e7fada2](https://github.com/module-federation/nextjs-mf/commit/e7fada211b1e58dc52eafeff4210a9ce62636f9d))
98
- * change exports for module info runtime ([f40c538](https://github.com/module-federation/nextjs-mf/commit/f40c538221353a61938cadf624c9235ec8eb4cce))
99
- * **enhanced:** module info duplication ([49b4a57](https://github.com/module-federation/nextjs-mf/commit/49b4a5736714c1db4510d10cdd5fe0277123caa8))
100
- * **enhanced:** syntax issue in proxy ([2e5848b](https://github.com/module-federation/nextjs-mf/commit/2e5848b4be3e3bba46508a427c1bc8f2d3043c8d))
101
- * improve backward compat __remote_scope__ global ([ac0efa3](https://github.com/module-federation/nextjs-mf/commit/ac0efa37d975a130aa3badc657fa66d723865a5b))
102
- * improve logic in runtime module info proxy ([8eea1a8](https://github.com/module-federation/nextjs-mf/commit/8eea1a84ae6a12f69dbb16d00f52ec902efbdda6))
103
- * legacy scope duplication on recreation ([347e4c9](https://github.com/module-federation/nextjs-mf/commit/347e4c96e87ff4f28dce319fc6b2fe40f1cbabee))
104
- * package data ([992d298](https://github.com/module-federation/nextjs-mf/commit/992d2985c29d0bf86de6739f728fbf64749e7fd0))
105
- * remote global share scope ([e05d32f](https://github.com/module-federation/nextjs-mf/commit/e05d32f489880d6b4e0fc21a3807e619a40bc5b3))
106
- * Ts import error ([6e7974c](https://github.com/module-federation/nextjs-mf/commit/6e7974c22874378122ab31eea27dddd0604505db))
107
- * TS imports to webpack ([d506b49](https://github.com/module-federation/nextjs-mf/commit/d506b492b724ccfb7fdcf6234196ac421564c153))
108
- * TS imports, missing module methods ([8eb422d](https://github.com/module-federation/nextjs-mf/commit/8eb422d30e149cb0d96835f036ec73ce1ccafe53))
109
- * ts in template string ([579b341](https://github.com/module-federation/nextjs-mf/commit/579b341a5eb38ca6396da15f9667729ab84d2ff6))
110
- * ts in template string ([37e790a](https://github.com/module-federation/nextjs-mf/commit/37e790a7b46ff6d8c8fd2c12cfd5629900db1b53))
111
- * ts in template string ([0edbbea](https://github.com/module-federation/nextjs-mf/commit/0edbbeaa42503237b88132252e29a34a79bade51))
112
- * ts in template string ([1d56efd](https://github.com/module-federation/nextjs-mf/commit/1d56efdf3d0bc78d19d187fe561fbbf453bada87))
113
- * ts in template string ([113d703](https://github.com/module-federation/nextjs-mf/commit/113d7037de8238ed0bcf9418ac1bf3d082fbea66))
114
- * typescript issues ([0a07481](https://github.com/module-federation/nextjs-mf/commit/0a07481552e1df6b35506165cbc649996004c318))
115
- * use ES5 for renderStartup of entrypoint ([d14324a](https://github.com/module-federation/nextjs-mf/commit/d14324a9af856fca974a8f9945ba7d0d2a96be48))
116
-
117
-
118
- ### Features
119
-
120
- * additional plugin exports ([0604461](https://github.com/module-federation/nextjs-mf/commit/0604461ea8806d4e064955f5edef571a9a45d8d0))
121
- * AsyncBoundaryPlugin ([00227ca](https://github.com/module-federation/nextjs-mf/commit/00227cabf3a1e7286148e84d5714e020391771f7))
122
- * checkInvalidContext as tapable hook ([a3eb553](https://github.com/module-federation/nextjs-mf/commit/a3eb5537ff462ead2230615f578569ec46199f50))
123
- * **ContainerEntryModule:** fix TypeScript issue, enhance needBuild method [#398](https://github.com/module-federation/nextjs-mf/issues/398)a60e ([c561e11](https://github.com/module-federation/nextjs-mf/commit/c561e111a54b253fd194c3b75041577dda50ad4b)), closes [#398a60](https://github.com/module-federation/nextjs-mf/issues/398a60)
124
- * **enhanced:** Fork Module Federation ([8682990](https://github.com/module-federation/nextjs-mf/commit/8682990e7fec6309ce20572958916f747737af90))
125
- * **enhanced:** Refactor ContainerEntryDependency and ContainerEntryModule for better code readability and maintainability ([e93e7d2](https://github.com/module-federation/nextjs-mf/commit/e93e7d2fafe2e22f7d2c613095ce1900d7531f29))
126
- * fork module federation ([0ad7430](https://github.com/module-federation/nextjs-mf/commit/0ad7430f6170458a47144be392133b7b2fa1ade0))
127
- * improved async init ([17b1419](https://github.com/module-federation/nextjs-mf/commit/17b1419ef31ec5661fa06b9f0c297e2771e2a86c))
128
- * support lazy compilation ([29c234c](https://github.com/module-federation/nextjs-mf/commit/29c234c14315e000acefc60d635ee486205ca83e))
129
- * Use enhanced Federation Plugin ([e021d66](https://github.com/module-federation/nextjs-mf/commit/e021d6667996962f154137d164bed13f53a6a135))
130
-
131
-
132
- ### Reverts
133
-
134
- * Revert "add migration / sync steps" ([5511559](https://github.com/module-federation/nextjs-mf/commit/5511559b86937b2733ac2e8db7e0a4fb33293778))
package/README.md DELETED
@@ -1,11 +0,0 @@
1
- # enhanced
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Building
6
-
7
- Run `nx build enhanced` to build the library.
8
-
9
- ## Running unit tests
10
-
11
- Run `nx test enhanced` to execute the unit tests via [Jest](https://jestjs.io).