chiefwiggum 1.3.27 → 1.3.28
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.cjs +1 -7
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -227,16 +227,10 @@ var TEXT_BANNER = `
|
|
|
227
227
|
${import_picocolors2.default.yellow("\u2591\u2588\u2580\u2580\u2591\u2588\u2591\u2588\u2591\u2580\u2588\u2580\u2591\u2588\u2580\u2580\u2591\u2588\u2580\u2580\u2591\u2591\u2591\u2588\u2591\u2588\u2591\u2580\u2588\u2580\u2591\u2588\u2580\u2580\u2591\u2588\u2580\u2580\u2591\u2588\u2591\u2588\u2591\u2588\u2584\u2588")}
|
|
228
228
|
${import_picocolors2.default.yellow("\u2591\u2588\u2591\u2591\u2591\u2588\u2580\u2588\u2591\u2591\u2588\u2591\u2591\u2588\u2580\u2580\u2591\u2588\u2580\u2580\u2591\u2591\u2591\u2588\u2584\u2588\u2591\u2591\u2588\u2591\u2591\u2588\u2591\u2588\u2591\u2588\u2591\u2588\u2591\u2588\u2591\u2588\u2591\u2588\u2591\u2588")}
|
|
229
229
|
${import_picocolors2.default.yellow("\u2591\u2580\u2580\u2580\u2591\u2580\u2591\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2591\u2591\u2591\u2591\u2591\u2580\u2591\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2580\u2580\u2591\u2580\u2591\u2580")}`;
|
|
230
|
-
function centerText(text3, width) {
|
|
231
|
-
const padding = Math.max(0, Math.floor((width - text3.length) / 2));
|
|
232
|
-
return " ".repeat(padding) + text3;
|
|
233
|
-
}
|
|
234
230
|
function createBanner() {
|
|
235
231
|
const artLines = WIGGUM_ART.split("\n").filter((line) => line.length > 0);
|
|
236
232
|
const textLines = TEXT_BANNER.split("\n").filter((line) => line.length > 0);
|
|
237
|
-
|
|
238
|
-
const centeredText = textLines.map((line) => centerText(line, artWidth)).join("\n");
|
|
239
|
-
return import_picocolors2.default.yellow(artLines.join("\n")) + "\n" + centeredText;
|
|
233
|
+
return import_picocolors2.default.yellow(artLines.join("\n")) + "\n\n" + textLines.join("\n");
|
|
240
234
|
}
|
|
241
235
|
var BANNER = createBanner();
|
|
242
236
|
async function checkForUpdates(currentVersion) {
|