@module-federation/runtime-tools 0.0.0-docs-remove-invalid-lark-link-20251205062649

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present zhouxiao(zhoushaw)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # `@module-federation/runtime-tools`
2
+
3
+ Module federation runtime package collection. You can just install it instead of installing all the packages separately.
4
+
5
+ It includes the following packages:
6
+
7
+ - `@module-federation/runtime`
8
+ - `@module-federation/webpack-bundler-runtime`
9
+
10
+ Usage
11
+
12
+ ```bash
13
+ npm install @module-federation/runtime-tools
14
+ ```
15
+
16
+ - import runtime
17
+
18
+ ```ts
19
+ import runtime from '@module-federation/runtime-tools';
20
+ import runtime from '@module-federation/runtime-tools/runtime';
21
+ ```
22
+
23
+ - import webpack bundler runtime
24
+
25
+ ```ts
26
+ import webpackBundlerRuntime from '@module-federation/runtime-tools/webpack-bundler-runtime';
27
+ ```
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('@module-federation/runtime');
6
+
7
+ function _interopNamespaceDefault(e) {
8
+ var n = Object.create(null);
9
+ if (e) {
10
+ for (var k in e) {
11
+ n[k] = e[k];
12
+ }
13
+ }
14
+ n.default = e;
15
+ return Object.freeze(n);
16
+ }
17
+
18
+ var runtime__namespace = /*#__PURE__*/_interopNamespaceDefault(runtime);
19
+
20
+
21
+
22
+ exports.default = runtime__namespace;
23
+ Object.prototype.hasOwnProperty.call(runtime, '__proto__') &&
24
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
25
+ Object.defineProperty(exports, '__proto__', {
26
+ enumerable: true,
27
+ value: runtime['__proto__']
28
+ });
29
+
30
+ Object.keys(runtime).forEach(function (k) {
31
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtime[k];
32
+ });
33
+ //# sourceMappingURL=index.cjs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from "./src/index";
2
+ export { default } from "./src/index";
@@ -0,0 +1,2 @@
1
+ export * from "./src/index";
2
+ export { default } from "./src/index";
@@ -0,0 +1,4 @@
1
+ export * from '@module-federation/runtime';
2
+ import * as runtime from '@module-federation/runtime';
3
+ export { runtime as default };
4
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var core = require('@module-federation/runtime/core');
4
+
5
+
6
+
7
+ Object.prototype.hasOwnProperty.call(core, '__proto__') &&
8
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
+ Object.defineProperty(exports, '__proto__', {
10
+ enumerable: true,
11
+ value: core['__proto__']
12
+ });
13
+
14
+ Object.keys(core).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
16
+ });
17
+ //# sourceMappingURL=runtime-core.cjs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-core.cjs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from "./src/runtime-core";
@@ -0,0 +1 @@
1
+ export * from "./src/runtime-core";
@@ -0,0 +1,2 @@
1
+ export * from '@module-federation/runtime/core';
2
+ //# sourceMappingURL=runtime-core.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-core.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var runtime = require('@module-federation/runtime');
4
+
5
+
6
+
7
+ Object.prototype.hasOwnProperty.call(runtime, '__proto__') &&
8
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
+ Object.defineProperty(exports, '__proto__', {
10
+ enumerable: true,
11
+ value: runtime['__proto__']
12
+ });
13
+
14
+ Object.keys(runtime).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtime[k];
16
+ });
17
+ //# sourceMappingURL=runtime.cjs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.cjs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from "./src/runtime";
@@ -0,0 +1 @@
1
+ export * from "./src/runtime";
@@ -0,0 +1,2 @@
1
+ export * from '@module-federation/runtime';
2
+ //# sourceMappingURL=runtime.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import * as runtime from '@module-federation/runtime';
2
+ export { runtime as default };
3
+ export * from '@module-federation/runtime';
@@ -0,0 +1 @@
1
+ export * from '@module-federation/runtime/core';
@@ -0,0 +1 @@
1
+ export * from '@module-federation/runtime';
@@ -0,0 +1 @@
1
+ export { default } from '@module-federation/webpack-bundler-runtime';
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var webpackBundlerRuntime = require('@module-federation/webpack-bundler-runtime');
4
+
5
+
6
+
7
+ module.exports = webpackBundlerRuntime;
8
+ //# sourceMappingURL=webpack-bundler-runtime.cjs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpack-bundler-runtime.cjs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from "./src/webpack-bundler-runtime";
2
+ export { default } from "./src/webpack-bundler-runtime";
@@ -0,0 +1,2 @@
1
+ export * from "./src/webpack-bundler-runtime";
2
+ export { default } from "./src/webpack-bundler-runtime";
@@ -0,0 +1,2 @@
1
+ export { default } from '@module-federation/webpack-bundler-runtime';
2
+ //# sourceMappingURL=webpack-bundler-runtime.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpack-bundler-runtime.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "@module-federation/runtime-tools",
3
+ "version": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
4
+ "type": "module",
5
+ "author": "zhanghang <hanric.zhang@gmail.com>",
6
+ "main": "./dist/index.cjs.cjs",
7
+ "module": "./dist/index.esm.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/module-federation/core.git",
13
+ "directory": "packages/runtime-tools"
14
+ },
15
+ "files": [
16
+ "dist/",
17
+ "README.md"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.esm.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.cjs.cjs"
31
+ }
32
+ },
33
+ "./runtime": {
34
+ "import": {
35
+ "types": "./dist/runtime.d.ts",
36
+ "default": "./dist/runtime.esm.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/runtime.d.ts",
40
+ "default": "./dist/runtime.cjs.cjs"
41
+ }
42
+ },
43
+ "./runtime-core": {
44
+ "import": {
45
+ "types": "./dist/runtime-core.d.ts",
46
+ "default": "./dist/runtime-core.esm.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/runtime-core.d.ts",
50
+ "default": "./dist/runtime-core.cjs.cjs"
51
+ }
52
+ },
53
+ "./webpack-bundler-runtime": {
54
+ "import": {
55
+ "types": "./dist/webpack-bundler-runtime.d.ts",
56
+ "default": "./dist/webpack-bundler-runtime.esm.js"
57
+ },
58
+ "require": {
59
+ "types": "./dist/webpack-bundler-runtime.d.ts",
60
+ "default": "./dist/webpack-bundler-runtime.cjs.cjs"
61
+ }
62
+ },
63
+ "./*": "./*"
64
+ },
65
+ "typesVersions": {
66
+ "*": {
67
+ ".": [
68
+ "./dist/index.d.ts"
69
+ ],
70
+ "runtime": [
71
+ "./dist/runtime.d.ts"
72
+ ],
73
+ "webpack-bundler-runtime": [
74
+ "./dist/webpack-bundler-runtime.d.ts"
75
+ ],
76
+ "runtime-core": [
77
+ "./dist/runtime-core.d.ts"
78
+ ]
79
+ }
80
+ },
81
+ "dependencies": {
82
+ "@module-federation/runtime": "0.0.0-docs-remove-invalid-lark-link-20251205062649",
83
+ "@module-federation/webpack-bundler-runtime": "0.0.0-docs-remove-invalid-lark-link-20251205062649"
84
+ }
85
+ }