Skip to content

Commit 32f26af

Browse files
fix(node): allow fetch override on runtime plugin (#2603)
Co-authored-by: ScriptedAlchemy <[email protected]> Co-authored-by: Matteo Pietro Dazzi <[email protected]>
1 parent 1776c74 commit 32f26af

File tree

10 files changed

+551
-798
lines changed

10 files changed

+551
-798
lines changed

.changeset/beige-impalas-brake.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+
allow global fetch override for node

.changeset/seven-moons-sort.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+
allow fetch override on runtime plugin with globalThis.webpackChunkLoad

.changeset/thick-cups-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+
fix fetch hook types on runtime plugin interfaces

.changeset/warm-forks-collect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/node': minor
3+
---
4+
5+
fetch hook supported in node runtime plugin

.changeset/wild-pillows-help.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+
refactor node fetch functions to call fetch hook from runtime plugin

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"docs": "typedoc",
2525
"lint": "nx run-many --target=lint",
2626
"test": "nx run-many --target=test",
27-
"build": "nx run-many --target=build --parallel=3 --projects=tag:type:pkg",
27+
"build": "nx run-many --target=build --parallel=5 --projects=tag:type:pkg",
2828
"build:pkg": "nx run-many --targets=build --projects=tag:type:pkg --skip-nx-cache",
2929
"lint-fix": "nx format:write --uncommitted",
3030
"trigger-release": "node -e 'import(\"open\").then(open => open.default(\"https://github.com/module-federation/core/actions/workflows/trigger-release.yml\"))'",
@@ -209,7 +209,7 @@
209209
"ts-jest": "29.1.2",
210210
"tslib": "2.6.2",
211211
"tsup": "7.2.0",
212-
"typescript": "5.3.3",
212+
"typescript": "5.5.2",
213213
"url-loader": "4.1.1",
214214
"verdaccio": "5.29.2",
215215
"vinyl-fs": "4.0.0",

0 commit comments

Comments
 (0)