@teambit/cli 0.0.1305 → 0.0.1306
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.d.ts +1 -0
- package/dist/index.js +71 -1
- package/dist/index.js.map +1 -1
- package/dist/output-formatter.d.ts +20 -0
- package/dist/output-formatter.js +82 -0
- package/dist/output-formatter.js.map +1 -0
- package/dist/{preview-1774552192320.js → preview-1774645620266.js} +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export { defaultErrorHandler };
|
|
|
9
9
|
export type { Command, CLIArgs, Flags, GenericObject, CommandOptions } from './command';
|
|
10
10
|
export { getArgsData, getCommandName, getFlagsData } from './command-helper';
|
|
11
11
|
export * from './exceptions';
|
|
12
|
+
export { successSymbol, warnSymbol, errorSymbol, formatItem, formatSection, formatHint, formatSuccessSummary, formatWarningSummary, joinSections, } from './output-formatter';
|
|
12
13
|
export { CLIAspect as default, MainRuntime, CLIAspect };
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,16 @@ var _exportNames = {
|
|
|
14
14
|
setExitOnUnhandledRejection: true,
|
|
15
15
|
getArgsData: true,
|
|
16
16
|
getCommandName: true,
|
|
17
|
-
getFlagsData: true
|
|
17
|
+
getFlagsData: true,
|
|
18
|
+
successSymbol: true,
|
|
19
|
+
warnSymbol: true,
|
|
20
|
+
errorSymbol: true,
|
|
21
|
+
formatItem: true,
|
|
22
|
+
formatSection: true,
|
|
23
|
+
formatHint: true,
|
|
24
|
+
formatSuccessSummary: true,
|
|
25
|
+
formatWarningSummary: true,
|
|
26
|
+
joinSections: true
|
|
18
27
|
};
|
|
19
28
|
Object.defineProperty(exports, "CLIAspect", {
|
|
20
29
|
enumerable: true,
|
|
@@ -46,6 +55,42 @@ Object.defineProperty(exports, "defaultErrorHandler", {
|
|
|
46
55
|
return _defaultErrorHandler().default;
|
|
47
56
|
}
|
|
48
57
|
});
|
|
58
|
+
Object.defineProperty(exports, "errorSymbol", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () {
|
|
61
|
+
return _outputFormatter().errorSymbol;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "formatHint", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () {
|
|
67
|
+
return _outputFormatter().formatHint;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "formatItem", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () {
|
|
73
|
+
return _outputFormatter().formatItem;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "formatSection", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () {
|
|
79
|
+
return _outputFormatter().formatSection;
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "formatSuccessSummary", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () {
|
|
85
|
+
return _outputFormatter().formatSuccessSummary;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "formatWarningSummary", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return _outputFormatter().formatWarningSummary;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
49
94
|
Object.defineProperty(exports, "getArgsData", {
|
|
50
95
|
enumerable: true,
|
|
51
96
|
get: function () {
|
|
@@ -82,12 +127,30 @@ Object.defineProperty(exports, "handleUnhandledRejection", {
|
|
|
82
127
|
return _handleErrors().handleUnhandledRejection;
|
|
83
128
|
}
|
|
84
129
|
});
|
|
130
|
+
Object.defineProperty(exports, "joinSections", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () {
|
|
133
|
+
return _outputFormatter().joinSections;
|
|
134
|
+
}
|
|
135
|
+
});
|
|
85
136
|
Object.defineProperty(exports, "setExitOnUnhandledRejection", {
|
|
86
137
|
enumerable: true,
|
|
87
138
|
get: function () {
|
|
88
139
|
return _handleErrors().setExitOnUnhandledRejection;
|
|
89
140
|
}
|
|
90
141
|
});
|
|
142
|
+
Object.defineProperty(exports, "successSymbol", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () {
|
|
145
|
+
return _outputFormatter().successSymbol;
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "warnSymbol", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () {
|
|
151
|
+
return _outputFormatter().warnSymbol;
|
|
152
|
+
}
|
|
153
|
+
});
|
|
91
154
|
function _cli() {
|
|
92
155
|
const data = require("./cli.aspect");
|
|
93
156
|
_cli = function () {
|
|
@@ -142,6 +205,13 @@ Object.keys(_exceptions).forEach(function (key) {
|
|
|
142
205
|
}
|
|
143
206
|
});
|
|
144
207
|
});
|
|
208
|
+
function _outputFormatter() {
|
|
209
|
+
const data = require("./output-formatter");
|
|
210
|
+
_outputFormatter = function () {
|
|
211
|
+
return data;
|
|
212
|
+
};
|
|
213
|
+
return data;
|
|
214
|
+
}
|
|
145
215
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
146
216
|
|
|
147
217
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cli","data","require","_globalFlags","_interopRequireDefault","_defaultErrorHandler","_cliParser","_handleErrors","_commandHelper","_exceptions","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","e","__esModule","default"],"sources":["index.ts"],"sourcesContent":["import { CLIAspect, MainRuntime } from './cli.aspect';\nimport globalFlags from './global-flags';\nimport defaultErrorHandler from './default-error-handler';\nexport { CLIParser } from './cli-parser';\nexport type { CLIMain, CommandList, CommandsSlot } from './cli.main.runtime';\nexport { handleUnhandledRejection, handleErrorAndExit, setExitOnUnhandledRejection } from './handle-errors';\nexport { globalFlags };\nexport { defaultErrorHandler };\nexport type { Command, CLIArgs, Flags, GenericObject, CommandOptions } from './command';\nexport { getArgsData, getCommandName, getFlagsData } from './command-helper';\nexport * from './exceptions';\n\nexport { CLIAspect as default, MainRuntime, CLIAspect };\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_globalFlags","_interopRequireDefault","_defaultErrorHandler","_cliParser","_handleErrors","_commandHelper","_exceptions","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_outputFormatter","e","__esModule","default"],"sources":["index.ts"],"sourcesContent":["import { CLIAspect, MainRuntime } from './cli.aspect';\nimport globalFlags from './global-flags';\nimport defaultErrorHandler from './default-error-handler';\nexport { CLIParser } from './cli-parser';\nexport type { CLIMain, CommandList, CommandsSlot } from './cli.main.runtime';\nexport { handleUnhandledRejection, handleErrorAndExit, setExitOnUnhandledRejection } from './handle-errors';\nexport { globalFlags };\nexport { defaultErrorHandler };\nexport type { Command, CLIArgs, Flags, GenericObject, CommandOptions } from './command';\nexport { getArgsData, getCommandName, getFlagsData } from './command-helper';\nexport * from './exceptions';\n\nexport {\n successSymbol,\n warnSymbol,\n errorSymbol,\n formatItem,\n formatSection,\n formatHint,\n formatSuccessSummary,\n formatWarningSummary,\n joinSections,\n} from './output-formatter';\n\nexport { CLIAspect as default, MainRuntime, CLIAspect };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,aAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,YAAA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AAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare function successSymbol(): string;
|
|
2
|
+
/** Yellow warning symbol */
|
|
3
|
+
export declare const warnSymbol: string;
|
|
4
|
+
/** Red error symbol */
|
|
5
|
+
export declare const errorSymbol: string;
|
|
6
|
+
/** Format a single item with 3-space indent + symbol + text. Defaults to success symbol. */
|
|
7
|
+
export declare function formatItem(text: string, symbol?: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Format a section with bold white title (including item count), dim description, and items.
|
|
10
|
+
* Returns empty string if items array is empty.
|
|
11
|
+
*/
|
|
12
|
+
export declare function formatSection(title: string, description: string, items: string[]): string;
|
|
13
|
+
/** Format hint text in dim color */
|
|
14
|
+
export declare function formatHint(text: string): string;
|
|
15
|
+
/** Format a success summary: green checkmark + green message */
|
|
16
|
+
export declare function formatSuccessSummary(msg: string): string;
|
|
17
|
+
/** Format a warning summary: warning symbol + yellow message */
|
|
18
|
+
export declare function formatWarningSummary(msg: string): string;
|
|
19
|
+
/** Filter out empty strings and join remaining sections with double newlines */
|
|
20
|
+
export declare function joinSections(sections: string[]): string;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.errorSymbol = void 0;
|
|
7
|
+
exports.formatHint = formatHint;
|
|
8
|
+
exports.formatItem = formatItem;
|
|
9
|
+
exports.formatSection = formatSection;
|
|
10
|
+
exports.formatSuccessSummary = formatSuccessSummary;
|
|
11
|
+
exports.formatWarningSummary = formatWarningSummary;
|
|
12
|
+
exports.joinSections = joinSections;
|
|
13
|
+
exports.successSymbol = successSymbol;
|
|
14
|
+
exports.warnSymbol = void 0;
|
|
15
|
+
function _chalk() {
|
|
16
|
+
const data = _interopRequireDefault(require("chalk"));
|
|
17
|
+
_chalk = function () {
|
|
18
|
+
return data;
|
|
19
|
+
};
|
|
20
|
+
return data;
|
|
21
|
+
}
|
|
22
|
+
function _os() {
|
|
23
|
+
const data = require("os");
|
|
24
|
+
_os = function () {
|
|
25
|
+
return data;
|
|
26
|
+
};
|
|
27
|
+
return data;
|
|
28
|
+
}
|
|
29
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
30
|
+
/** Cross-platform green checkmark (mirrors Logger.successSymbol without importing Logger to avoid coupling) */
|
|
31
|
+
const _successSymbol = (0, _os().platform)() === 'win32' ? _chalk().default.green('\u2713') : _chalk().default.green('\u2714');
|
|
32
|
+
function successSymbol() {
|
|
33
|
+
return _successSymbol;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Yellow warning symbol */
|
|
37
|
+
const warnSymbol = exports.warnSymbol = _chalk().default.yellow('\u26A0');
|
|
38
|
+
|
|
39
|
+
/** Red error symbol */
|
|
40
|
+
const errorSymbol = exports.errorSymbol = _chalk().default.red('\u2716');
|
|
41
|
+
|
|
42
|
+
/** Format a single item with 3-space indent + symbol + text. Defaults to success symbol. */
|
|
43
|
+
function formatItem(text, symbol) {
|
|
44
|
+
const s = symbol ?? successSymbol();
|
|
45
|
+
return ` ${s} ${text}`;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Format a section with bold white title (including item count), dim description, and items.
|
|
50
|
+
* Returns empty string if items array is empty.
|
|
51
|
+
*/
|
|
52
|
+
function formatSection(title, description, items) {
|
|
53
|
+
if (!items.length) return '';
|
|
54
|
+
const lines = [_chalk().default.bold.white(`${title} (${items.length})`)];
|
|
55
|
+
if (description) {
|
|
56
|
+
lines.push(_chalk().default.dim(description));
|
|
57
|
+
}
|
|
58
|
+
lines.push(...items);
|
|
59
|
+
return lines.join('\n');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Format hint text in dim color */
|
|
63
|
+
function formatHint(text) {
|
|
64
|
+
return _chalk().default.dim(text);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Format a success summary: green checkmark + green message */
|
|
68
|
+
function formatSuccessSummary(msg) {
|
|
69
|
+
return `${successSymbol()} ${_chalk().default.green(msg)}`;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** Format a warning summary: warning symbol + yellow message */
|
|
73
|
+
function formatWarningSummary(msg) {
|
|
74
|
+
return `${warnSymbol} ${_chalk().default.yellow(msg)}`;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Filter out empty strings and join remaining sections with double newlines */
|
|
78
|
+
function joinSections(sections) {
|
|
79
|
+
return sections.filter(Boolean).join('\n\n');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=output-formatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_os","e","__esModule","default","_successSymbol","platform","chalk","green","successSymbol","warnSymbol","exports","yellow","errorSymbol","red","formatItem","text","symbol","s","formatSection","title","description","items","length","lines","bold","white","push","dim","join","formatHint","formatSuccessSummary","msg","formatWarningSummary","joinSections","sections","filter","Boolean"],"sources":["output-formatter.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { platform } from 'os';\n\n/** Cross-platform green checkmark (mirrors Logger.successSymbol without importing Logger to avoid coupling) */\nconst _successSymbol = platform() === 'win32' ? chalk.green('\\u2713') : chalk.green('\\u2714');\nexport function successSymbol(): string {\n return _successSymbol;\n}\n\n/** Yellow warning symbol */\nexport const warnSymbol = chalk.yellow('\\u26A0');\n\n/** Red error symbol */\nexport const errorSymbol = chalk.red('\\u2716');\n\n/** Format a single item with 3-space indent + symbol + text. Defaults to success symbol. */\nexport function formatItem(text: string, symbol?: string): string {\n const s = symbol ?? successSymbol();\n return ` ${s} ${text}`;\n}\n\n/**\n * Format a section with bold white title (including item count), dim description, and items.\n * Returns empty string if items array is empty.\n */\nexport function formatSection(title: string, description: string, items: string[]): string {\n if (!items.length) return '';\n const lines: string[] = [chalk.bold.white(`${title} (${items.length})`)];\n if (description) {\n lines.push(chalk.dim(description));\n }\n lines.push(...items);\n return lines.join('\\n');\n}\n\n/** Format hint text in dim color */\nexport function formatHint(text: string): string {\n return chalk.dim(text);\n}\n\n/** Format a success summary: green checkmark + green message */\nexport function formatSuccessSummary(msg: string): string {\n return `${successSymbol()} ${chalk.green(msg)}`;\n}\n\n/** Format a warning summary: warning symbol + yellow message */\nexport function formatWarningSummary(msg: string): string {\n return `${warnSymbol} ${chalk.yellow(msg)}`;\n}\n\n/** Filter out empty strings and join remaining sections with double newlines */\nexport function joinSections(sections: string[]): string {\n return sections.filter(Boolean).join('\\n\\n');\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA8B,SAAAC,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9B;AACA,MAAMG,cAAc,GAAG,IAAAC,cAAQ,EAAC,CAAC,KAAK,OAAO,GAAGC,gBAAK,CAACC,KAAK,CAAC,QAAQ,CAAC,GAAGD,gBAAK,CAACC,KAAK,CAAC,QAAQ,CAAC;AACtF,SAASC,aAAaA,CAAA,EAAW;EACtC,OAAOJ,cAAc;AACvB;;AAEA;AACO,MAAMK,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAGH,gBAAK,CAACK,MAAM,CAAC,QAAQ,CAAC;;AAEhD;AACO,MAAMC,WAAW,GAAAF,OAAA,CAAAE,WAAA,GAAGN,gBAAK,C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|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1306/dist/cli.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1306/dist/cli.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1306",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/cli",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "cli",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1306"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "4.1.2",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"yargs": "17.0.1",
|
|
16
16
|
"p-map-series": "2.1.0",
|
|
17
17
|
"pad-right": "0.2.2",
|
|
18
|
+
"@teambit/legacy.consumer": "0.0.103",
|
|
18
19
|
"@teambit/legacy.loader": "0.0.18",
|
|
19
20
|
"@teambit/legacy.logger": "0.0.36",
|
|
20
21
|
"@teambit/harmony": "0.4.7",
|
|
@@ -23,8 +24,7 @@
|
|
|
23
24
|
"@teambit/legacy.constants": "0.0.24",
|
|
24
25
|
"@teambit/bit-error": "0.0.404",
|
|
25
26
|
"@teambit/legacy.cli.error": "0.0.36",
|
|
26
|
-
"@teambit/
|
|
27
|
-
"@teambit/logger": "0.0.1398"
|
|
27
|
+
"@teambit/logger": "0.0.1399"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/didyoumean": "1.2.0",
|