@stacksjs/cli 0.68.2 → 0.69.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/app.d.ts +10 -50
- package/dist/cli.d.ts +3 -2
- package/dist/command.d.ts +20 -8
- package/dist/console.d.ts +2 -0
- package/dist/exec.d.ts +1 -1
- package/dist/index.d.ts +1 -10
- package/dist/index.js +13194 -12520
- package/dist/install.d.ts +0 -2
- package/dist/parse.d.ts +2 -2
- package/dist/run.d.ts +1 -1
- package/dist/utils.d.ts +4 -2
- package/package.json +15 -15
package/dist/install.d.ts
CHANGED
package/dist/parse.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ declare interface ParsedArgv {
|
|
|
7
7
|
declare function isLongOption(arg?: string): boolean;
|
|
8
8
|
declare function isShortOption(arg: string): boolean;
|
|
9
9
|
declare function parseValue(value: string): string | boolean | number;
|
|
10
|
-
declare function parseLongOption(
|
|
11
|
-
declare function parseShortOption(
|
|
10
|
+
declare function parseLongOption(options: { [k: string] }): number;
|
|
11
|
+
declare function parseShortOption(options: { [k: string] }): number;
|
|
12
12
|
export declare function parseArgv(argv?: string[]): ParsedArgv;
|
|
13
13
|
export declare function parseArgs(argv?: string[]): string[];
|
|
14
14
|
export declare function parseOptions(options?: CliOptions): CliOptions;
|
package/dist/run.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import type { CliOptions, CommandError, Readable, Subprocess } from '@stacksjs/t
|
|
|
3
3
|
export declare function runCommand(command: string, options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
4
4
|
export declare function runProcess(command: string, options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
5
5
|
export declare function runCommandSync(command: string, options?: CliOptions): Promise<string>;
|
|
6
|
-
export declare function runCommands(commands: string[], options?: CliOptions
|
|
6
|
+
export declare function runCommands(commands: string[], options?: CliOptions): Promise<Ok<Subprocess<Writable, Readable, Readable>, Error>[]>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Collection } from '@stacksjs/collections';
|
|
2
2
|
|
|
3
|
+
export declare let quotes: Collection<string[]>;
|
|
4
|
+
|
|
3
5
|
export {
|
|
4
6
|
align,
|
|
5
7
|
box,
|
|
@@ -59,5 +61,5 @@ export {
|
|
|
59
61
|
white,
|
|
60
62
|
yellow,
|
|
61
63
|
} from 'kolorist'
|
|
62
|
-
|
|
63
|
-
export
|
|
64
|
+
|
|
65
|
+
export * as kolorist from 'kolorist'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.69.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>"],
|
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
"prepublishOnly": "bun run build"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@antfu/install-pkg": "^0.
|
|
54
|
-
"@clack/core": "^0.
|
|
55
|
-
"@stacksjs/collections": "0.
|
|
56
|
-
"@stacksjs/config": "0.
|
|
57
|
-
"@stacksjs/development": "0.
|
|
58
|
-
"@stacksjs/error-handling": "0.
|
|
59
|
-
"@stacksjs/logging": "0.
|
|
60
|
-
"@stacksjs/path": "0.
|
|
61
|
-
"@stacksjs/types": "0.
|
|
62
|
-
"@stacksjs/utils": "0.
|
|
63
|
-
"@stacksjs/validation": "0.
|
|
53
|
+
"@antfu/install-pkg": "^1.0.0",
|
|
54
|
+
"@clack/core": "^0.4.1",
|
|
55
|
+
"@stacksjs/collections": "0.69.2",
|
|
56
|
+
"@stacksjs/config": "0.69.2",
|
|
57
|
+
"@stacksjs/development": "0.69.2",
|
|
58
|
+
"@stacksjs/error-handling": "0.69.2",
|
|
59
|
+
"@stacksjs/logging": "0.69.2",
|
|
60
|
+
"@stacksjs/path": "0.69.2",
|
|
61
|
+
"@stacksjs/types": "0.69.2",
|
|
62
|
+
"@stacksjs/utils": "0.69.2",
|
|
63
|
+
"@stacksjs/validation": "0.69.2",
|
|
64
64
|
"@types/prompts": "^2.4.9",
|
|
65
65
|
"ansi-escapes": "^7.0.0",
|
|
66
66
|
"cac": "^6.7.14",
|
|
67
|
-
"consola": "^3.
|
|
67
|
+
"consola": "^3.4.0",
|
|
68
68
|
"kolorist": "1.8.0",
|
|
69
|
-
"ora": "^8.
|
|
69
|
+
"ora": "^8.2.0",
|
|
70
70
|
"prompts": "^2.4.2",
|
|
71
|
-
"supports-hyperlinks": "^3.
|
|
71
|
+
"supports-hyperlinks": "^3.2.0"
|
|
72
72
|
}
|
|
73
73
|
}
|