@stacksjs/cli 0.68.0 → 0.68.2
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/index.js +1 -2
- package/dist/utils.d.ts +57 -0
- package/package.json +12 -14
package/dist/index.js
CHANGED
|
@@ -17530,7 +17530,6 @@ async function writeToLogFile(message, options) {
|
|
|
17530
17530
|
try {
|
|
17531
17531
|
await access(logFile);
|
|
17532
17532
|
} catch {
|
|
17533
|
-
console.log("Creating log file directory...", logFile);
|
|
17534
17533
|
await mkdir(dirname2(logFile), { recursive: true });
|
|
17535
17534
|
}
|
|
17536
17535
|
await appendFile(logFile, formattedMessage);
|
|
@@ -18269,7 +18268,7 @@ function link(text2, url) {
|
|
|
18269
18268
|
return options.enabled ? OSC + "8" + SEP + SEP + url + BEL + text2 + OSC + "8" + SEP + SEP + BEL : `${text2} (\u200B${url}\u200B)`;
|
|
18270
18269
|
}
|
|
18271
18270
|
// package.json
|
|
18272
|
-
var version = "0.68.
|
|
18271
|
+
var version = "0.68.2";
|
|
18273
18272
|
|
|
18274
18273
|
// src/helpers.ts
|
|
18275
18274
|
async function intro(command2, options2) {
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
import type { Collection } from '@stacksjs/collections';
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
|
+
align,
|
|
5
|
+
box,
|
|
6
|
+
centerAlign,
|
|
7
|
+
colorize,
|
|
8
|
+
colors,
|
|
9
|
+
getColor,
|
|
10
|
+
leftAlign,
|
|
11
|
+
rightAlign,
|
|
12
|
+
stripAnsi,
|
|
13
|
+
} from 'consola/utils'
|
|
4
14
|
export {
|
|
15
|
+
ansi256,
|
|
16
|
+
ansi256Bg,
|
|
17
|
+
bgBlack,
|
|
18
|
+
bgBlue,
|
|
19
|
+
bgCyan,
|
|
20
|
+
bgGray,
|
|
21
|
+
bgGreen,
|
|
22
|
+
bgLightBlue,
|
|
23
|
+
bgLightCyan,
|
|
24
|
+
bgLightGray,
|
|
25
|
+
bgLightGreen,
|
|
26
|
+
bgLightMagenta,
|
|
27
|
+
bgLightRed,
|
|
28
|
+
bgLightYellow,
|
|
29
|
+
bgMagenta,
|
|
30
|
+
bgRed,
|
|
31
|
+
bgWhite,
|
|
32
|
+
bgYellow,
|
|
33
|
+
black,
|
|
34
|
+
blue,
|
|
35
|
+
bold,
|
|
36
|
+
cyan,
|
|
37
|
+
dim,
|
|
38
|
+
gray,
|
|
39
|
+
green,
|
|
40
|
+
hidden,
|
|
41
|
+
inverse,
|
|
42
|
+
italic,
|
|
43
|
+
lightBlue,
|
|
44
|
+
lightCyan,
|
|
45
|
+
lightGray,
|
|
46
|
+
lightGreen,
|
|
47
|
+
lightMagenta,
|
|
48
|
+
lightRed,
|
|
49
|
+
lightYellow,
|
|
50
|
+
link,
|
|
51
|
+
magenta,
|
|
52
|
+
red,
|
|
53
|
+
reset,
|
|
54
|
+
strikethrough,
|
|
55
|
+
stripColors,
|
|
56
|
+
trueColor,
|
|
57
|
+
trueColorBg,
|
|
58
|
+
underline,
|
|
59
|
+
white,
|
|
60
|
+
yellow,
|
|
61
|
+
} from 'kolorist'
|
|
5
62
|
export * as kolorist from 'kolorist'
|
|
6
63
|
export declare let quotes: Collection<string[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.68.
|
|
4
|
+
"version": "0.68.2",
|
|
5
5
|
"description": "TypeScript framework for CLI artisans. Build beautiful console apps with ease.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
|
|
@@ -49,17 +49,19 @@
|
|
|
49
49
|
"test": "bun test",
|
|
50
50
|
"prepublishOnly": "bun run build"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"devDependencies": {
|
|
53
53
|
"@antfu/install-pkg": "^0.4.1",
|
|
54
54
|
"@clack/core": "^0.3.4",
|
|
55
|
-
"@stacksjs/collections": "0.
|
|
56
|
-
"@stacksjs/config": "0.
|
|
57
|
-
"@stacksjs/
|
|
58
|
-
"@stacksjs/
|
|
59
|
-
"@stacksjs/
|
|
60
|
-
"@stacksjs/
|
|
61
|
-
"@stacksjs/
|
|
62
|
-
"@stacksjs/
|
|
55
|
+
"@stacksjs/collections": "0.68.1",
|
|
56
|
+
"@stacksjs/config": "0.68.1",
|
|
57
|
+
"@stacksjs/development": "0.68.1",
|
|
58
|
+
"@stacksjs/error-handling": "0.68.1",
|
|
59
|
+
"@stacksjs/logging": "0.68.1",
|
|
60
|
+
"@stacksjs/path": "0.68.1",
|
|
61
|
+
"@stacksjs/types": "0.68.1",
|
|
62
|
+
"@stacksjs/utils": "0.68.1",
|
|
63
|
+
"@stacksjs/validation": "0.68.1",
|
|
64
|
+
"@types/prompts": "^2.4.9",
|
|
63
65
|
"ansi-escapes": "^7.0.0",
|
|
64
66
|
"cac": "^6.7.14",
|
|
65
67
|
"consola": "^3.2.3",
|
|
@@ -67,9 +69,5 @@
|
|
|
67
69
|
"ora": "^8.1.0",
|
|
68
70
|
"prompts": "^2.4.2",
|
|
69
71
|
"supports-hyperlinks": "^3.1.0"
|
|
70
|
-
},
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@stacksjs/development": "0.67.0",
|
|
73
|
-
"@types/prompts": "^2.4.9"
|
|
74
72
|
}
|
|
75
73
|
}
|