create-flow-os 0.0.36 → 0.0.37
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 +7 -39
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-flow-os",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
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.37"
|
|
8
8
|
},
|
|
9
9
|
"bin": {
|
|
10
10
|
"create-flow-os": "./src/index.ts"
|
package/src/init/ui.ts
CHANGED
|
@@ -89,50 +89,18 @@ const W = "\x1b[97m"; // bianco
|
|
|
89
89
|
export const colors = { V, Y, E, R, B, DIM, W };
|
|
90
90
|
|
|
91
91
|
/** Icona layers: 3 quadrati arrotondati sovrapposti, vista isometrica con shading ▓▒░ */
|
|
92
|
-
const LAYERS_ICON = [
|
|
93
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
94
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
95
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
96
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
97
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
98
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
99
|
-
" ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
100
|
-
" ▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
101
|
-
" ▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
102
|
-
" ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
103
|
-
" ░▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ",
|
|
104
|
-
" ▒▒▒░░░░░░▓▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒░▒▒▒▓▓▓▓ ",
|
|
105
|
-
" ▒▒▒▒▒░░░░░░░░▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░▒▒▒▒▓▓▓▓▓▓▓ ",
|
|
106
|
-
" ▓▒▒▒▒▒▒▒▒▒░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░▒▒▒▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
107
|
-
" ▒▒▒▒▒▓▓▒▒▒▒▒▒░░░░░░░░░▒▒▓▓▓▓▓▓▓▓▓▓▓▒░░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
108
|
-
" ▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
109
|
-
" ▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
110
|
-
" ▒░░░▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▓▓ ",
|
|
111
|
-
" ▒▒▒▒░░░░░░▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░▒▒▒▓▓▓▓▓▓ ",
|
|
112
|
-
" ▒▒▒▒▒▒▒░░░░░░░▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░▒▒▒▓▓▓▓▓▓▓▓▓ ",
|
|
113
|
-
" ▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░▒▒▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
114
|
-
" ▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▒░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
115
|
-
" ▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒░░░░░░▒░▒▒▒▒▒░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
116
|
-
" ▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
117
|
-
" ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
118
|
-
" ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
119
|
-
" ▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
120
|
-
" ▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ",
|
|
121
|
-
" ▒▒▒▒▓▓▓▓▓▓▓▓▓ ",
|
|
122
|
-
];
|
|
123
92
|
|
|
124
93
|
const FLOW_OS_TEXT = [
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
94
|
+
" ███████ ██ ████████ ██ ██ ███████ ███████",
|
|
95
|
+
" ██ ██ ██ ██ ██ ██ ██ ██ ██ ",
|
|
96
|
+
" █████ ██ ██ ██ ██ █ ██ ██ ██ ███████",
|
|
97
|
+
" ██ ██ ██ ██ ██ ███ ██ ██ ██ ██",
|
|
98
|
+
" ██ ███████ ████████ ███ ███ ███████ ███████",
|
|
99
|
+
|
|
131
100
|
];
|
|
132
101
|
|
|
133
102
|
/** Logo (ASCII utente) sopra, scritta Flow OS sotto, entrambi fuori dal box */
|
|
134
103
|
export function headerLogo(): string {
|
|
135
|
-
const logo = LAYERS_ICON.map((l) => W + l + R).join("\n");
|
|
136
104
|
const text = FLOW_OS_TEXT.map((t) => W + t + R).join("\n");
|
|
137
|
-
return
|
|
105
|
+
return text;
|
|
138
106
|
}
|