@nbtca/prompt 1.5.23 → 1.5.24
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/core/logo.js +8 -5
- package/dist/logo/ascii-emblem-large.txt +26 -22
- package/dist/logo/ascii-emblem-medium.txt +19 -15
- package/dist/logo/ascii-emblem-small.txt +12 -0
- package/dist/logo/ascii-emblem-tiny.txt +9 -0
- package/package.json +2 -2
- package/dist/logo/ascii-emblem.txt +0 -11
- package/dist/logo/ascii-logo.txt +0 -3
package/dist/core/logo.js
CHANGED
|
@@ -23,6 +23,12 @@ const LOGO_TIERS = [
|
|
|
23
23
|
{ file: 'ca-dotmatrix.txt', minCols: 44, minRows: 24 },
|
|
24
24
|
{ file: 'ca-dotmatrix-small.txt', minCols: 0, minRows: 0 },
|
|
25
25
|
];
|
|
26
|
+
const ASCII_EMBLEMS = [
|
|
27
|
+
'ascii-emblem-large.txt',
|
|
28
|
+
'ascii-emblem-medium.txt',
|
|
29
|
+
'ascii-emblem-small.txt',
|
|
30
|
+
'ascii-emblem-tiny.txt',
|
|
31
|
+
];
|
|
26
32
|
function paint(text, color) {
|
|
27
33
|
return color ? brand(text) : text;
|
|
28
34
|
}
|
|
@@ -39,10 +45,7 @@ function logoContent() {
|
|
|
39
45
|
...(useUnicodeIcons()
|
|
40
46
|
? LOGO_TIERS.filter((tier) => (cols ?? 0) >= tier.minCols && (rows ?? 0) >= tier.minRows).map((tier) => tier.file)
|
|
41
47
|
: []),
|
|
42
|
-
...
|
|
43
|
-
? []
|
|
44
|
-
: ['ascii-emblem-large.txt', 'ascii-emblem-medium.txt', 'ascii-emblem.txt']),
|
|
45
|
-
'ascii-logo.txt',
|
|
48
|
+
...ASCII_EMBLEMS,
|
|
46
49
|
undefined,
|
|
47
50
|
];
|
|
48
51
|
for (const file of files) {
|
|
@@ -119,7 +122,7 @@ export async function runStartup() {
|
|
|
119
122
|
}
|
|
120
123
|
const EMBLEM_FILES = {
|
|
121
124
|
unicode: ['ca-dotmatrix-large.txt', 'ca-dotmatrix.txt', 'ca-dotmatrix-small.txt'],
|
|
122
|
-
ascii:
|
|
125
|
+
ascii: ASCII_EMBLEMS,
|
|
123
126
|
};
|
|
124
127
|
/** The largest emblem that fits the box, painted with the brand gradient; undefined when none fits. */
|
|
125
128
|
export function emblemLines(maxCols, maxRows) {
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
..---'''''`````---..
|
|
2
|
+
..--' Association `--..
|
|
3
|
+
..-`Computer_____--_____ of '-..
|
|
4
|
+
.-` ..-'' ``-.. NBT '-.
|
|
5
|
+
/-` .-` '-. '-\
|
|
6
|
+
/ .-` '-. \
|
|
7
|
+
/ /` '\ \
|
|
8
|
+
/ / \ \
|
|
9
|
+
( / \ )
|
|
10
|
+
) ( .--''''''''--. .--''''''''--. ) (
|
|
11
|
+
( ) (@@@@@----------. `\(@@@@@----------. `\ ( )
|
|
12
|
+
| | '@@@@' `'----''@@@@' `'----'| .|
|
|
13
|
+
| | | s |
|
|
14
|
+
| | | t |
|
|
15
|
+
| | | | | r l |
|
|
16
|
+
( ) ( ) (a a )
|
|
17
|
+
) T ( \ / ) r (
|
|
18
|
+
( o \ \ / / e )
|
|
19
|
+
\ b \ '. .` / b /
|
|
20
|
+
\ e \. '-. .-` ./ i /
|
|
21
|
+
\ at '-. '--..________..--` .-` l /
|
|
22
|
+
'-.the '-. '''``` .-` .-`
|
|
23
|
+
'-. '--.. ..--` and .-`
|
|
24
|
+
''-intersection------``` .-``
|
|
25
|
+
''-.. of technology..-``
|
|
26
|
+
''---__________---``
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
_..----'`----.._
|
|
2
|
+
..-'' ``-..
|
|
3
|
+
.-` ..--''''````--.. '-.
|
|
4
|
+
/-` .-`' `'-. '-\
|
|
5
|
+
/ .-` '-. \
|
|
6
|
+
/ / \ \
|
|
7
|
+
( / .-'''''-. .-'''''-. \ )
|
|
8
|
+
) ) (@@@----. `\ (@@@----. `\ ( (
|
|
9
|
+
| | '@@' `'--' '@@' `'--' | |
|
|
10
|
+
| | | |
|
|
11
|
+
| | ) ( | |
|
|
12
|
+
) ) ( ) ( (
|
|
13
|
+
( \ \ / / )
|
|
14
|
+
\ \ '. .` / /
|
|
15
|
+
\ '-. '-.._ _..-` .-` /
|
|
16
|
+
\.. '-.. ''''```` ..-` ../
|
|
17
|
+
'-. ''--________--`` .-`
|
|
18
|
+
''-.. ..-``
|
|
19
|
+
''---______---``
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nbtca/prompt",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:cli": "npm run build && bash scripts/test-cli.sh",
|
|
33
33
|
"precheck:package": "npm run build",
|
|
34
34
|
"check:package": "node scripts/check-package.mjs",
|
|
35
|
-
"check": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run check:package && npm audit --audit-level=moderate",
|
|
35
|
+
"check": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run check:package && npm audit --omit=dev --audit-level=moderate",
|
|
36
36
|
"prepublishOnly": "npm run check"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
package/dist/logo/ascii-logo.txt
DELETED