create-flow-os 0.0.44 → 0.0.45
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/package.json +2 -2
- package/src/init/ui.ts +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-flow-os",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"license": "PolyForm-Shield-1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@flow-os/client": "^0.0.
|
|
7
|
+
"@flow-os/client": "^0.0.45"
|
|
8
8
|
},
|
|
9
9
|
"bin": {
|
|
10
10
|
"create-flow-os": "./src/index.ts"
|
package/src/init/ui.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function bannerBox(title: string, lines: string[], color: string, w = 50)
|
|
|
28
28
|
const top = c + "╔" + inner + c + "═".repeat(Math.max(0, w - 2 - innerLen)) + "╗" + R;
|
|
29
29
|
const bottom = c + "╚" + "═".repeat(w - 2) + "╝" + R;
|
|
30
30
|
const spacer = c + "║" + R + " " + " ".repeat(w - 4) + c + "║" + R; // riga vuota
|
|
31
|
-
const bodyLines = lines.map((l) => c + "║" + R + " " + pad(l, w -
|
|
31
|
+
const bodyLines = lines.map((l) => c + "║" + R + " " + pad(l, w - 4) + c + "║" + R);
|
|
32
32
|
const body = "\n" + spacer + "\n" + bodyLines.join("\n");
|
|
33
33
|
return "\n" + top + body + "\n" + bottom + "\n";
|
|
34
34
|
}
|