@lynxship/cli 0.1.7 → 0.1.8
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/ui/components.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAEjD;AAED,eAAO,MAAM,GAAG;qBACG,MAAM,GAAG,IAAI;kBAGhB,MAAM,GAAG,IAAI;mBAGZ,MAAM,GAAG,IAAI;kBAGd,MAAM,GAAG,IAAI;mBAGZ,MAAM,GAAG,IAAI;CAG7B,CAAC;AAgBF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CA6C9D;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,IAAI,IAAI,IAAI,CAAC;CACd;AA6CD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAoBnD;
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/ui/components.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC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AgB,CAC9B,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,MAAM,EAClB,OAAO,UAAO,GACb,IAAI,CAQN"}
|
package/dist/ui/components.js
CHANGED
|
@@ -126,6 +126,9 @@ export function formatEvent(message) {
|
|
|
126
126
|
}[tone];
|
|
127
127
|
return ` ${colors[tone](marker)} ${colors[tone](normalized)}`;
|
|
128
128
|
}
|
|
129
|
+
function formatEventRail() {
|
|
130
|
+
return ` ${c.text(supportsUnicode() ? "│" : "|")}`;
|
|
131
|
+
}
|
|
129
132
|
const activeAnimations = new Set();
|
|
130
133
|
let cleanupHooksInstalled = false;
|
|
131
134
|
function installCleanupHooks() {
|
|
@@ -193,9 +196,12 @@ export function createProgress(label, enabled) {
|
|
|
193
196
|
return;
|
|
194
197
|
const tone = eventTone(message);
|
|
195
198
|
bar.stop();
|
|
196
|
-
if (tone
|
|
197
|
-
|
|
199
|
+
if (tone !== "output" &&
|
|
200
|
+
(previousTone === undefined || previousTone === "output"))
|
|
201
|
+
console.log(formatEventRail());
|
|
198
202
|
console.log(formatEvent(message));
|
|
203
|
+
if (tone !== "output")
|
|
204
|
+
console.log(formatEventRail());
|
|
199
205
|
bar.start(100, currentValue, payload(currentLabel));
|
|
200
206
|
previousTone = tone;
|
|
201
207
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynxship/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Build, sign, store, submit and update LynxJS applications from the terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"qrcode-terminal": "0.12.0",
|
|
71
71
|
"@lynxship/build-orchestrator": "0.1.0",
|
|
72
72
|
"@lynxship/contracts": "0.1.0",
|
|
73
|
+
"@lynxship/db": "0.1.0",
|
|
73
74
|
"@lynxship/signing": "0.1.0",
|
|
74
|
-
"@lynxship/submit": "0.1.0"
|
|
75
|
-
"@lynxship/db": "0.1.0"
|
|
75
|
+
"@lynxship/submit": "0.1.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/cli-progress": "3.11.6",
|