@stacksjs/cli 0.59.3 → 0.59.4

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 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<Result<Subprocess, CommandError>>;
31
- runSync: (command: string, options?: any) => Promise<Result<Subprocess, CommandError>>;
30
+ run: (command: string, options?: any) => Promise<import("neverthrow").Result<Subprocess, CommandError>>;
31
+ runSync: (command: string, options?: any) => Promise<import("neverthrow").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.3";
523
+ var version = "0.59.4";
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<any[]>;
63
+ export declare function runCommands(commands: string[], options?: CliOptions): Promise<(import("neverthrow").Ok<Subprocess, CommandError> | import("neverthrow").Err<Subprocess, CommandError>)[]>;
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,5 @@
1
+ /// <reference types="collect.js" />
1
2
  export * as kolorist from 'kolorist';
2
3
  export { stripAnsi, centerAlign, rightAlign, leftAlign, align, box, colors, getColor, colorize, } from 'consola/utils';
3
4
  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';
4
- export declare const quotes: any;
5
+ export declare const quotes: import("collect.js").Collection<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.59.3",
4
+ "version": "0.59.4",
5
5
  "description": "TypeScript framework for CLI artisans. Build beautiful console apps with ease.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -54,7 +54,7 @@
54
54
  "scripts": {
55
55
  "build": "bun --bun build.ts",
56
56
  "typecheck": "bun --bun tsc --noEmit",
57
- "prepublishOnly": "bun --bun run build"
57
+ "prepublishOnly": "bun run build"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@antfu/install-pkg": "^0.3.1",