@stacksjs/types 0.52.2 → 0.52.3

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.
Files changed (2) hide show
  1. package/dist/cli.d.ts +16 -1
  2. package/package.json +2 -2
package/dist/cli.d.ts CHANGED
@@ -6,17 +6,22 @@ import type { ExecaReturnValue } from 'execa';
6
6
  import type { Err, Ok } from './errors';
7
7
  export type CommandReturnValue = ExecaReturnValue<string>;
8
8
  export type CommandResult = Ok<ExecaReturnValue<string>, Error | void> | Err<ExecaReturnValue<string>, Error | string | void>;
9
- export interface OutroOptions {
9
+ export interface OutroOptions extends CliOptions {
10
10
  type?: 'success' | 'error' | 'warning' | 'info';
11
11
  startTime?: number;
12
12
  useSeconds?: boolean;
13
13
  isError?: boolean;
14
+ quiet?: boolean;
14
15
  }
15
16
  export interface IntroOptions {
16
17
  /**
17
18
  * @default true
18
19
  */
19
20
  showPerformance?: boolean;
21
+ /**
22
+ * @default false
23
+ */
24
+ quiet: boolean;
20
25
  }
21
26
  type SpinnerOptions = Ora;
22
27
  export type CliOptionsKeys = keyof CliOptions;
@@ -32,6 +37,16 @@ export interface UserCliOptions {
32
37
  * The options to pass to the CLI.
33
38
  */
34
39
  export interface CliOptions {
40
+ /**
41
+ * **Quiet Output**
42
+ *
43
+ * When your application is in "quiet"-mode, a different level of information
44
+ * like useful outputs for debugging reasons, will be shown.
45
+ * When disabled, it defaults to the "normal experience."
46
+ *
47
+ * @default false
48
+ */
49
+ quiet?: boolean;
35
50
  /**
36
51
  * **Verbose Output**
37
52
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.52.2",
4
+ "version": "0.52.3",
5
5
  "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks framework types.",
7
7
  "author": "Chris Breuer",
@@ -70,7 +70,7 @@
70
70
  "vitepress": "1.0.0-alpha.76",
71
71
  "vue": "^3.3.4",
72
72
  "zod": "^3.21.4",
73
- "@stacksjs/development": "0.52.2"
73
+ "@stacksjs/development": "0.52.3"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "unbuild",