@vixt/cli 0.13.3 → 0.13.5

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/index.d.mts +19 -20
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ParsedArgs } from "citty";
2
2
  //#region src/commands/build.d.ts
3
- declare const buildArgsDef: {
3
+ export declare const buildArgsDef: {
4
4
  legacy: {
5
5
  type: "boolean";
6
6
  description: string;
@@ -43,7 +43,7 @@ declare const buildArgsDef: {
43
43
  default: false;
44
44
  };
45
45
  };
46
- declare const buildCommand: import("citty").CommandDef<{
46
+ export declare const buildCommand: import("citty").CommandDef<{
47
47
  legacy: {
48
48
  type: "boolean";
49
49
  description: string;
@@ -86,10 +86,10 @@ declare const buildCommand: import("citty").CommandDef<{
86
86
  default: false;
87
87
  };
88
88
  }>;
89
- type BuildArgs = ParsedArgs<typeof buildArgsDef>;
89
+ export type BuildArgs = ParsedArgs<typeof buildArgsDef>;
90
90
  //#endregion
91
91
  //#region src/commands/cleanup.d.ts
92
- declare const cleanupCommand: import("citty").CommandDef<{
92
+ export declare const cleanupCommand: import("citty").CommandDef<{
93
93
  readonly root: {
94
94
  type: "positional";
95
95
  description: string;
@@ -99,7 +99,7 @@ declare const cleanupCommand: import("citty").CommandDef<{
99
99
  }>;
100
100
  //#endregion
101
101
  //#region src/commands/dev.d.ts
102
- declare const devArgsDef: {
102
+ export declare const devArgsDef: {
103
103
  https: {
104
104
  type: "boolean";
105
105
  description: string;
@@ -161,7 +161,7 @@ declare const devArgsDef: {
161
161
  default: false;
162
162
  };
163
163
  };
164
- declare const devCommand: import("citty").CommandDef<{
164
+ export declare const devCommand: import("citty").CommandDef<{
165
165
  https: {
166
166
  type: "boolean";
167
167
  description: string;
@@ -223,10 +223,10 @@ declare const devCommand: import("citty").CommandDef<{
223
223
  default: false;
224
224
  };
225
225
  }>;
226
- type DevArgs = ParsedArgs<typeof devArgsDef>;
226
+ export type DevArgs = ParsedArgs<typeof devArgsDef>;
227
227
  //#endregion
228
228
  //#region src/commands/prepare.d.ts
229
- declare const prepareCommand: import("citty").CommandDef<{
229
+ export declare const prepareCommand: import("citty").CommandDef<{
230
230
  readonly root: {
231
231
  type: "positional";
232
232
  description: string;
@@ -263,7 +263,7 @@ declare const prepareCommand: import("citty").CommandDef<{
263
263
  }>;
264
264
  //#endregion
265
265
  //#region src/commands/preview.d.ts
266
- declare const previewCommand: import("citty").CommandDef<{
266
+ export declare const previewCommand: import("citty").CommandDef<{
267
267
  readonly host: {
268
268
  type: "string";
269
269
  description: string;
@@ -323,7 +323,7 @@ declare const previewCommand: import("citty").CommandDef<{
323
323
  }>;
324
324
  //#endregion
325
325
  //#region src/commands/index.d.ts
326
- declare const commands: {
326
+ export declare const commands: {
327
327
  build: import("citty").CommandDef<{
328
328
  legacy: {
329
329
  type: "boolean";
@@ -533,19 +533,19 @@ declare const commands: {
533
533
  };
534
534
  //#endregion
535
535
  //#region src/main.d.ts
536
- declare const mainArgsDef: {
536
+ export declare const mainArgsDef: {
537
537
  command: {
538
538
  type: "positional";
539
539
  required: true;
540
540
  };
541
541
  };
542
- declare const main: import("citty").CommandDef<{
542
+ export declare const main: import("citty").CommandDef<{
543
543
  command: {
544
544
  type: "positional";
545
545
  required: true;
546
546
  };
547
547
  }>;
548
- declare const vixtArgsDef: {
548
+ export declare const vixtArgsDef: {
549
549
  https: {
550
550
  type: "boolean";
551
551
  description: string;
@@ -619,9 +619,9 @@ declare const vixtArgsDef: {
619
619
  required: true;
620
620
  };
621
621
  };
622
- type VixtArgs = ParsedArgs<typeof vixtArgsDef>;
623
- type VixtCLIOptions = Partial<VixtArgs>;
624
- declare function parseVixtArgs(args?: string[]): ParsedArgs<{
622
+ export type VixtArgs = ParsedArgs<typeof vixtArgsDef>;
623
+ export type VixtCLIOptions = Partial<VixtArgs>;
624
+ export declare function parseVixtArgs(args?: string[]): ParsedArgs<{
625
625
  https: {
626
626
  type: "boolean";
627
627
  description: string;
@@ -697,11 +697,10 @@ declare function parseVixtArgs(args?: string[]): ParsedArgs<{
697
697
  }>;
698
698
  //#endregion
699
699
  //#region src/run.d.ts
700
- declare function runMain(): Promise<void>;
701
- declare function runCommand(name: string, argv?: string[], data?: {
700
+ export declare function runMain(): Promise<void>;
701
+ export declare function runCommand(name: string, argv?: string[], data?: {
702
702
  overrides?: Record<string, any>;
703
703
  }): Promise<{
704
704
  result: unknown;
705
705
  }>;
706
- //#endregion
707
- export { BuildArgs, DevArgs, VixtArgs, VixtCLIOptions, buildArgsDef, buildCommand, cleanupCommand, commands, devArgsDef, devCommand, main, mainArgsDef, parseVixtArgs, prepareCommand, previewCommand, runCommand, runMain, vixtArgsDef };
706
+ //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixt/cli",
3
- "version": "0.13.3",
3
+ "version": "0.13.5",
4
4
  "keywords": [
5
5
  "nuxi",
6
6
  "nuxt",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "citty": "^0.2.2",
34
- "vite": "^8.2.2"
34
+ "vite": "^8.3.4"
35
35
  },
36
36
  "devDependencies": {
37
37
  "jiti": "^2.7.0"