@module-federation/bridge-react 0.0.0-next-20250704061325 → 0.0.0-next-20250707074728
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 +4 -4
- package/dist/plugin.d.ts +4 -4
- package/package.json +4 -4
- package/src/provider/plugin.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @module-federation/bridge-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20250707074728
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- chore:
|
|
8
|
-
- @module-federation/sdk@0.0.0-next-
|
|
9
|
-
- @module-federation/bridge-shared@0.0.0-next-
|
|
7
|
+
- f1834fa: chore: rename FederationHost to ModuleFederation
|
|
8
|
+
- @module-federation/sdk@0.0.0-next-20250707074728
|
|
9
|
+
- @module-federation/bridge-shared@0.0.0-next-20250707074728
|
|
10
10
|
|
|
11
11
|
## 0.16.0
|
|
12
12
|
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ModuleFederation } from '@module-federation/runtime';
|
|
2
|
+
import { ModuleFederationRuntimePlugin } from '@module-federation/runtime';
|
|
3
3
|
|
|
4
|
-
declare function BridgeReactPlugin():
|
|
4
|
+
declare function BridgeReactPlugin(): ModuleFederationRuntimePlugin;
|
|
5
5
|
export default BridgeReactPlugin;
|
|
6
6
|
|
|
7
7
|
export declare const federationRuntime: FederationRuntimeType;
|
|
8
8
|
|
|
9
9
|
export declare type FederationRuntimeType = {
|
|
10
|
-
instance:
|
|
10
|
+
instance: ModuleFederation | null;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/bridge-react",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250707074728",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"react-error-boundary": "^4.1.2",
|
|
58
|
-
"@module-federation/bridge-shared": "0.0.0-next-
|
|
59
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
58
|
+
"@module-federation/bridge-shared": "0.0.0-next-20250707074728",
|
|
59
|
+
"@module-federation/sdk": "0.0.0-next-20250707074728"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react": ">=16.9.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"typescript": "^5.2.2",
|
|
78
78
|
"vite": "^5.4.18",
|
|
79
79
|
"vite-plugin-dts": "^4.3.0",
|
|
80
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
80
|
+
"@module-federation/runtime": "0.0.0-next-20250707074728"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"dev": "vite",
|
package/src/provider/plugin.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ModuleFederationRuntimePlugin,
|
|
3
|
+
ModuleFederation,
|
|
4
4
|
} from '@module-federation/runtime';
|
|
5
5
|
|
|
6
6
|
export type FederationRuntimeType = {
|
|
7
|
-
instance:
|
|
7
|
+
instance: ModuleFederation | null;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export const federationRuntime: FederationRuntimeType = { instance: null };
|
|
11
11
|
|
|
12
|
-
function BridgeReactPlugin():
|
|
12
|
+
function BridgeReactPlugin(): ModuleFederationRuntimePlugin {
|
|
13
13
|
return {
|
|
14
14
|
name: 'bridge-react-plugin',
|
|
15
15
|
beforeInit(args) {
|