@stacksjs/cli 0.70.161 → 0.70.163
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 -1
- package/dist/run.d.ts +4 -4
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -494,7 +494,7 @@ var quotes = collect([
|
|
|
494
494
|
"Security is mostly a superstition. Life is either a daring adventure or nothing."
|
|
495
495
|
]);
|
|
496
496
|
// package.json
|
|
497
|
-
var version = "0.70.
|
|
497
|
+
var version = "0.70.163";
|
|
498
498
|
// src/helpers.ts
|
|
499
499
|
async function intro(command, options) {
|
|
500
500
|
return new Promise((resolve) => {
|
package/dist/run.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ import type { Ok, Result } from '@stacksjs/error-handling';
|
|
|
25
25
|
* console.log(result)
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare function runCommand(command: string, options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
29
|
-
export declare function runProcess(command: string, options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
28
|
+
export declare function runCommand(command: string | string[], options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
29
|
+
export declare function runProcess(command: string | string[], options?: CliOptions): Promise<Result<Subprocess, CommandError>>;
|
|
30
30
|
/**
|
|
31
31
|
* Run a command.
|
|
32
32
|
*
|
|
@@ -52,7 +52,7 @@ export declare function runProcess(command: string, options?: CliOptions): Promi
|
|
|
52
52
|
* console.log(result)
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
|
-
export declare function runCommandSync(command: string, options?: CliOptions): Promise<string>;
|
|
55
|
+
export declare function runCommandSync(command: string | string[], options?: CliOptions): Promise<string>;
|
|
56
56
|
/**
|
|
57
57
|
* Run many commands.
|
|
58
58
|
*
|
|
@@ -60,4 +60,4 @@ export declare function runCommandSync(command: string, options?: CliOptions): P
|
|
|
60
60
|
* @param options The options to pass to the command.
|
|
61
61
|
* @returns The result of the command.
|
|
62
62
|
*/
|
|
63
|
-
export declare function runCommands(commands: string[], options?: CliOptions): Promise<Ok<Subprocess<Writable, Readable, Readable>, Error>[]>;
|
|
63
|
+
export declare function runCommands(commands: (string | string[])[], options?: CliOptions): Promise<Ok<Subprocess<Writable, Readable, Readable>, Error>[]>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.163",
|
|
6
6
|
"description": "TypeScript framework for CLI artisans. Build beautiful console apps with ease.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
"@stacksjs/clapp": "^0.2.12"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@stacksjs/collections": "0.70.
|
|
70
|
-
"@stacksjs/config": "0.70.
|
|
69
|
+
"@stacksjs/collections": "0.70.163",
|
|
70
|
+
"@stacksjs/config": "0.70.163",
|
|
71
71
|
"better-dx": "^0.2.17",
|
|
72
|
-
"@stacksjs/error-handling": "0.70.
|
|
73
|
-
"@stacksjs/logging": "0.70.
|
|
74
|
-
"@stacksjs/path": "0.70.
|
|
75
|
-
"@stacksjs/types": "0.70.
|
|
76
|
-
"@stacksjs/utils": "0.70.
|
|
77
|
-
"@stacksjs/validation": "0.70.
|
|
72
|
+
"@stacksjs/error-handling": "0.70.163",
|
|
73
|
+
"@stacksjs/logging": "0.70.163",
|
|
74
|
+
"@stacksjs/path": "0.70.163",
|
|
75
|
+
"@stacksjs/types": "0.70.163",
|
|
76
|
+
"@stacksjs/utils": "0.70.163",
|
|
77
|
+
"@stacksjs/validation": "0.70.163"
|
|
78
78
|
}
|
|
79
79
|
}
|