@stacksjs/cli 0.59.5 → 0.59.7
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/command.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/utils.d.ts +1 -2
- package/package.json +1 -1
package/dist/command.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class Command {
|
|
|
27
27
|
constructor({ name, description, options, run, onFail, onSuccess }: Options);
|
|
28
28
|
}
|
|
29
29
|
export declare const command: {
|
|
30
|
-
run: (command: string, options?: any) => Promise<
|
|
31
|
-
runSync: (command: string, options?: any) => Promise<
|
|
30
|
+
run: (command: string, options?: any) => Promise<Result<Subprocess, CommandError>>;
|
|
31
|
+
runSync: (command: string, options?: any) => Promise<Result<Subprocess, CommandError>>;
|
|
32
32
|
};
|
|
33
33
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -520,7 +520,7 @@ import {log as log3} from "@stacksjs/logging";
|
|
|
520
520
|
import {ExitCode as ExitCode2} from "@stacksjs/types";
|
|
521
521
|
import {bgCyan as bgCyan2, bold as bold2, cyan as cyan2, dim as dim2, gray as gray2, green as green2, italic as italic2} from "kolorist";
|
|
522
522
|
// package.json
|
|
523
|
-
var version = "0.59.
|
|
523
|
+
var version = "0.59.7";
|
|
524
524
|
|
|
525
525
|
// src/helpers.ts
|
|
526
526
|
async function intro(command2, options) {
|
package/dist/run.d.ts
CHANGED
|
@@ -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<
|
|
63
|
+
export declare function runCommands(commands: string[], options?: CliOptions): Promise<any[]>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="collect.js" />
|
|
2
1
|
export * as kolorist from 'kolorist';
|
|
3
2
|
export { stripAnsi, centerAlign, rightAlign, leftAlign, align, box, colors, getColor, colorize, } from 'consola/utils';
|
|
4
3
|
export { ansi256Bg, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgLightBlue, bgLightCyan, bgLightGray, bgLightGreen, bgLightMagenta, bgLightRed, bgLightYellow, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, cyan, dim, gray, green, hidden, inverse, italic, lightBlue, lightCyan, lightGray, lightGreen, lightMagenta, lightRed, lightYellow, link, magenta, red, reset, strikethrough, underline, white, yellow, ansi256, trueColor, trueColorBg, stripColors, } from 'kolorist';
|
|
5
|
-
export declare const quotes:
|
|
4
|
+
export declare const quotes: any;
|
package/package.json
CHANGED