@module-federation/runtime-tools 0.16.0 → 0.17.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/package.json +20 -16
- package/.eslintrc.json +0 -23
- package/.swcrc +0 -29
- package/CHANGELOG.md +0 -1964
- package/jest.config.ts +0 -30
- package/project.json +0 -77
- package/rollup.config.cjs +0 -50
- package/src/index.ts +0 -3
- package/src/runtime-core.ts +0 -1
- package/src/runtime.ts +0 -1
- package/src/webpack-bundler-runtime.ts +0 -1
- package/tsconfig.json +0 -23
- package/tsconfig.lib.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/dist/{index.esm.d.ts → index.d.ts} +0 -0
- /package/dist/{runtime-core.esm.d.ts → runtime-core.d.ts} +0 -0
- /package/dist/{runtime.esm.d.ts → runtime.d.ts} +0 -0
- /package/dist/{webpack-bundler-runtime.esm.d.ts → webpack-bundler-runtime.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,58 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/runtime-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "zhanghang <hanric.zhang@gmail.com>",
|
|
6
6
|
"main": "./dist/index.cjs.cjs",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
8
|
-
"types": "./dist/index.
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/module-federation/core/",
|
|
13
13
|
"directory": "packages/runtime-tools"
|
|
14
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
15
19
|
"publishConfig": {
|
|
16
20
|
"access": "public"
|
|
17
21
|
},
|
|
18
22
|
"exports": {
|
|
19
23
|
".": {
|
|
20
24
|
"import": {
|
|
21
|
-
"types": "./dist/index.
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
22
26
|
"default": "./dist/index.esm.js"
|
|
23
27
|
},
|
|
24
28
|
"require": {
|
|
25
|
-
"types": "./dist/index.
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
26
30
|
"default": "./dist/index.cjs.cjs"
|
|
27
31
|
}
|
|
28
32
|
},
|
|
29
33
|
"./runtime": {
|
|
30
34
|
"import": {
|
|
31
|
-
"types": "./dist/runtime.
|
|
35
|
+
"types": "./dist/runtime.d.ts",
|
|
32
36
|
"default": "./dist/runtime.esm.js"
|
|
33
37
|
},
|
|
34
38
|
"require": {
|
|
35
|
-
"types": "./dist/runtime.
|
|
39
|
+
"types": "./dist/runtime.d.ts",
|
|
36
40
|
"default": "./dist/runtime.cjs.cjs"
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
"./runtime-core": {
|
|
40
44
|
"import": {
|
|
41
|
-
"types": "./dist/runtime-core.
|
|
45
|
+
"types": "./dist/runtime-core.d.ts",
|
|
42
46
|
"default": "./dist/runtime-core.esm.js"
|
|
43
47
|
},
|
|
44
48
|
"require": {
|
|
45
|
-
"types": "./dist/runtime-core.
|
|
49
|
+
"types": "./dist/runtime-core.d.ts",
|
|
46
50
|
"default": "./dist/runtime-core.cjs.cjs"
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
"./webpack-bundler-runtime": {
|
|
50
54
|
"import": {
|
|
51
|
-
"types": "./dist/webpack-bundler-runtime.
|
|
55
|
+
"types": "./dist/webpack-bundler-runtime.d.ts",
|
|
52
56
|
"default": "./dist/webpack-bundler-runtime.esm.js"
|
|
53
57
|
},
|
|
54
58
|
"require": {
|
|
55
|
-
"types": "./dist/webpack-bundler-runtime.
|
|
59
|
+
"types": "./dist/webpack-bundler-runtime.d.ts",
|
|
56
60
|
"default": "./dist/webpack-bundler-runtime.cjs.cjs"
|
|
57
61
|
}
|
|
58
62
|
},
|
|
@@ -61,21 +65,21 @@
|
|
|
61
65
|
"typesVersions": {
|
|
62
66
|
"*": {
|
|
63
67
|
".": [
|
|
64
|
-
"./dist/index.
|
|
68
|
+
"./dist/index.d.ts"
|
|
65
69
|
],
|
|
66
70
|
"runtime": [
|
|
67
|
-
"./dist/runtime.
|
|
71
|
+
"./dist/runtime.d.ts"
|
|
68
72
|
],
|
|
69
73
|
"webpack-bundler-runtime": [
|
|
70
|
-
"./dist/webpack-bundler-runtime.
|
|
74
|
+
"./dist/webpack-bundler-runtime.d.ts"
|
|
71
75
|
],
|
|
72
76
|
"runtime-core": [
|
|
73
|
-
"./dist/runtime-core.
|
|
77
|
+
"./dist/runtime-core.d.ts"
|
|
74
78
|
]
|
|
75
79
|
}
|
|
76
80
|
},
|
|
77
81
|
"dependencies": {
|
|
78
|
-
"@module-federation/runtime": "0.
|
|
79
|
-
"@module-federation/
|
|
82
|
+
"@module-federation/webpack-bundler-runtime": "0.17.1",
|
|
83
|
+
"@module-federation/runtime": "0.17.1"
|
|
80
84
|
}
|
|
81
85
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["../../.eslintrc.json"],
|
|
3
|
-
"ignorePatterns": ["!**/*"],
|
|
4
|
-
"overrides": [
|
|
5
|
-
{
|
|
6
|
-
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
7
|
-
"rules": {}
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"files": ["*.ts", "*.tsx"],
|
|
11
|
-
"rules": {}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"files": ["*.js", "*.jsx"],
|
|
15
|
-
"rules": {}
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"files": ["*.json"],
|
|
19
|
-
"parser": "jsonc-eslint-parser",
|
|
20
|
-
"rules": {}
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
}
|
package/.swcrc
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"jsc": {
|
|
3
|
-
"target": "es2017",
|
|
4
|
-
"parser": {
|
|
5
|
-
"syntax": "typescript",
|
|
6
|
-
"decorators": true,
|
|
7
|
-
"dynamicImport": true
|
|
8
|
-
},
|
|
9
|
-
"transform": {
|
|
10
|
-
"decoratorMetadata": true,
|
|
11
|
-
"legacyDecorator": true
|
|
12
|
-
},
|
|
13
|
-
"keepClassNames": true,
|
|
14
|
-
"externalHelpers": false,
|
|
15
|
-
"loose": true
|
|
16
|
-
},
|
|
17
|
-
"module": {
|
|
18
|
-
"type": "es6"
|
|
19
|
-
},
|
|
20
|
-
"sourceMaps": true,
|
|
21
|
-
"exclude": [
|
|
22
|
-
"jest.config.ts",
|
|
23
|
-
".*\\.spec.tsx?$",
|
|
24
|
-
".*\\.test.tsx?$",
|
|
25
|
-
"./src/jest-setup.ts$",
|
|
26
|
-
"./**/jest-setup.ts$",
|
|
27
|
-
".*.js$"
|
|
28
|
-
]
|
|
29
|
-
}
|