Skip to content

Commit db127a5

Browse files
chore: merge share-filter into enhanced sync
2 parents a8a8be9 + f6481e3 commit db127a5

File tree

158 files changed

+4566
-5687
lines changed

Some content is hidden

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

158 files changed

+4566
-5687
lines changed

.changeset/curvy-ducks-beg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/enhanced': patch
3+
---
4+
5+
chore(enhanced): update schema
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@module-federation/enhanced': patch
3+
---
4+
5+
fix(enhanced): ConsumeSharedPlugin alias-aware and virtual resource handling
6+
7+
- Skip `data:` (virtual) resources in `afterResolve` and `createModule` so webpack's scheme resolver handles them (fixes container virtual-entry compile failure)
8+
- Broaden alias-aware matching in `afterResolve` to include deep-path shares that start with the resolved package name (e.g. `next/dist/compiled/react`), ensuring aliased modules are consumed from federation when configured
9+
- Avoid converting explicit relative/absolute requests into consumes to preserve local nested resolution (fixes deep module sharing version selection)
10+
- Keep prefix and node_modules suffix matching intact; no behavior change there
11+
12+
These changes restore expected behavior for:
13+
- Virtual entry compilation
14+
- Deep module sharing (distinct versions for nested paths)
15+
- Alias-based sharing (Next.js compiled React)
16+

.changeset/great-gifts-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/node': patch
3+
---
4+
5+
catch runInThisContext errors and handle req error in httpVmStrategy

.changeset/metal-keys-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/enhanced': patch
3+
---
4+
5+
fix(enhanced): Mark all exports as provided, to avoid webpack's export analysis from marking them as unused since we copy buildMeta

.changeset/old-buttons-hope.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/runtime': patch
3+
---
4+
5+
Remove synthetic default import.

.changeset/polite-years-leave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/dts-plugin': patch
3+
---
4+
5+
fix(dts-plugin): correct generateTypes host params

.changeset/six-lies-hang.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/manifest': patch
3+
---
4+
5+
fix: the requires type in manifest.exposes shoule be array instead of object

.changeset/strong-kings-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@module-federation/esbuild": patch
3+
---
4+
5+
build(esbuild): migrate from rollup to rslib

.changeset/stupid-horses-battle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/sdk': patch
3+
---
4+
5+
change NameTransformSymbol to literal type for TS <5.7.0

.changeset/wet-pants-sniff.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@module-federation/cli": patch
3+
"@module-federation/data-prefetch": patch
4+
"@module-federation/error-codes": patch
5+
"@module-federation/managers": patch
6+
"@module-federation/manifest": patch
7+
"@module-federation/rsbuild-plugin": patch
8+
"@module-federation/rspack": patch
9+
"@module-federation/runtime": patch
10+
"@module-federation/runtime-core": patch
11+
"@module-federation/inject-external-runtime-core-plugin": patch
12+
"@module-federation/runtime-tools": patch
13+
"@module-federation/sdk": patch
14+
"@module-federation/utilities": patch
15+
"@module-federation/webpack-bundler-runtime": patch
16+
---
17+
18+
use TSC instead of SWC

0 commit comments

Comments
 (0)