@empjs/share 3.6.0-beta.1 → 3.6.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empjs/share",
3
- "version": "3.6.0-beta.1",
3
+ "version": "3.6.0-beta.2",
4
4
  "description": "emp share and runtime",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -91,16 +91,17 @@
91
91
  },
92
92
  "author": "Ken",
93
93
  "dependencies": {
94
- "@empjs/module-federation-enhanced": "0.8.9-emp.1",
94
+ "@module-federation/enhanced": "0.6.10",
95
+ "@module-federation/sdk": "0.6.10",
96
+ "@empjs/module-federation-runtime": "0.6.10-emp.2",
95
97
  "core-js": "^3.40.0"
96
98
  },
97
99
  "devDependencies": {
98
- "@rspack/core": "^1.0.9",
99
- "@swc/core": "^1.4.14",
100
+ "@swc/core": "^1.10.8",
100
101
  "serve": "^14.2.1",
101
102
  "tsup": "^8.3.5",
102
103
  "typescript": "^5.5.4",
103
- "@empjs/cli": "3.6.0-beta.1"
104
+ "@empjs/cli": "3.6.0-beta.2"
104
105
  },
105
106
  "scripts": {
106
107
  "dev": "pnpm --filter @empjs/share run /^dev:.*/",
@@ -1,21 +0,0 @@
1
- import * as _empjs_module_federation_enhanced_runtime from '@empjs/module-federation-enhanced/runtime';
2
- import * as MFSDK from '@empjs/module-federation-enhanced/sdk';
3
-
4
- type EMPShareRuntimeType = {
5
- MFRuntime: Required<typeof _empjs_module_federation_enhanced_runtime>;
6
- MFSDK: Required<typeof MFSDK>;
7
- };
8
- type EMPShareRuntimeAdapterReactType = {
9
- React?: any;
10
- ReactDOM?: any;
11
- createRoot?: any;
12
- hydrateRoot?: any;
13
- scope: string;
14
- };
15
- type InitOptionsType = Parameters<typeof _empjs_module_federation_enhanced_runtime.init>[0];
16
- type LoadRemoteType = Parameters<typeof _empjs_module_federation_enhanced_runtime.loadRemote>;
17
- type EmpRuntimeOptions = {
18
- showLog?: boolean;
19
- };
20
-
21
- export type { EMPShareRuntimeType as E, InitOptionsType as I, LoadRemoteType as L, EmpRuntimeOptions as a, EMPShareRuntimeAdapterReactType as b };
@@ -1,21 +0,0 @@
1
- import * as _empjs_module_federation_enhanced_runtime from '@empjs/module-federation-enhanced/runtime';
2
- import * as MFSDK from '@empjs/module-federation-enhanced/sdk';
3
-
4
- type EMPShareRuntimeType = {
5
- MFRuntime: Required<typeof _empjs_module_federation_enhanced_runtime>;
6
- MFSDK: Required<typeof MFSDK>;
7
- };
8
- type EMPShareRuntimeAdapterReactType = {
9
- React?: any;
10
- ReactDOM?: any;
11
- createRoot?: any;
12
- hydrateRoot?: any;
13
- scope: string;
14
- };
15
- type InitOptionsType = Parameters<typeof _empjs_module_federation_enhanced_runtime.init>[0];
16
- type LoadRemoteType = Parameters<typeof _empjs_module_federation_enhanced_runtime.loadRemote>;
17
- type EmpRuntimeOptions = {
18
- showLog?: boolean;
19
- };
20
-
21
- export type { EMPShareRuntimeType as E, InitOptionsType as I, LoadRemoteType as L, EmpRuntimeOptions as a, EMPShareRuntimeAdapterReactType as b };