Skip to content

Commit e1207a4

Browse files
Merge remote-tracking branch 'origin/main' into cursor/build-system-turborepo-14f4
# Conflicts: # apps/esbuild/build/build-common.js # package.json # pnpm-lock.yaml
2 parents 5b5eb2a + 4466f4c commit e1207a4

File tree

122 files changed

+4875
-2061
lines changed

Some content is hidden

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

122 files changed

+4875
-2061
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@module-federation/esbuild": patch
3+
---
4+
5+
fix: fix import map registration for ESM remote modules
6+
7+
The import map registration was failing because the runtimePlugin was looking for moduleMap in the host scope instead of fetching it from the remote module exports. This fix adds explicit synchronous import map registration in the host initialization code that runs after initializeSharing but before any code that imports from remotes.

.changeset/gentle-news-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/devtools': patch
3+
---
4+
5+
feat(chrome-devtools): add diagnostic messaging and UI enhancements for error handling

.changeset/legal-nights-dress.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): use default import for fs-extra to fix ESM compatibility

.changeset/spicy-oranges-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/rspack': patch
3+
---
4+
5+
fix(rspack): update condition for provideExternalRuntime error handling

.changeset/two-camels-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-module-federation': patch
3+
---
4+
5+
Update React and React DOM to v19.2.3

apps/3000-home/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 3000-home
2+
3+
This is the example application for Module Federation core.

apps/3000-home/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@module-federation/3000-home",
33
"version": "1.0.0",
44
"private": true,
5+
"description": "Federation example for 3000-home",
56
"dependencies": {
67
"@ant-design/cssinjs": "^1.21.0",
78
"antd": "5.19.1",

apps/3001-shop/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# 3001-shop
2+
3+
This is the example application for Module Federation core.
4+
5+
6+
## Build
7+
8+
Output will be located in the `dist` or `.next` folder.
9+
10+
## Installation
11+
12+
```bash
13+
pnpm install
14+
```
15+
16+
## Scripts
17+
18+
- `pnpm start`: Start dev server
19+
- `pnpm build`: Build production bundle
20+
21+
## Links
22+
23+
- [Module Federation Docs](https://module-federation.io/)
24+
25+
## Features
26+
27+
- Remote loading
28+
- Shared dependencies
29+
- Type safety
30+
31+
## Configuration
32+
33+
Check `webpack.config.js` or `next.config.js` for federation settings.
34+
35+
## Description
36+
37+
This package demonstrates a specific use case of Module Federation within the ecosystem.
38+
39+
## Usage
40+
41+
Run the development server and navigate to the provided localhost URL.
42+
43+
---
44+
45+
*Optimized by Aiden*

apps/3001-shop/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@module-federation/3001-shop",
33
"version": "1.0.0",
44
"private": true,
5+
"description": "Federation example for 3001-shop",
56
"dependencies": {
67
"@ant-design/cssinjs": "^1.21.0",
78
"antd": "5.19.1",

apps/3002-checkout/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 3002-checkout
2+
3+
This is the example application for Module Federation core.
4+
5+
6+
## Links
7+
8+
- [Module Federation Docs](https://module-federation.io/)
9+
10+
## Installation
11+
12+
```bash
13+
pnpm install
14+
```

0 commit comments

Comments
 (0)