@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 CHANGED
@@ -1,58 +1,62 @@
1
1
  {
2
2
  "name": "@module-federation/runtime-tools",
3
- "version": "0.16.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.cjs.d.ts",
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.esm.d.ts",
25
+ "types": "./dist/index.d.ts",
22
26
  "default": "./dist/index.esm.js"
23
27
  },
24
28
  "require": {
25
- "types": "./dist/index.cjs.d.ts",
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.esm.d.ts",
35
+ "types": "./dist/runtime.d.ts",
32
36
  "default": "./dist/runtime.esm.js"
33
37
  },
34
38
  "require": {
35
- "types": "./dist/runtime.cjs.d.ts",
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.esm.d.ts",
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.cjs.d.ts",
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.esm.d.ts",
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.cjs.d.ts",
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.cjs.d.ts"
68
+ "./dist/index.d.ts"
65
69
  ],
66
70
  "runtime": [
67
- "./dist/runtime.cjs.d.ts"
71
+ "./dist/runtime.d.ts"
68
72
  ],
69
73
  "webpack-bundler-runtime": [
70
- "./dist/webpack-bundler-runtime.cjs.d.ts"
74
+ "./dist/webpack-bundler-runtime.d.ts"
71
75
  ],
72
76
  "runtime-core": [
73
- "./dist/runtime-core.cjs.d.ts"
77
+ "./dist/runtime-core.d.ts"
74
78
  ]
75
79
  }
76
80
  },
77
81
  "dependencies": {
78
- "@module-federation/runtime": "0.16.0",
79
- "@module-federation/webpack-bundler-runtime": "0.16.0"
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
- }