@vite-hub/cli 0.4.1 → 0.5.1

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.
@@ -1,6 +1,4 @@
1
1
  import "nostics";
2
- //#region ../internal/dist/host-credentials-MN0OQ2os.d.ts
3
- //#region src/host-credentials.d.ts
4
2
  type CredentialHost = "cloudflare" | "vercel" | "netlify" | "deno";
5
3
  type CredentialSource = "env" | "host-cli";
6
4
  type HostCredentials = {
@@ -32,6 +30,7 @@ type HostCredentialsDescription = {
32
30
  interface HostCliRunResult {
33
31
  exitCode: number | null;
34
32
  stdout: string;
33
+ stderr?: string;
35
34
  }
36
35
  /** Runs a host CLI with an argument array and no shell, and returns its stdout. */
37
36
  type HostCliRun = (command: string, args: readonly string[], options: {
@@ -39,9 +38,6 @@ type HostCliRun = (command: string, args: readonly string[], options: {
39
38
  env: NodeJS.ProcessEnv;
40
39
  signal?: AbortSignal;
41
40
  }) => Promise<HostCliRunResult>;
42
- //#endregion
43
- //#region ../internal/dist/provision-k67k9T1h.d.ts
44
- //#region src/provision.d.ts
45
41
  type ProvisionProvider = "cloudflare" | "vercel";
46
42
  interface ProvisionLogger {
47
43
  log: (message: string) => void;
@@ -93,9 +89,6 @@ interface ProvisionStep {
93
89
  /** Describes the Provision State this step records. Runs without network access, also without credentials. */
94
90
  recordedState?: (context: Pick<ProvisionContext, "env">) => ProvisionStateCategory[];
95
91
  }
96
- //#endregion
97
- //#region ../internal/dist/cli.d.ts
98
- //#region src/cli.d.ts
99
92
  interface ViteHubCliStreams {
100
93
  stderr: {
101
94
  write: (chunk: string | Uint8Array, encoding?: BufferEncoding | StdoutWriteCallback, callback?: StdoutWriteCallback) => unknown;
@@ -166,5 +159,4 @@ interface ViteHubCliCommandNamespace {
166
159
  name: string;
167
160
  }
168
161
  type StdoutWriteCallback = (error?: Error | null) => void;
169
- //#endregion
170
162
  export { ProvisionProvider as a, HostCliRun as c, ViteHubCliProvision as i, HostCredentials as l, ViteHubCliCommandNamespace as n, CredentialHost as o, ViteHubCliContext as r, CredentialSource as s, ViteHubCliCommand as t, HostCredentialsDescription as u };
@@ -0,0 +1,13 @@
1
+ import "node:module";
2
+ // \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll = (all, no_symbols) => {
5
+ let target = {};
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
+ return target;
12
+ };
13
+ export { __exportAll as t };
@@ -1,6 +1,4 @@
1
- import { l as HostCredentials, o as CredentialHost, r as ViteHubCliContext, s as CredentialSource, t as ViteHubCliCommand, u as HostCredentialsDescription } from "../provision-C9p1wSzq.js";
2
- //#region ../internal/dist/config-edit.d.ts
3
- //#region src/config-edit.d.ts
1
+ import { l as HostCredentials, o as CredentialHost, r as ViteHubCliContext, s as CredentialSource, t as ViteHubCliCommand, u as HostCredentialsDescription } from "../provision-kiD8Emd7.js";
4
2
  type JsonValue = null | boolean | number | string | readonly JsonValue[] | {
5
3
  readonly [key: string]: JsonValue;
6
4
  };
@@ -38,15 +36,9 @@ type LocateResult = {
38
36
  reason: ManualReason;
39
37
  line?: number;
40
38
  };
41
- //#endregion
42
- //#region ../internal/dist/deployment.d.ts
43
- //#region src/deployment.d.ts
44
39
  /** The host that ViteHub builds for: the `host` option of `vitehub()` and the value of `VITEHUB_HOST`. */
45
40
  type ViteHubHost = "cloudflare" | "deno" | "netlify" | "node" | "vercel";
46
41
  type DeploymentService = "blob" | "browser" | "queue" | "rateLimit" | "realtime" | "sandbox";
47
- //#endregion
48
- //#region ../internal/dist/features.d.ts
49
- //#region src/features.d.ts
50
42
  /**
51
43
  * The feature keys of `vitehub({...})`. `vitehub add <feature>` and `vitehub status` read this list before the owner
52
44
  * package of a feature is installed, so the catalog is plain data with no owner imports.
@@ -126,6 +118,10 @@ interface FeatureDefinition<TId extends FeatureId = FeatureId> {
126
118
  packages: readonly string[];
127
119
  /** Additional packages selected by literal provider options. */
128
120
  providerPackages?: Readonly<Record<string, Readonly<Record<string, readonly string[]>>>>;
121
+ requiredOptions?: readonly {
122
+ option: `${TId}.${string}`;
123
+ detail: string;
124
+ }[];
129
125
  /** Development dependencies that the app installs for this feature. */
130
126
  devPackages: readonly string[];
131
127
  implies: readonly FeatureImplication[];
@@ -137,8 +133,6 @@ interface FeatureDefinition<TId extends FeatureId = FeatureId> {
137
133
  /** Hosts that use `hosts.dev` during development instead of their deployment entry. Node always uses `hosts.dev`. */
138
134
  developmentOverrides?: readonly ViteHubHost[];
139
135
  }
140
- //#endregion
141
- //#region src/setup/project.d.ts
142
136
  type SetupFramework = "vite" | "nuxt" | "none";
143
137
  type SetupPackageManager = "pnpm" | "npm" | "yarn" | "bun";
144
138
  interface SetupProject {
@@ -165,8 +159,6 @@ interface SetupProject {
165
159
  * Throws `SETUP_NOT_A_PROJECT` when `root` has no package.json and no Vite or Nuxt config.
166
160
  */
167
161
  export declare function readSetupProject(root: string, env: NodeJS.ProcessEnv): Promise<SetupProject>;
168
- //#endregion
169
- //#region src/setup/status.d.ts
170
162
  interface SetupFeatureStatus {
171
163
  id: FeatureId;
172
164
  enabled: "on" | "off" | "unknown";
@@ -202,8 +194,6 @@ interface SetupStatus {
202
194
  }
203
195
  /** What the project enables, on which host, and what each enabled feature still needs. Reads the config without running it. */
204
196
  export declare function setupStatus(project: SetupProject, env: NodeJS.ProcessEnv, withoutDefinitions?: ReadonlySet<FeatureId>): SetupStatus;
205
- //#endregion
206
- //#region src/setup/add.d.ts
207
197
  interface SetupAddArgs {
208
198
  features: FeatureId[];
209
199
  json: boolean;
@@ -270,8 +260,6 @@ export declare function planSetupAdd(project: SetupProject, args: SetupAddArgs,
270
260
  /** Applies a `vitehub add` plan: installs the packages, writes the starter Definitions, and writes the config last. */
271
261
  export declare function applySetupAdd(project: SetupProject, planned: SetupAddPlanned, args: Pick<SetupAddArgs, "install">, context: Pick<ViteHubCliContext, "env" | "spawn">): Promise<void>;
272
262
  export declare const addCommand: ViteHubCliCommand;
273
- //#endregion
274
- //#region src/setup/catalog.d.ts
275
263
  interface SetupCatalog {
276
264
  schemaVersion: 1;
277
265
  hosts: readonly FeatureHost[];
@@ -279,12 +267,8 @@ interface SetupCatalog {
279
267
  }
280
268
  /** Every feature of `vitehub({...})` and how each host supports it. Needs no project. */
281
269
  export declare function setupCatalog(): SetupCatalog;
282
- //#endregion
283
- //#region src/setup/commands.d.ts
284
270
  /** The setup commands. They run before the CLI loads the project config. */
285
271
  export declare const setupCommands: readonly ViteHubCliCommand[];
286
- //#endregion
287
- //#region src/setup/console-auth.d.ts
288
272
  /** The hosted Console. `--console` and `VITEHUB_CONSOLE_URL` name a self-hosted one. */
289
273
  export declare const defaultConsoleUrl = "https://console.vitehub.dev";
290
274
  /** An API key for CI. It wins over the saved key, and `vitehub logout` does not remove it. */
@@ -324,8 +308,6 @@ export declare function readConsoleCredential(env: NodeJS.ProcessEnv, console?:
324
308
  export declare const loginCommand: ViteHubCliCommand;
325
309
  export declare const whoamiCommand: ViteHubCliCommand;
326
310
  export declare const logoutCommand: ViteHubCliCommand;
327
- //#endregion
328
- //#region src/setup/envelope.d.ts
329
311
  /** Exit codes of the setup commands. */
330
312
  export declare const setupExitCodes: {
331
313
  readonly done: 0;
@@ -363,8 +345,6 @@ type SetupFailure = Error & {
363
345
  readonly details: SetupFailureDetails;
364
346
  readonly exitCode: number;
365
347
  };
366
- //#endregion
367
- //#region src/setup/link.d.ts
368
348
  /** The link file, relative to the project root. It is gitignored and never holds a secret. */
369
349
  export declare const SETUP_LINK_FILE = ".vitehub/link.json";
370
350
  type SetupLinkHost = CredentialHost;
@@ -374,7 +354,7 @@ interface SetupLinkAccount {
374
354
  }
375
355
  /** One host target of `.vitehub/link.json`. */
376
356
  interface SetupLinkTarget {
377
- /** Absent only for a Deno link without `--account`. */
357
+ /** Can be absent for an unverified Deno link. */
378
358
  account?: SetupLinkAccount;
379
359
  project: {
380
360
  id?: string;
@@ -469,8 +449,6 @@ export declare function readSetupLinkState(project: SetupProject, host: string,
469
449
  }): Promise<SetupLinkState>;
470
450
  /** The link and the credential status for `vitehub status`. The credentials never include the token. */
471
451
  export declare function readSetupLinkStatus(project: SetupProject, host: string, context: ViteHubCliContext): Promise<SetupLinkStatus>;
472
- //#endregion
473
- //#region src/setup/deploy/host.d.ts
474
452
  /** The hosts that `vitehub deploy` deploys to. */
475
453
  type DeployHost = "cloudflare" | "vercel" | "netlify" | "deno";
476
454
  /** The git commit of the deployed source. A folder without git has none. */
@@ -501,8 +479,6 @@ interface HostDeployment {
501
479
  };
502
480
  source: HostDeploymentSource;
503
481
  }
504
- //#endregion
505
- //#region src/setup/deploy/after.d.ts
506
482
  /** One path of `deploy.check`, as the deployed app answered it. */
507
483
  interface DeployCheckResult {
508
484
  path: string;
@@ -533,8 +509,6 @@ type DeployIndexNowOutput = {
533
509
  error: string;
534
510
  status?: number;
535
511
  };
536
- //#endregion
537
- //#region src/setup/deploy/checkouts.d.ts
538
512
  /** What `pushWorkspaces()` returns for one checkout folder, the same as `vitehub push --json`. */
539
513
  interface CheckoutPushResult {
540
514
  workspace: string;
@@ -569,8 +543,6 @@ type DeployCheckoutsOutput = {
569
543
  } | {
570
544
  error: CheckoutPushError;
571
545
  };
572
- //#endregion
573
- //#region src/setup/env.d.ts
574
546
  /** One set of names that the app reads, without its values. */
575
547
  interface EnvDiffEntry {
576
548
  names: readonly string[];
@@ -592,11 +564,7 @@ interface DeployEnvOutput {
592
564
  /** Names that the deploy generated, such as `VITEHUB_SECRET`. They are in `pushed` too. */
593
565
  generated?: string[];
594
566
  }
595
- //#endregion
596
- //#region src/provision.d.ts
597
567
  type ProvisionActionStatus = "create" | "update" | "pending" | "exists";
598
- //#endregion
599
- //#region src/setup/deploy/provision.d.ts
600
568
  /** What `vitehub deploy --json` reports in `provision`. */
601
569
  interface DeployProvisionOutput {
602
570
  /** The resources that this deploy created or changed. Empty when everything existed. */
@@ -609,8 +577,6 @@ interface DeployProvisionOutput {
609
577
  /** The ids of the host resources, by category and key, as `.vitehub/provision.json` records them. */
610
578
  ids: Record<string, Record<string, string>>;
611
579
  }
612
- //#endregion
613
- //#region src/setup/deploy.d.ts
614
580
  interface SetupDeployArgs {
615
581
  /** The host of --host, as the user wrote it. */
616
582
  host?: string;
@@ -657,8 +623,6 @@ interface SetupDeployOutput {
657
623
  }
658
624
  export declare function readDeployArgs(args: readonly string[]): SetupDeployArgs;
659
625
  export declare const deployCommand: ViteHubCliCommand;
660
- //#endregion
661
- //#region src/setup/deployments.d.ts
662
626
  /** How long `vitehub status` waits for the host before it reports `liveReason: "timeout"`. */
663
627
  export declare const STATUS_HOST_TIMEOUT_MS = 5000;
664
628
  /** What `vitehub deployments --json` prints, after `schemaVersion: 1`. */
@@ -695,15 +659,20 @@ export declare function readSetupLive(root: string, link: SetupLink | undefined,
695
659
  offline: boolean;
696
660
  signal?: AbortSignal;
697
661
  }): Promise<SetupLiveStatus>;
698
- //#endregion
699
- //#region src/setup/init.d.ts
662
+ interface SetupStack {
663
+ command: string | null;
664
+ omits: readonly {
665
+ path: string;
666
+ reason: "opaque-config" | "spread" | "expression" | "unresolved-host" | "unresolved-feature" | "disabled-feature" | "unsupported-feature" | "non-replayable-option" | "credential-option" | "required-option" | "unplannable-stack";
667
+ }[];
668
+ }
700
669
  declare const initHosts: readonly ["cloudflare", "vercel", "netlify", "deno", "node"];
701
670
  type InitHost = typeof initHosts[number];
702
671
  type InitFramework = "vite" | "nuxt";
703
672
  /**
704
673
  * The packages of a new app, as `getting-started/installation.md` installs them. The Nitro and H3 versions match the
705
- * server integration of ViteHub. Nuxt 5 supplies Nitro 3, and its tutorials import H3 2. Valibot validates request
706
- * bodies in the docs' route examples.
674
+ * server integration of ViteHub. Nuxt 5 supplies Nitro 3, and a Nuxt 4.7 app also gets `nuxtNitroPackage`. The
675
+ * tutorials import H3 2. Valibot validates request bodies in the docs' route examples.
707
676
  */
708
677
  export declare const initPackages: Readonly<Record<InitFramework, {
709
678
  prod: readonly string[];
@@ -747,21 +716,12 @@ interface SetupInitPlan {
747
716
  devPackages: readonly string[];
748
717
  command?: string;
749
718
  };
750
- /** The command that creates the same stack. README.md keeps it. */
751
- stack: {
752
- command: string;
753
- };
719
+ stack: SetupStack;
754
720
  nextSteps: readonly string[];
755
721
  }
756
722
  /** Reads the arguments. Throws `CLI_R0003` for an unknown flag or value. */
757
723
  export declare function readInitArgs(args: readonly string[]): SetupInitArgs;
758
- /** The stack command in the README.md block of `root`, for `vitehub status`. `null` when there is no block. */
759
- export declare function readSetupStack(root: string): Promise<{
760
- command: string;
761
- } | null>;
762
724
  export declare const initCommandDefinition: ViteHubCliCommand;
763
- //#endregion
764
- //#region src/setup/remove.d.ts
765
725
  interface SetupRemoveArgs {
766
726
  features: FeatureId[];
767
727
  json: boolean;
@@ -833,8 +793,6 @@ export declare function applySetupRemove(project: SetupProject, planned: Planned
833
793
  configLast?: boolean;
834
794
  }): Promise<void>;
835
795
  export declare const removeCommand: ViteHubCliCommand;
836
- //#endregion
837
- //#region src/setup/update.d.ts
838
796
  interface SetupUpdateArgs {
839
797
  dryRun: boolean;
840
798
  help: boolean;
@@ -879,8 +837,6 @@ interface PlannedUpdate {
879
837
  /** Plans the update: finds every ViteHub specifier, resolves the target, and computes the new files. Writes nothing. */
880
838
  export declare function planSetupUpdate(rootDir: string, args: Pick<SetupUpdateArgs, "preview">, context: Pick<ViteHubCliContext, "env" | "fetch">): Promise<PlannedUpdate>;
881
839
  export declare const updateCommand: ViteHubCliCommand;
882
- //#endregion
883
- //#region src/setup/session.d.ts
884
840
  /**
885
841
  * Runs the package manager with an argument array and no shell. `onOutput` gets its stdout and stderr as they arrive.
886
842
  * Tests pass a fake runner.
@@ -960,5 +916,4 @@ export declare function setupRequestArgs(request: unknown): {
960
916
  * `add`, and `remove` do, with the same documents, and keeps each plan until one `apply()` uses it.
961
917
  */
962
918
  export declare function createSetupSession(options: SetupSessionOptions): SetupSession;
963
- //#endregion
964
919
  export type { ConsoleCredential, DeployCommit, HostDeployment, HostDeploymentSource, PlannedRemove, SetupAddArgs, SetupAddPlan, SetupAddPlanned, SetupCatalog, SetupChange, SetupChoice, SetupCommandRunner, SetupDeployArgs, SetupDeployOutput, SetupDeploymentsOutput, SetupError, SetupFailure, SetupFailureDetails, SetupFeatureStatus, SetupFramework, SetupInitArgs, SetupInitPlan, SetupLink, SetupLinkAccount, SetupLinkFile, SetupLinkHost, SetupLinkOptions, SetupLinkResult, SetupLinkSelection, SetupLinkState, SetupLinkStatus, SetupLinkSummary, SetupLinkTarget, SetupLinks, SetupLive, SetupLiveReason, SetupLiveStatus, SetupMissing, SetupOptions, SetupPackageManager, SetupPlanRequest, SetupProject, SetupReference, SetupRemoveArgs, SetupRemovePlan, SetupRerun, SetupSession, SetupSessionOptions, SetupSessionPlanFields, SetupSessionResult, SetupStatus, SetupUpdateArgs, SetupUpdatePlan };
@@ -1,13 +1,13 @@
1
- import { B as readSetupProject, P as setupStatus, c as linkSetupProject, d as readSetupLinkStatus, f as readSetupLinks, m as unlinkSetupProject, p as selectSetupLink, r as SETUP_LINK_FILE, u as readSetupLinkState } from "../env-B1Gg-WnA.js";
2
- import { m as cliErrorDiagnostics } from "../provision-DXl97xG0.js";
3
- import { i as setupFailure, o as writeSetupError, r as setupExitCodes } from "../envelope-B4mPbSbj.js";
4
- import { _ as addCommand, a as updateCommand, b as readAddArgs, c as planSetupRemove, d as initCommandDefinition, f as initPackages, g as setupCatalog, h as readSetupStack, i as readUpdateArgs, l as readRemoveArgs, m as readInitArgs, n as setupCommands, o as updateInstallArgs, p as nuxiPackage, r as planSetupUpdate, s as applySetupRemove, u as removeCommand, v as applySetupAdd, x as shellQuote, y as planSetupAdd } from "../commands-BQucvYlq.js";
5
- import { a as defaultConsoleUrl, c as readConsoleCredential, i as consoleUrlVariable, l as whoamiCommand, n as consoleOrigin, o as loginCommand, r as consoleTokenVariable, s as logoutCommand, t as consoleCredentialsFile } from "../console-auth-B0HxFFiX.js";
6
- import { a as deploymentsCommand, i as STATUS_HOST_TIMEOUT_MS, r as readDeployArgs, s as readSetupLive, t as deployCommand } from "../deploy-C0RdI5OK.js";
1
+ import { _ as applySetupAdd, a as updateCommand, c as planSetupRemove, d as initCommandDefinition, f as initPackages, g as addCommand, h as setupCatalog, i as readUpdateArgs, l as readRemoveArgs, m as readInitArgs, n as setupCommands, o as updateInstallArgs, p as nuxiPackage, r as planSetupUpdate, s as applySetupRemove, u as removeCommand, v as planSetupAdd, y as readAddArgs } from "../commands-C003KqWY.js";
2
+ import { a as defaultConsoleUrl, c as readConsoleCredential, i as consoleUrlVariable, l as whoamiCommand, n as consoleOrigin, o as loginCommand, r as consoleTokenVariable, s as logoutCommand, t as consoleCredentialsFile } from "../console-auth-CpOpbA7U.js";
3
+ import { a as deploymentsCommand, i as STATUS_HOST_TIMEOUT_MS, r as readDeployArgs, s as readSetupLive, t as deployCommand } from "../deploy-BZ2iQjZL.js";
4
+ import { i as setupFailure, o as writeSetupError, r as setupExitCodes } from "../envelope-DbplCDko.js";
5
+ import { F as setupStatus, H as readSetupProject, I as shellQuote, c as linkSetupProject, d as readSetupLinkStatus, f as readSetupLinks, m as unlinkSetupProject, p as selectSetupLink, r as SETUP_LINK_FILE, u as readSetupLinkState } from "../env-DRI0QH4-.js";
6
+ import { m as cliErrorDiagnostics } from "../provision-DlknnTAt.js";
7
7
  import { join } from "pathe";
8
8
  import { readFile } from "node:fs/promises";
9
9
  import { createHash, randomUUID } from "node:crypto";
10
- //#region src/setup/session.ts
10
+ // src/setup/session.ts
11
11
  const featurePattern = /^[a-z][a-z-]*$/iu;
12
12
  function invalid(message) {
13
13
  return cliErrorDiagnostics.CLI_R0003({ message: `[vitehub] ${message}` });
@@ -64,7 +64,6 @@ function setupRequestArgs(request) {
64
64
  argv
65
65
  };
66
66
  }
67
- /** The SHA-256 of each file, or `absent`. */
68
67
  async function fingerprint(root, paths) {
69
68
  const files = /* @__PURE__ */ new Map();
70
69
  for (const path of new Set(paths)) {
@@ -230,5 +229,4 @@ function createSetupSession(options) {
230
229
  }
231
230
  };
232
231
  }
233
- //#endregion
234
- export { SETUP_LINK_FILE, STATUS_HOST_TIMEOUT_MS, addCommand, applySetupAdd, applySetupRemove, consoleCredentialsFile, consoleOrigin, consoleTokenVariable, consoleUrlVariable, createSetupSession, defaultConsoleUrl, deployCommand, deploymentsCommand, initCommandDefinition, initPackages, linkSetupProject, loginCommand, logoutCommand, nuxiPackage, planSetupAdd, planSetupRemove, planSetupUpdate, readAddArgs, readConsoleCredential, readDeployArgs, readInitArgs, readRemoveArgs, readSetupLinkState, readSetupLinkStatus, readSetupLinks, readSetupLive, readSetupProject, readSetupStack, readUpdateArgs, removeCommand, selectSetupLink, setupCatalog, setupCommands, setupExitCodes, setupRequestArgs, setupStatus, unlinkSetupProject, updateCommand, updateInstallArgs, whoamiCommand };
232
+ export { SETUP_LINK_FILE, STATUS_HOST_TIMEOUT_MS, addCommand, applySetupAdd, applySetupRemove, consoleCredentialsFile, consoleOrigin, consoleTokenVariable, consoleUrlVariable, createSetupSession, defaultConsoleUrl, deployCommand, deploymentsCommand, initCommandDefinition, initPackages, linkSetupProject, loginCommand, logoutCommand, nuxiPackage, planSetupAdd, planSetupRemove, planSetupUpdate, readAddArgs, readConsoleCredential, readDeployArgs, readInitArgs, readRemoveArgs, readSetupLinkState, readSetupLinkStatus, readSetupLinks, readSetupLive, readSetupProject, readUpdateArgs, removeCommand, selectSetupLink, setupCatalog, setupCommands, setupExitCodes, setupRequestArgs, setupStatus, unlinkSetupProject, updateCommand, updateInstallArgs, whoamiCommand };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vite-hub/cli",
3
- "version": "0.4.1",
3
+ "version": "0.5.1",
4
4
  "description": "Command-line workflows for ViteHub projects.",
5
5
  "keywords": [
6
6
  "agent",
@@ -42,32 +42,33 @@
42
42
  "./package.json": "./package.json"
43
43
  },
44
44
  "dependencies": {
45
- "@babel/parser": "^7.29.9",
45
+ "@babel/parser": "^8.1.3",
46
46
  "@dotenvx/primitives": "^4.4.0",
47
47
  "@noble/ciphers": "^2.4.0",
48
48
  "@noble/hashes": "^2.4.0",
49
- "@vite-hub/runtime": "0.4.1",
49
+ "@vite-hub/runtime": "0.5.1",
50
50
  "birpc": "^4.2.0",
51
51
  "diff": "^9.0.0",
52
52
  "nostics": "1.4.0",
53
53
  "pathe": "^2.0.3",
54
- "semver": "^7.8.5"
54
+ "rc9": "^3.1.0",
55
+ "semver": "^7.8.6"
55
56
  },
56
57
  "devDependencies": {
57
- "@types/node": "^24.19.1",
58
+ "@types/node": "^24.19.2",
58
59
  "@types/semver": "^7.8.0",
59
- "@vite-hub/forge": "0.4.1",
60
+ "@vite-hub/forge": "0.5.1",
60
61
  "@vite-hub/internal": "0.0.1",
61
- "nuxt": "npm:nuxt-nightly@5.0.0-2611052317-a04317f",
62
+ "nuxt": "npm:nuxt-nightly@5.0.0-2611222336-0ed8910",
62
63
  "typescript": "^6.0.3",
63
64
  "valibot": "^1.5.0",
64
- "vite": "^8.2.2",
65
- "vite-plus": "^0.3.3",
66
- "vitest": "^4.1.11"
65
+ "vite": "^8.3.8",
66
+ "vite-plus": "^1.7.0",
67
+ "vitest": "5.1.0"
67
68
  },
68
69
  "peerDependencies": {
69
- "@vite-hub/forge": "0.4.1",
70
- "nuxt": ">=5.0.0-0",
70
+ "@vite-hub/forge": "0.5.1",
71
+ "nuxt": "^4.7.0 || >=5.0.0-0",
71
72
  "vite": ">=8.0.0"
72
73
  },
73
74
  "engines": {