@module-federation/runtime 1.0.0-canary.1
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/helpers.cjs.d.ts +2 -0
- package/helpers.cjs.js +33 -0
- package/helpers.esm.js +31 -0
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +1927 -0
- package/index.esm.js +1917 -0
- package/package.json +40 -0
- package/share.cjs.js +782 -0
- package/share.esm.js +741 -0
- package/src/constant.d.ts +2 -0
- package/src/core.d.ts +113 -0
- package/src/global.d.ts +57 -0
- package/src/helpers.d.ts +32 -0
- package/src/index.d.ts +10 -0
- package/src/module/index.d.ts +25 -0
- package/src/plugins/generate-preload-assets.d.ts +8 -0
- package/src/plugins/snapshot/SnapshotHandler.d.ts +43 -0
- package/src/plugins/snapshot/index.d.ts +5 -0
- package/src/type/config.d.ts +94 -0
- package/src/type/index.d.ts +3 -0
- package/src/type/plugin.d.ts +20 -0
- package/src/type/preload.d.ts +25 -0
- package/src/types.d.ts +1 -0
- package/src/utils/dom.d.ts +8 -0
- package/src/utils/env.d.ts +4 -0
- package/src/utils/hooks/asyncHook.d.ts +6 -0
- package/src/utils/hooks/asyncWaterfallHooks.d.ts +10 -0
- package/src/utils/hooks/index.d.ts +6 -0
- package/src/utils/hooks/pluginSystem.d.ts +15 -0
- package/src/utils/hooks/syncHook.d.ts +12 -0
- package/src/utils/hooks/syncWaterfallHook.d.ts +9 -0
- package/src/utils/index.d.ts +6 -0
- package/src/utils/load.d.ts +17 -0
- package/src/utils/logger.d.ts +3 -0
- package/src/utils/manifest.d.ts +9 -0
- package/src/utils/plugin.d.ts +4 -0
- package/src/utils/preload.d.ts +6 -0
- package/src/utils/semver/compare.d.ts +9 -0
- package/src/utils/semver/constants.d.ts +10 -0
- package/src/utils/semver/index.d.ts +2 -0
- package/src/utils/semver/parser.d.ts +9 -0
- package/src/utils/semver/utils.d.ts +11 -0
- package/src/utils/share.d.ts +7 -0
- package/src/utils/tool.d.ts +12 -0
- package/type.cjs.d.ts +1 -0
- package/type.cjs.js +2 -0
- package/type.esm.js +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@module-federation/runtime",
|
|
3
|
+
"version": "1.0.0-canary.1",
|
|
4
|
+
"author": "zhouxiao <codingzx@gmail.com>",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"main": "./index.cjs.js",
|
|
7
|
+
"module": "./index.esm.js",
|
|
8
|
+
"types": "./index.cjs.d.ts",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./index.cjs.js",
|
|
15
|
+
"require": "./index.esm.js"
|
|
16
|
+
},
|
|
17
|
+
"./helpers": {
|
|
18
|
+
"import": "./helpers.esm.js",
|
|
19
|
+
"require": "./helpers.cjs.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": "./*"
|
|
22
|
+
},
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"*": {
|
|
25
|
+
".": [
|
|
26
|
+
"./index.cjs.d.ts"
|
|
27
|
+
],
|
|
28
|
+
"helpers": [
|
|
29
|
+
"./helpers.cjs.d.ts"
|
|
30
|
+
],
|
|
31
|
+
"type": [
|
|
32
|
+
"./types.cjs.d.ts"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@module-federation/sdk": "1.0.0-canary.3"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {}
|
|
40
|
+
}
|