@module-federation/cli 2.3.0 → 2.3.2
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/cli.js +2 -2
- package/dist/utils/logger.js +6 -16
- package/package.json +3 -4
package/dist/cli.js
CHANGED
|
@@ -98,10 +98,10 @@ function cli(cliOptions) {
|
|
|
98
98
|
function runCli(options) {
|
|
99
99
|
const normalizedOptions = {
|
|
100
100
|
loggerPrefix: logger_js_namespaceObject.PREFIX,
|
|
101
|
-
welcomeMsg: `${`Module Federation v${"2.3.
|
|
101
|
+
welcomeMsg: `${`Module Federation v${"2.3.2"}`}\n`,
|
|
102
102
|
name: 'mf',
|
|
103
103
|
readConfig: readConfig_js_namespaceObject.readConfig,
|
|
104
|
-
version: "2.3.
|
|
104
|
+
version: "2.3.2",
|
|
105
105
|
applyCommands: ()=>{},
|
|
106
106
|
...options
|
|
107
107
|
};
|
package/dist/utils/logger.js
CHANGED
|
@@ -10,18 +10,6 @@ const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
|
|
|
10
10
|
var __webpack_require__ = {};
|
|
11
11
|
|
|
12
12
|
/************************************************************************/
|
|
13
|
-
// webpack/runtime/compat_get_default_export
|
|
14
|
-
(() => {
|
|
15
|
-
// getDefaultExport function for compatibility with non-ESM modules
|
|
16
|
-
__webpack_require__.n = (module) => {
|
|
17
|
-
var getter = module && module.__esModule ?
|
|
18
|
-
() => (module['default']) :
|
|
19
|
-
() => (module);
|
|
20
|
-
__webpack_require__.d(getter, { a: getter });
|
|
21
|
-
return getter;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
})();
|
|
25
13
|
// webpack/runtime/define_property_getters
|
|
26
14
|
(() => {
|
|
27
15
|
__webpack_require__.d = (exports, definition) => {
|
|
@@ -57,16 +45,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
57
45
|
"default": () => (/* binding */ utils_logger)
|
|
58
46
|
});
|
|
59
47
|
|
|
48
|
+
;// CONCATENATED MODULE: external "node:util"
|
|
49
|
+
const external_node_util_namespaceObject = require("node:util");
|
|
60
50
|
;// CONCATENATED MODULE: external "@module-federation/sdk"
|
|
61
51
|
const sdk_namespaceObject = require("@module-federation/sdk");
|
|
62
|
-
;// CONCATENATED MODULE: external "chalk"
|
|
63
|
-
const external_chalk_namespaceObject = require("chalk");
|
|
64
|
-
var external_chalk_default = /*#__PURE__*/__webpack_require__.n(external_chalk_namespaceObject);
|
|
65
52
|
;// CONCATENATED MODULE: ./src/utils/logger.ts
|
|
66
53
|
|
|
67
54
|
|
|
68
55
|
const PREFIX = '[ Module Federation CLI ]';
|
|
69
|
-
const logger = (0,sdk_namespaceObject.createLogger)(
|
|
56
|
+
const logger = (0,sdk_namespaceObject.createLogger)((0,external_node_util_namespaceObject.styleText)([
|
|
57
|
+
'bold',
|
|
58
|
+
'cyan'
|
|
59
|
+
], PREFIX));
|
|
70
60
|
/* ESM default export */ const utils_logger = (logger);
|
|
71
61
|
|
|
72
62
|
exports.PREFIX = __webpack_exports__.PREFIX;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Module Federation CLI",
|
|
6
6
|
"homepage": "https://module-federation.io",
|
|
@@ -24,10 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"commander": "11.1.0",
|
|
27
|
-
"chalk": "3.0.0",
|
|
28
27
|
"jiti": "2.4.2",
|
|
29
|
-
"@module-federation/sdk": "2.3.
|
|
30
|
-
"@module-federation/dts-plugin": "2.3.
|
|
28
|
+
"@module-federation/sdk": "2.3.2",
|
|
29
|
+
"@module-federation/dts-plugin": "2.3.2"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@types/node": "^20.19.5"
|