@module-federation/metro-plugin-rock 2.6.0 → 2.7.0
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/dist/index.cjs +14 -10
- package/dist/index.js +2 -1
- package/dist/plugin.cjs +14 -10
- package/dist/plugin.js +2 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
3
|
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
__webpack_require__.d = (exports1, getters, values)=>{
|
|
5
|
+
var define = (defs, kind)=>{
|
|
6
|
+
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
[kind]: defs[key]
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
define(getters, "get");
|
|
12
|
+
define(values, "value");
|
|
9
13
|
};
|
|
10
14
|
})();
|
|
11
15
|
(()=>{
|
|
@@ -13,7 +17,7 @@ var __webpack_require__ = {};
|
|
|
13
17
|
})();
|
|
14
18
|
(()=>{
|
|
15
19
|
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if (
|
|
20
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
21
|
value: 'Module'
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -24,17 +28,17 @@ var __webpack_require__ = {};
|
|
|
24
28
|
var __webpack_exports__ = {};
|
|
25
29
|
__webpack_require__.r(__webpack_exports__);
|
|
26
30
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
default: ()=>src,
|
|
32
|
+
pluginMetroModuleFederation: ()=>external_plugin_cjs_namespaceObject.pluginMetroModuleFederation
|
|
29
33
|
});
|
|
30
34
|
const external_plugin_cjs_namespaceObject = require("./plugin.cjs");
|
|
31
35
|
const src = external_plugin_cjs_namespaceObject.pluginMetroModuleFederation;
|
|
32
36
|
exports["default"] = __webpack_exports__["default"];
|
|
33
37
|
exports.pluginMetroModuleFederation = __webpack_exports__.pluginMetroModuleFederation;
|
|
34
|
-
for(var
|
|
38
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
35
39
|
"default",
|
|
36
40
|
"pluginMetroModuleFederation"
|
|
37
|
-
].indexOf(
|
|
41
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
38
42
|
Object.defineProperty(exports, '__esModule', {
|
|
39
43
|
value: true
|
|
40
44
|
});
|
package/dist/index.js
CHANGED
package/dist/plugin.cjs
CHANGED
|
@@ -10,11 +10,15 @@ var __webpack_require__ = {};
|
|
|
10
10
|
};
|
|
11
11
|
})();
|
|
12
12
|
(()=>{
|
|
13
|
-
__webpack_require__.d = (exports1,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
__webpack_require__.d = (exports1, getters, values)=>{
|
|
14
|
+
var define = (defs, kind)=>{
|
|
15
|
+
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
[kind]: defs[key]
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
define(getters, "get");
|
|
21
|
+
define(values, "value");
|
|
18
22
|
};
|
|
19
23
|
})();
|
|
20
24
|
(()=>{
|
|
@@ -22,7 +26,7 @@ var __webpack_require__ = {};
|
|
|
22
26
|
})();
|
|
23
27
|
(()=>{
|
|
24
28
|
__webpack_require__.r = (exports1)=>{
|
|
25
|
-
if (
|
|
29
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
26
30
|
value: 'Module'
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -52,7 +56,7 @@ const pluginMetroModuleFederation = (pluginConfig = {})=>(api)=>{
|
|
|
52
56
|
tools_namespaceObject.logger.info(`Bundling Module Federation host for platform ${tools_namespaceObject.color.cyan(args.platform)}`);
|
|
53
57
|
await commands_default().bundleFederatedHost([], commandConfig, args);
|
|
54
58
|
tools_namespaceObject.logger.info('Bundle artifacts available at ...');
|
|
55
|
-
(0, tools_namespaceObject.outro)(
|
|
59
|
+
(0, tools_namespaceObject.outro)('Success 🎉.');
|
|
56
60
|
},
|
|
57
61
|
options: [
|
|
58
62
|
...commands_default().bundleFederatedHostOptions,
|
|
@@ -75,7 +79,7 @@ const pluginMetroModuleFederation = (pluginConfig = {})=>(api)=>{
|
|
|
75
79
|
tools_namespaceObject.logger.info(`Bundling Module Federation remote for platform ${tools_namespaceObject.color.cyan(args.platform)}`);
|
|
76
80
|
await commands_default().bundleFederatedRemote([], commandConfig, args);
|
|
77
81
|
tools_namespaceObject.logger.info('Bundle artifacts available at ...');
|
|
78
|
-
(0, tools_namespaceObject.outro)(
|
|
82
|
+
(0, tools_namespaceObject.outro)('Success 🎉.');
|
|
79
83
|
},
|
|
80
84
|
options: commands_default().bundleFederatedRemoteOptions
|
|
81
85
|
});
|
|
@@ -85,9 +89,9 @@ const pluginMetroModuleFederation = (pluginConfig = {})=>(api)=>{
|
|
|
85
89
|
};
|
|
86
90
|
};
|
|
87
91
|
exports.pluginMetroModuleFederation = __webpack_exports__.pluginMetroModuleFederation;
|
|
88
|
-
for(var
|
|
92
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
89
93
|
"pluginMetroModuleFederation"
|
|
90
|
-
].indexOf(
|
|
94
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
91
95
|
Object.defineProperty(exports, '__esModule', {
|
|
92
96
|
value: true
|
|
93
97
|
});
|
package/dist/plugin.js
CHANGED
|
@@ -14,7 +14,7 @@ const pluginMetroModuleFederation = (pluginConfig = {})=>(api)=>{
|
|
|
14
14
|
logger.info(`Bundling Module Federation host for platform ${color.cyan(args.platform)}`);
|
|
15
15
|
await commands.bundleFederatedHost([], commandConfig, args);
|
|
16
16
|
logger.info('Bundle artifacts available at ...');
|
|
17
|
-
outro(
|
|
17
|
+
outro('Success 🎉.');
|
|
18
18
|
},
|
|
19
19
|
options: [
|
|
20
20
|
...commands.bundleFederatedHostOptions,
|
|
@@ -37,7 +37,7 @@ const pluginMetroModuleFederation = (pluginConfig = {})=>(api)=>{
|
|
|
37
37
|
logger.info(`Bundling Module Federation remote for platform ${color.cyan(args.platform)}`);
|
|
38
38
|
await commands.bundleFederatedRemote([], commandConfig, args);
|
|
39
39
|
logger.info('Bundle artifacts available at ...');
|
|
40
|
-
outro(
|
|
40
|
+
outro('Success 🎉.');
|
|
41
41
|
},
|
|
42
42
|
options: commands.bundleFederatedRemoteOptions
|
|
43
43
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/metro-plugin-rock",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Metro Module Federation plugin for Rock",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rock",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@rock-js/tools": "^0.13.0",
|
|
36
|
-
"@module-federation/metro": "2.
|
|
36
|
+
"@module-federation/metro": "2.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@rock-js/config": "^0.13.0",
|
|
40
40
|
"@rock-js/tools": "^0.13.0",
|
|
41
|
-
"@rslib/core": "^0.
|
|
41
|
+
"@rslib/core": "^0.23.2",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "8.54.0",
|
|
43
43
|
"@typescript-eslint/parser": "8.54.0",
|
|
44
44
|
"@types/node": "^20.0.0",
|
|
45
|
-
"typescript": "^
|
|
46
|
-
"@module-federation/metro": "2.
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"@module-federation/metro": "2.7.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "rslib build",
|