@cabloy/cli 3.0.60 → 3.0.62
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/lib/commands.js +1 -1
- package/dist/start.js +2 -2
- package/package.json +3 -3
package/dist/lib/commands.js
CHANGED
|
@@ -26,7 +26,7 @@ async function _collectCommands() {
|
|
|
26
26
|
const sets = commandsConfig.sets[process.env.CabloyCliBrandName];
|
|
27
27
|
for (const setName in sets) {
|
|
28
28
|
const setModuleName = sets[setName];
|
|
29
|
-
const setModule = await import(__rewriteRelativeImportExtension(setModuleName));
|
|
29
|
+
const setModule = await import(__rewriteRelativeImportExtension(setModuleName)); // 270ms
|
|
30
30
|
const commands = setModule.commands;
|
|
31
31
|
if (!commands)
|
|
32
32
|
continue;
|
package/dist/start.js
CHANGED
|
@@ -54,8 +54,8 @@ export class CabloyCommand extends CommonBin {
|
|
|
54
54
|
}
|
|
55
55
|
const command = new CliCommand(rawArgv, { meta, argv });
|
|
56
56
|
await command[DISPATCH]();
|
|
57
|
-
// force exit
|
|
58
|
-
process.exit(0);
|
|
57
|
+
// need not force exit
|
|
58
|
+
// process.exit(0);
|
|
59
59
|
}
|
|
60
60
|
_prepareCliFullName(cliName) {
|
|
61
61
|
if (!cliName) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.62",
|
|
5
5
|
"description": "@cabloy/cli",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/parser": "^7.26.5",
|
|
30
|
-
"@cabloy/module-glob": "^5.2.
|
|
30
|
+
"@cabloy/module-glob": "^5.2.33",
|
|
31
31
|
"@cabloy/module-info": "^1.3.31",
|
|
32
32
|
"@cabloy/process-helper": "^2.0.21",
|
|
33
|
-
"@cabloy/utils": "^1.0.
|
|
33
|
+
"@cabloy/utils": "^1.0.48",
|
|
34
34
|
"@cabloy/word-utils": "^2.0.1",
|
|
35
35
|
"@npmcli/config": "^10.4.2",
|
|
36
36
|
"@zhennann/common-bin": "^4.0.0",
|