void 0.7.1 → 0.7.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 (167) hide show
  1. package/dist/agents-DqkFfc2c.mjs +151 -0
  2. package/dist/{auth-cmd-DVKi6dzh.mjs → auth-cmd-Dk0acCT5.mjs} +2 -2
  3. package/dist/{better-auth-shared-C9_GHSkR.d.mts → better-auth-shared-CZsIpjey.d.mts} +1 -1
  4. package/dist/{cache-B0BgSTZi.mjs → cache-DGSZ5Bh6.mjs} +2 -2
  5. package/dist/{cancel-deploy-D9OFt5gA.mjs → cancel-deploy-CrY3kt93.mjs} +1 -1
  6. package/dist/cli/cli.mjs +27 -174
  7. package/dist/{client-BUdfE3QJ.mjs → client-DCqnMpDt.mjs} +97 -11
  8. package/dist/{create-project-CN1pF-OQ.mjs → create-project-Bg88Kq_I.mjs} +3 -3
  9. package/dist/{db-BIP2kuEt.mjs → db-ClNu7vYQ.mjs} +13 -13
  10. package/dist/{delete-DJTvwbr-.mjs → delete-DXcX1yQZ.mjs} +2 -2
  11. package/dist/{deploy-BqXz1ycW.mjs → deploy-BkjqNk9U.mjs} +565 -161
  12. package/dist/{domain-B-fIU3VE.mjs → domain-CDQhvYNZ.mjs} +1 -1
  13. package/dist/{env-BwbZJd2x.mjs → env-CnrQY2b6.mjs} +1 -1
  14. package/dist/{env-helpers-Dr9Y7RnE.d.mts → env-helpers-CbeM_7-k.d.mts} +1 -1
  15. package/dist/{gen-U0Ktr4Zd.mjs → gen-C0EY2k27.mjs} +1 -1
  16. package/dist/{handler-B0ds0OHJ.d.mts → handler-dKQWyF-G.d.mts} +3 -3
  17. package/dist/index.d.mts +3 -3
  18. package/dist/index.mjs +13 -12
  19. package/dist/{init-Bb_Qsdq6.mjs → init-CPny6w9D.mjs} +63 -28
  20. package/dist/{link-D4d26PCm.mjs → link-eZ0aiHFK.mjs} +2 -2
  21. package/dist/{list-bQc1eQCZ.mjs → list-ztyEz4TW.mjs} +2 -2
  22. package/dist/{login-RWUDCfdx.mjs → login-B5HHT32i.mjs} +1 -1
  23. package/dist/{logs-DrkTklop.mjs → logs-J4BN0LXd.mjs} +1 -1
  24. package/dist/{mcp-kZ4zg13a.mjs → mcp-Bdu9bnjR.mjs} +1 -1
  25. package/dist/{node-DDfXj10V.mjs → node-DFqMcZR1.mjs} +3 -3
  26. package/dist/pages/client.d.mts +1 -1
  27. package/dist/pages/client.mjs +3 -0
  28. package/dist/pages/head-client.d.mts +1 -1
  29. package/dist/pages/head.d.mts +1 -1
  30. package/dist/pages/index.d.mts +2 -2
  31. package/dist/pages/index.mjs +1 -1
  32. package/dist/pages/islands-plugin.d.mts +1 -1
  33. package/dist/pages/protocol.d.mts +2 -2
  34. package/dist/pages/protocol.mjs +23 -18
  35. package/dist/{prepare-BAtWufvm.mjs → prepare-DKkx-2Kt.mjs} +1 -1
  36. package/dist/{project-cmd-ATFi3kRm.mjs → project-cmd-DKiQYdSd.mjs} +8 -8
  37. package/dist/{protocol-BWzXs2A2.d.mts → protocol-CK4OFwfR.d.mts} +2 -2
  38. package/dist/{rollback-BSyita3C.mjs → rollback-ZNvT8T54.mjs} +1 -1
  39. package/dist/{runner-6Ep3fNQu.mjs → runner-BUPRnMFN.mjs} +1 -1
  40. package/dist/runtime/ai.mjs +1 -1
  41. package/dist/runtime/auth.d.mts +1 -1
  42. package/dist/runtime/better-auth-pg.d.mts +1 -1
  43. package/dist/runtime/better-auth-pg.mjs +2 -2
  44. package/dist/runtime/better-auth.d.mts +1 -1
  45. package/dist/runtime/better-auth.mjs +2 -2
  46. package/dist/runtime/client.d.mts +2 -2
  47. package/dist/runtime/client.mjs +1 -1
  48. package/dist/runtime/env-helpers.d.mts +1 -1
  49. package/dist/runtime/env-public-client.d.mts +1 -1
  50. package/dist/runtime/env-public.d.mts +2 -2
  51. package/dist/runtime/env-public.mjs +1 -1
  52. package/dist/runtime/env.mjs +1 -1
  53. package/dist/runtime/fetch-stream.d.mts +1 -1
  54. package/dist/runtime/fetch-stream.mjs +1 -1
  55. package/dist/runtime/fetch.d.mts +1 -1
  56. package/dist/runtime/fetch.mjs +1 -1
  57. package/dist/runtime/handler.d.mts +1 -1
  58. package/dist/runtime/handler.mjs +1 -1
  59. package/dist/runtime/isr.mjs +1 -1
  60. package/dist/runtime/migration-handler.mjs +2 -2
  61. package/dist/runtime/validator.d.mts +1 -1
  62. package/dist/runtime/ws-server.d.mts +2 -2
  63. package/dist/runtime/ws.d.mts +3 -3
  64. package/dist/{secret-DmjBDxB1.mjs → secret-BXHx515u.mjs} +2 -2
  65. package/dist/{skills-ipldjlKE.mjs → skills-CbuYOthf.mjs} +1 -1
  66. package/package.json +13 -13
  67. package/skills/void/docs/guide/deployment.md +4 -6
  68. package/skills/void/docs/index.md +3 -3
  69. package/skills/void/docs/node_modules/void/AGENTS.md +1 -1
  70. package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +1 -1
  71. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +1 -1
  72. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/AGENTS.md +15 -0
  73. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/README.md +208 -0
  74. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/build.md +21 -0
  75. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/fmt.md +18 -0
  76. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/index.md +31 -0
  77. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/lint.md +24 -0
  78. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/pack.md +17 -0
  79. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/run.md +249 -0
  80. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/staged.md +15 -0
  81. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/test.md +18 -0
  82. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/build.md +40 -0
  83. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/cache.md +119 -0
  84. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/check.md +44 -0
  85. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ci.md +64 -0
  86. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/commit-hooks.md +51 -0
  87. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/create.md +88 -0
  88. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/dev.md +24 -0
  89. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/env.md +102 -0
  90. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/fmt.md +41 -0
  91. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ide-integration.md +101 -0
  92. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/implode.md +23 -0
  93. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/index.md +128 -0
  94. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/install.md +147 -0
  95. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/lint.md +50 -0
  96. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate.md +173 -0
  97. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/pack.md +61 -0
  98. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/run.md +324 -0
  99. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/test.md +35 -0
  100. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/troubleshooting.md +132 -0
  101. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/upgrade.md +49 -0
  102. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/vpx.md +66 -0
  103. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/why.md +39 -0
  104. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/index.md +12 -0
  105. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/team.md +35 -0
  106. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/generator/README.md +35 -0
  107. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/monorepo/README.md +29 -0
  108. package/skills/void/docs/node_modules/void/node_modules/vite-plus/AGENTS.md +15 -0
  109. package/skills/void/docs/node_modules/void/node_modules/vite-plus/README.md +208 -0
  110. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/build.md +21 -0
  111. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/fmt.md +18 -0
  112. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/index.md +31 -0
  113. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/lint.md +24 -0
  114. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/pack.md +17 -0
  115. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/run.md +249 -0
  116. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/staged.md +15 -0
  117. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/test.md +18 -0
  118. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/build.md +40 -0
  119. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/cache.md +119 -0
  120. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/check.md +44 -0
  121. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ci.md +64 -0
  122. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/commit-hooks.md +51 -0
  123. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/create.md +88 -0
  124. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/dev.md +24 -0
  125. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/env.md +102 -0
  126. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/fmt.md +41 -0
  127. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ide-integration.md +101 -0
  128. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/implode.md +23 -0
  129. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/index.md +128 -0
  130. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/install.md +147 -0
  131. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/lint.md +50 -0
  132. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate.md +173 -0
  133. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/pack.md +61 -0
  134. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/run.md +324 -0
  135. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/test.md +35 -0
  136. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/troubleshooting.md +132 -0
  137. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/upgrade.md +49 -0
  138. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/vpx.md +66 -0
  139. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/why.md +39 -0
  140. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/index.md +12 -0
  141. package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/team.md +35 -0
  142. package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/generator/README.md +35 -0
  143. package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/monorepo/README.md +29 -0
  144. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tsdown/README.md +0 -55
  145. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/LICENSE.md +0 -2230
  146. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/README.md +0 -20
  147. package/skills/void/docs/node_modules/void/node_modules/tsdown/README.md +0 -55
  148. package/skills/void/docs/node_modules/void/node_modules/vite/LICENSE.md +0 -2230
  149. package/skills/void/docs/node_modules/void/node_modules/vite/README.md +0 -20
  150. /package/dist/{auth-BdsJ0Aff.d.mts → auth-DrfOTMmr.d.mts} +0 -0
  151. /package/dist/{auth-migrations-BAtAck2g.mjs → auth-migrations-BwLPwRgH.mjs} +0 -0
  152. /package/dist/{better-auth-shared-CdYmQGry.mjs → better-auth-shared-APuDaPqW.mjs} +0 -0
  153. /package/dist/{defer-DcxEsVH1.mjs → defer-2ARBu8Et.mjs} +0 -0
  154. /package/dist/{drizzle-NnudE_UN.mjs → drizzle-C-NRqGhx.mjs} +0 -0
  155. /package/dist/{env-raw-BDL4TvdN.mjs → env-raw-DtfQ9E31.mjs} +0 -0
  156. /package/dist/{fetch-error-BQ8sZ5Nd.mjs → fetch-error-CEr0ACTl.mjs} +0 -0
  157. /package/dist/{fetch-error-CVZ5CGA-.d.mts → fetch-error-DflegrF3.d.mts} +0 -0
  158. /package/dist/{head-P-egrtFE.d.mts → head-CZGAunBV.d.mts} +0 -0
  159. /package/dist/{headers-DCXc7mDs.mjs → headers-YVkHjOyq.mjs} +0 -0
  160. /package/dist/{preset-D4I73kT4.mjs → preset-DFvePt0l.mjs} +0 -0
  161. /package/dist/{project-slug-CKam8lF9.mjs → project-slug-KRvHQEQI.mjs} +0 -0
  162. /package/dist/{resolve-project-Br5BR03U.mjs → resolve-project-DdjLQ2tB.mjs} +0 -0
  163. /package/dist/{runner-pg-D0wWHYnr.mjs → runner-pg-BI6f6Ncm.mjs} +0 -0
  164. /package/dist/{standard-schema-9CRjx-uR.d.mts → standard-schema-BfGDWXff.d.mts} +0 -0
  165. /package/dist/{subcommand-prompt-BKjuNAPb.mjs → subcommand-prompt-BMS1TNG5.mjs} +0 -0
  166. /package/dist/{types-mHOEwpW4.d.mts → types-AdKzPp2C.d.mts} +0 -0
  167. /package/dist/{yarn-pnp-BFqMV_bl.mjs → yarn-pnp-6LD6_3Ej.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { a as ensureUtc, i as dim, n as cliTitle, r as createSpinner, s as import_picocolors } from "./output-BwlcIYSR.mjs";
2
2
  import { _ as me, c as R, g as ge, i as Ee, v as ue, x as q, y as ye } from "./dist-Dayj3gCK.mjs";
3
3
  import { r as readProjectConfig } from "./project-TqORyHn8.mjs";
4
- import { n as PlatformClient, s as getToken } from "./client-BUdfE3QJ.mjs";
4
+ import { c as getToken, n as PlatformClient } from "./client-DCqnMpDt.mjs";
5
5
  //#region src/cli/rollback.ts
6
6
  async function runRollbackCommand(root, deployId) {
7
7
  console.log();
@@ -6,7 +6,7 @@ import { createHash, createHmac } from "node:crypto";
6
6
  function toBetterSqlite3Error(error) {
7
7
  const message = error instanceof Error ? error.message : String(error);
8
8
  if (!message.includes("Could not locate the bindings file")) return error instanceof Error ? error : new Error(message);
9
- return /* @__PURE__ */ new Error("db: better-sqlite3 is installed but its native binding was not built. Add it to your 'onlyBuiltDependencies' and run `pnpm rebuild better-sqlite3`. See https://pnpm.io/settings#onlybuiltdependencies");
9
+ return /* @__PURE__ */ new Error("db: better-sqlite3 is installed but its native binding was not built. Set `allowBuilds.better-sqlite3` to `true` in pnpm-workspace.yaml and run `pnpm rebuild better-sqlite3`. See https://pnpm.io/settings#allowbuilds");
10
10
  }
11
11
  async function openSqliteDatabase(dbPath, options) {
12
12
  try {
@@ -1,5 +1,5 @@
1
1
  import { t as cfAccessHeaders } from "../cf-access-Dee5cXxL.mjs";
2
- import { i as getRawRuntimeEnv } from "../env-raw-BDL4TvdN.mjs";
2
+ import { i as getRawRuntimeEnv } from "../env-raw-DtfQ9E31.mjs";
3
3
  //#region src/runtime/ai-types.ts
4
4
  /** Maps provider prefix to expected env var name for the API key */
5
5
  const PROVIDER_KEY_MAP = {
@@ -1,2 +1,2 @@
1
- import { a as VoidAuthConfigContext, c as getSession, i as VoidAuthConfig, l as getUser, n as AuthState, o as authContext, r as AuthUser, s as defineAuth, t as AuthSession, u as requireAuth } from "../auth-BdsJ0Aff.mjs";
1
+ import { a as VoidAuthConfigContext, c as getSession, i as VoidAuthConfig, l as getUser, n as AuthState, o as authContext, r as AuthUser, s as defineAuth, t as AuthSession, u as requireAuth } from "../auth-DrfOTMmr.mjs";
2
2
  export { AuthSession, AuthState, AuthUser, VoidAuthConfig, VoidAuthConfigContext, authContext, defineAuth, getSession, getUser, requireAuth };
@@ -1,4 +1,4 @@
1
- import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-C9_GHSkR.mjs";
1
+ import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-CZsIpjey.mjs";
2
2
 
3
3
  //#region src/runtime/better-auth-pg.d.ts
4
4
  declare const resolveVoidAuthOptions: VoidAuthRuntimeApi["resolveVoidAuthOptions"];
@@ -1,5 +1,5 @@
1
- import { t as applyPgAuthMigrations } from "../auth-migrations-BAtAck2g.mjs";
2
- import { t as createVoidAuthRuntime } from "../better-auth-shared-CdYmQGry.mjs";
1
+ import { t as applyPgAuthMigrations } from "../auth-migrations-BwLPwRgH.mjs";
2
+ import { t as createVoidAuthRuntime } from "../better-auth-shared-APuDaPqW.mjs";
3
3
  //#region src/runtime/better-auth-pg.ts
4
4
  function resolveConnectionString(env) {
5
5
  const connectionString = typeof env.DATABASE_URL === "string" && env.DATABASE_URL.length > 0 ? env.DATABASE_URL : typeof env.HYPERDRIVE?.connectionString === "string" && env.HYPERDRIVE.connectionString.length > 0 ? env.HYPERDRIVE.connectionString : void 0;
@@ -1,4 +1,4 @@
1
- import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-C9_GHSkR.mjs";
1
+ import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv, r as VoidAuthRuntimeApi, t as VoidAuthDialect } from "../better-auth-shared-CZsIpjey.mjs";
2
2
 
3
3
  //#region src/runtime/better-auth.d.ts
4
4
  declare const resolveVoidAuthOptions: VoidAuthRuntimeApi["resolveVoidAuthOptions"];
@@ -1,5 +1,5 @@
1
- import { n as applySqliteAuthMigrations } from "../auth-migrations-BAtAck2g.mjs";
2
- import { t as createVoidAuthRuntime } from "../better-auth-shared-CdYmQGry.mjs";
1
+ import { n as applySqliteAuthMigrations } from "../auth-migrations-BwLPwRgH.mjs";
2
+ import { t as createVoidAuthRuntime } from "../better-auth-shared-APuDaPqW.mjs";
3
3
  //#region src/runtime/better-auth.ts
4
4
  async function resolveDatabase(env) {
5
5
  if (!env.DB) throw new Error("auth: Better Auth requires the \"DB\" D1 binding for sqlite apps.");
@@ -1,6 +1,6 @@
1
- import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-BdsJ0Aff.mjs";
1
+ import { n as AuthState, r as AuthUser, t as AuthSession } from "../auth-DrfOTMmr.mjs";
2
2
  import { auth, createAuthClient } from "./auth-client.mjs";
3
- import { t as FetchError } from "../fetch-error-CVZ5CGA-.mjs";
3
+ import { t as FetchError } from "../fetch-error-DflegrF3.mjs";
4
4
  import { fetch } from "./fetch.mjs";
5
5
  import { fetchStream } from "./fetch-stream.mjs";
6
6
  export { type AuthSession, type AuthState, type AuthUser, FetchError, FetchError as StreamError, auth, createAuthClient, fetch, fetchStream };
@@ -1,4 +1,4 @@
1
- import { t as FetchError } from "../fetch-error-BQ8sZ5Nd.mjs";
1
+ import { t as FetchError } from "../fetch-error-CEr0ACTl.mjs";
2
2
  import { fetch } from "./fetch.mjs";
3
3
  import { fetchStream } from "./fetch-stream.mjs";
4
4
  import { auth, createAuthClient } from "./auth-client.mjs";
@@ -1,2 +1,2 @@
1
- import { a as getSecretOverride, c as oneOf, i as email, l as string, n as SECRET_OVERRIDE_SYMBOL, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-Dr9Y7RnE.mjs";
1
+ import { a as getSecretOverride, c as oneOf, i as email, l as string, n as SECRET_OVERRIDE_SYMBOL, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-CbeM_7-k.mjs";
2
2
  export { EnvSchema, SECRET_OVERRIDE_SYMBOL, boolean, email, getSecretOverride, json, number, oneOf, string, url };
@@ -1,4 +1,4 @@
1
- import { c as oneOf, i as email, l as string, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-Dr9Y7RnE.mjs";
1
+ import { c as oneOf, i as email, l as string, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-CbeM_7-k.mjs";
2
2
 
3
3
  //#region src/runtime/env-public-client.d.ts
4
4
  declare const env: Record<string, unknown>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@cloudflare/workers-types" />
2
- import { t as StandardSchemaV1 } from "../standard-schema-9CRjx-uR.mjs";
3
- import { c as oneOf, i as email, l as string, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-Dr9Y7RnE.mjs";
2
+ import { t as StandardSchemaV1 } from "../standard-schema-BfGDWXff.mjs";
3
+ import { c as oneOf, i as email, l as string, o as json, r as boolean, s as number, t as EnvSchema, u as url } from "../env-helpers-CbeM_7-k.mjs";
4
4
  import * as _$_cloudflare_sandbox0 from "@cloudflare/sandbox";
5
5
 
6
6
  //#region src/runtime/env-public.d.ts
@@ -1,4 +1,4 @@
1
- import { i as getRawRuntimeEnv } from "../env-raw-BDL4TvdN.mjs";
1
+ import { i as getRawRuntimeEnv } from "../env-raw-DtfQ9E31.mjs";
2
2
  import { getRuntimeEnv } from "./env.mjs";
3
3
  import { boolean, email, getSecretOverride, json, number, oneOf, string, url } from "./env-helpers.mjs";
4
4
  //#region src/shared/env-mask.ts
@@ -1,4 +1,4 @@
1
- import { i as getRawRuntimeEnv, n as asEnv, r as envContext, t as INTERNAL_BINDING_PREFIXES } from "../env-raw-BDL4TvdN.mjs";
1
+ import { i as getRawRuntimeEnv, n as asEnv, r as envContext, t as INTERNAL_BINDING_PREFIXES } from "../env-raw-DtfQ9E31.mjs";
2
2
  //#region src/runtime/env.ts
3
3
  /**
4
4
  * Public runtime env API — exposed via "void/_env".
@@ -1,4 +1,4 @@
1
- import { t as FetchError } from "../fetch-error-CVZ5CGA-.mjs";
1
+ import { t as FetchError } from "../fetch-error-DflegrF3.mjs";
2
2
  import { RouteMap } from "void/routes";
3
3
 
4
4
  //#region src/runtime/fetch-stream.d.ts
@@ -1,4 +1,4 @@
1
- import { n as ofetch, t as FetchError } from "../fetch-error-BQ8sZ5Nd.mjs";
1
+ import { n as ofetch, t as FetchError } from "../fetch-error-CEr0ACTl.mjs";
2
2
  //#region src/runtime/fetch-stream.ts
3
3
  /**
4
4
  * Consume an SSE endpoint as an async generator of text chunks.
@@ -1,4 +1,4 @@
1
- import { t as FetchError } from "../fetch-error-CVZ5CGA-.mjs";
1
+ import { t as FetchError } from "../fetch-error-DflegrF3.mjs";
2
2
  import { RouteMap } from "void/routes";
3
3
 
4
4
  //#region src/runtime/fetch.d.ts
@@ -1,4 +1,4 @@
1
- import { n as ofetch, t as FetchError } from "../fetch-error-BQ8sZ5Nd.mjs";
1
+ import { n as ofetch, t as FetchError } from "../fetch-error-CEr0ACTl.mjs";
2
2
  //#region src/runtime/fetch.ts
3
3
  async function fetch(path, options) {
4
4
  let url = path;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="@cloudflare/workers-types" />
2
- import { C as HandlerInput, S as ValidationError, _ as defineScheduled, a as QueueBatch, b as InferProps, c as RenderAssetTags, d as VoidAssetRewriteError, f as defineHandler, g as defineRender, h as defineQueue, i as CloudEnv, l as TypedHandler, m as defineMiddleware, n as CloudContext, o as QueueMessage, p as defineHead, r as CloudContextVariables, s as QueueRetryOptions, t as CloudBindings, u as TypedQueueHandler, v as Deferred, w as ValidatorSlots, x as defer } from "../handler-B0ds0OHJ.mjs";
2
+ import { C as HandlerInput, S as ValidationError, _ as defineScheduled, a as QueueBatch, b as InferProps, c as RenderAssetTags, d as VoidAssetRewriteError, f as defineHandler, g as defineRender, h as defineQueue, i as CloudEnv, l as TypedHandler, m as defineMiddleware, n as CloudContext, o as QueueMessage, p as defineHead, r as CloudContextVariables, s as QueueRetryOptions, t as CloudBindings, u as TypedQueueHandler, v as Deferred, w as ValidatorSlots, x as defer } from "../handler-dKQWyF-G.mjs";
3
3
  export { CloudBindings, CloudContext, CloudContextVariables, CloudEnv, Deferred, HandlerInput, InferProps, QueueBatch, QueueMessage, QueueRetryOptions, RenderAssetTags, TypedHandler, TypedQueueHandler, ValidationError, ValidatorSlots, VoidAssetRewriteError, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
@@ -1,6 +1,6 @@
1
1
  import { convertReturnValue } from "./response.mjs";
2
2
  import { runValidation } from "./validator.mjs";
3
- import { i as ValidationError, n as defer } from "../defer-DcxEsVH1.mjs";
3
+ import { i as ValidationError, n as defer } from "../defer-2ARBu8Et.mjs";
4
4
  //#region src/runtime/handler.ts
5
5
  /**
6
6
  * Thrown when `c.rewrite()` is called with a destination whose final path
@@ -1,4 +1,4 @@
1
- import { i as getRawRuntimeEnv } from "../env-raw-BDL4TvdN.mjs";
1
+ import { i as getRawRuntimeEnv } from "../env-raw-DtfQ9E31.mjs";
2
2
  //#region src/runtime/isr.ts
3
3
  /**
4
4
  * Revalidate ISR-cached pages on demand.
@@ -62,8 +62,8 @@ async function runD1Migrations(db, migrations) {
62
62
  }
63
63
  const start = Date.now();
64
64
  try {
65
- const statements = m.sql.split(";").map((s) => s.trim()).filter((s) => s.length > 0);
66
- await db.batch([...statements.map((s) => db.prepare(s)), db.prepare("INSERT INTO _void_migrations (name, applied_at) VALUES (?, ?)").bind(m.name, (/* @__PURE__ */ new Date()).toISOString())]);
65
+ await db.exec(m.sql);
66
+ await db.prepare("INSERT OR IGNORE INTO _void_migrations (name, applied_at) VALUES (?, ?)").bind(m.name, (/* @__PURE__ */ new Date()).toISOString()).run();
67
67
  migrationResults.push({
68
68
  name: m.name,
69
69
  applied: true,
@@ -1,2 +1,2 @@
1
- import { C as HandlerInput, T as runValidation, w as ValidatorSlots } from "../handler-B0ds0OHJ.mjs";
1
+ import { C as HandlerInput, T as runValidation, w as ValidatorSlots } from "../handler-dKQWyF-G.mjs";
2
2
  export { HandlerInput, ValidatorSlots, runValidation };
@@ -1,5 +1,5 @@
1
- import { n as AuthState } from "../auth-BdsJ0Aff.mjs";
2
- import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv } from "../better-auth-shared-C9_GHSkR.mjs";
1
+ import { n as AuthState } from "../auth-DrfOTMmr.mjs";
2
+ import { i as VoidAuthRuntimeOptions, n as VoidAuthEnv } from "../better-auth-shared-CZsIpjey.mjs";
3
3
  import { AnyWebSocketDefinition } from "./ws.mjs";
4
4
 
5
5
  //#region src/runtime/ws-server.d.ts
@@ -1,6 +1,6 @@
1
- import { r as AuthUser } from "../auth-BdsJ0Aff.mjs";
2
- import { t as StandardSchemaV1 } from "../standard-schema-9CRjx-uR.mjs";
3
- import { i as CloudEnv } from "../handler-B0ds0OHJ.mjs";
1
+ import { r as AuthUser } from "../auth-DrfOTMmr.mjs";
2
+ import { t as StandardSchemaV1 } from "../standard-schema-BfGDWXff.mjs";
3
+ import { i as CloudEnv } from "../handler-dKQWyF-G.mjs";
4
4
  import { WebSocketRouteMap } from "void/routes";
5
5
 
6
6
  //#region src/runtime/ws.d.ts
@@ -1,8 +1,8 @@
1
1
  import { n as cliTitle } from "./output-BwlcIYSR.mjs";
2
2
  import { _ as me, c as R, g as ge, n as Ce, u as Se, v as ue, x as q, y as ye } from "./dist-Dayj3gCK.mjs";
3
3
  import { r as readProjectConfig } from "./project-TqORyHn8.mjs";
4
- import { n as PlatformClient, s as getToken } from "./client-BUdfE3QJ.mjs";
5
- import { r as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-Br5BR03U.mjs";
4
+ import { c as getToken, n as PlatformClient } from "./client-DCqnMpDt.mjs";
5
+ import { r as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-DdjLQ2tB.mjs";
6
6
  import { readFileSync } from "node:fs";
7
7
  //#region src/cli/secret.ts
8
8
  async function runSecretCommand(root, args) {
@@ -1,6 +1,6 @@
1
1
  import { a as join, o as relative } from "./pathe.M-eThtNZ-D-kmWkCS.mjs";
2
2
  import { c as R } from "./dist-Dayj3gCK.mjs";
3
- import { r as getPackageDir } from "./cli/cli.mjs";
3
+ import { r as getPackageDir } from "./agents-DqkFfc2c.mjs";
4
4
  import { existsSync, mkdirSync, readFileSync, readdirSync, readlinkSync, symlinkSync } from "node:fs";
5
5
  //#region src/cli/skills.ts
6
6
  function parseSkills(skillsDir) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "void",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/voidzero-dev/void.git",
@@ -262,9 +262,9 @@
262
262
  }
263
263
  },
264
264
  "dependencies": {
265
- "@cloudflare/sandbox": "^0.9.3",
266
- "@cloudflare/vite-plugin": "^1.36.0",
267
- "@cloudflare/workers-types": "^4.20260506.1",
265
+ "@cloudflare/sandbox": "^0.10.0",
266
+ "@cloudflare/vite-plugin": "^1.36.3",
267
+ "@cloudflare/workers-types": "^4.20260508.1",
268
268
  "@hono/oauth-providers": "^0.8.5",
269
269
  "@napi-rs/keyring": "1.3.0",
270
270
  "better-auth": "^1.6.9",
@@ -275,19 +275,19 @@
275
275
  "drizzle-orm": "^0.45.2",
276
276
  "drizzle-valibot": "^0.4.2",
277
277
  "drizzle-zod": "^0.8.3",
278
- "hono": "^4.12.17",
278
+ "hono": "^4.12.18",
279
279
  "ignore": "^7.0.5",
280
280
  "jsonc-parser": "3.3.1",
281
281
  "pg": "^8.20.0",
282
- "wrangler": "^4.88.0"
282
+ "wrangler": "^4.90.0"
283
283
  },
284
284
  "devDependencies": {
285
285
  "@clack/prompts": "^1.3.0",
286
286
  "@electric-sql/pglite": "0.4.5",
287
287
  "@types/better-sqlite3": "^7.6.13",
288
- "@types/node": "^25.6.0",
288
+ "@types/node": "^25.6.2",
289
289
  "@types/pg": "^8.20.0",
290
- "@typescript/native-preview": "7.0.0-dev.20260505.1",
290
+ "@typescript/native-preview": "7.0.0-dev.20260507.1",
291
291
  "arktype": "^2.2.0",
292
292
  "es-module-lexer": "^2.1.0",
293
293
  "estree-walker": "^3.0.3",
@@ -297,9 +297,9 @@
297
297
  "pglite-server": "0.1.5",
298
298
  "picocolors": "^1.1.1",
299
299
  "tinyglobby": "^0.2.16",
300
- "tsdown": "^0.21.10",
301
300
  "valibot": "^1.4.0",
302
- "vite": "^8.0.10",
301
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.1.20",
302
+ "vite-plus": "^0.1.20",
303
303
  "zod": "^4.4.3"
304
304
  },
305
305
  "peerDependencies": {
@@ -307,7 +307,7 @@
307
307
  "valibot": ">=1.0.0-beta.7",
308
308
  "vite": "^8.0.0",
309
309
  "zod": "^3.25.0 || ^4.0.0",
310
- "@void/md": "0.7.1"
310
+ "@void/md": "0.7.3"
311
311
  },
312
312
  "peerDependenciesMeta": {
313
313
  "@void/md": {
@@ -324,8 +324,8 @@
324
324
  }
325
325
  },
326
326
  "scripts": {
327
- "build": "node scripts/sync-skill-docs.mjs && tsdown",
328
- "dev": "tsdown --watch",
327
+ "build": "node scripts/sync-skill-docs.mjs && vp pack",
328
+ "dev": "vp pack --watch",
329
329
  "typecheck": "tsgo --noEmit"
330
330
  }
331
331
  }
@@ -77,13 +77,11 @@ jobs:
77
77
  runs-on: ubuntu-latest
78
78
  steps:
79
79
  - uses: actions/checkout@v4
80
- - uses: pnpm/action-setup@v4
81
- - uses: actions/setup-node@v4
80
+ - uses: voidzero-dev/setup-vp@v1
82
81
  with:
83
- node-version: 22
84
- cache: pnpm
85
- - run: pnpm install
86
- - run: pnpm void deploy
82
+ node-version: '22'
83
+ cache: true
84
+ - run: vp exec void deploy
87
85
  env:
88
86
  VOID_TOKEN: ${{ secrets.VOID_TOKEN }}
89
87
  VOID_PROJECT: my-app
@@ -11,8 +11,8 @@ hero:
11
11
  text: Get Started
12
12
  link: ./guide/
13
13
  - theme: alt
14
- text: View on GitHub
15
- link: https://github.com/voidzero-dev/void
14
+ text: Join Early Access
15
+ link: https://tally.so/r/D4VE85
16
16
  image:
17
17
  src: /hero.svg
18
18
  alt: Void deployment platform
@@ -38,7 +38,7 @@ features:
38
38
  details: '`void deploy` builds your app, runs migrations, provisions resources, and deploys to Cloudflare Workers, without requiring a Cloudflare account or knowledge about the infra.'
39
39
 
40
40
  footer_heading: Build and Deploy at Warp Speed
41
- footer_subheading: npm install void
41
+ footer_subheading: Vite. Optimized. Isomorphic. Deploy.
42
42
  ---
43
43
 
44
44
  <script setup>
@@ -128,7 +128,7 @@ When `voidInternalStaging` is true:
128
128
  - **Site domain**: uses `staging.void.app` for generated project URLs
129
129
  - **Proxy**: injects staging proxy bindings for local dev AI and prerendering
130
130
 
131
- Build output uses `.mjs` / `.d.mts` extensions (tsdown 0.20.3 default).
131
+ Build output uses `.mjs` / `.d.mts` extensions (`vp pack` / tsdown default).
132
132
 
133
133
  ### Route Filename Parsing Rules
134
134
 
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 10 Apr 2026 03:39:58 GMT
11
+ * Last updated: Thu, 07 May 2026 22:21:35 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 10 Apr 2026 03:39:58 GMT
11
+ * Last updated: Thu, 07 May 2026 22:21:35 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -0,0 +1,15 @@
1
+ <!--VITE PLUS START-->
2
+
3
+ # Using Vite+, the Unified Toolchain for the Web
4
+
5
+ This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called `vp`. Vite+ is distinct from Vite, and it invokes Vite through `vp dev` and `vp build`. Run `vp help` to print a list of commands and `vp <command> --help` for information about a specific command.
6
+
7
+ Docs are local at `node_modules/vite-plus/docs` or online at https://viteplus.dev/guide/.
8
+
9
+ ## Review Checklist
10
+
11
+ - [ ] Run `vp install` after pulling remote changes and before getting started.
12
+ - [ ] Run `vp check` and `vp test` to format, lint, type check and test changes.
13
+ - [ ] Check if there are `vite.config.ts` tasks or `package.json` scripts necessary for validation, run via `vp run <script>`.
14
+
15
+ <!--VITE PLUS END-->
@@ -0,0 +1,208 @@
1
+ # VITE+(⚡︎) Local CLI
2
+
3
+ **The Unified Toolchain for the Web**
4
+ _runtime and package management, create, dev, check, test, build, pack, and monorepo task caching in a single dependency_
5
+
6
+ This package provides the project-local version of Vite+. The global `vite` command automatically delegates to this package for all project-specific tasks.
7
+
8
+ ---
9
+
10
+ Vite+ is the unified entry point for local web development. It combines [Vite](https://vite.dev/), [Vitest](https://vitest.dev/), [Oxlint](https://oxc.rs/docs/guide/usage/linter.html), [Oxfmt](https://oxc.rs/docs/guide/usage/formatter.html), [Rolldown](https://rolldown.rs/), [tsdown](https://tsdown.dev/), and [Vite Task](https://github.com/voidzero-dev/vite-task) into one zero-config toolchain that also manages runtime and package manager workflows:
11
+
12
+ - **`vp env`:** Manage Node.js globally and per project
13
+ - **`vp install`:** Install dependencies with automatic package manager detection
14
+ - **`vp dev`:** Run Vite's fast native ESM dev server with instant HMR
15
+ - **`vp check`:** Run formatting, linting, and type checks in one command
16
+ - **`vp test`:** Run tests through bundled Vitest
17
+ - **`vp build`:** Build applications for production with Vite + Rolldown
18
+ - **`vp run`:** Execute monorepo tasks with caching and dependency-aware scheduling
19
+ - **`vp pack`:** Build libraries for npm publishing or standalone app binaries
20
+ - **`vp create` / `vp migrate`:** Scaffold new projects and migrate existing ones
21
+
22
+ All of this is configured from your project root and works across Vite's framework ecosystem.
23
+ Vite+ is fully open-source under the MIT license.
24
+
25
+ ## Getting Started
26
+
27
+ Install Vite+ globally as `vp`:
28
+
29
+ For Linux or macOS:
30
+
31
+ ```bash
32
+ curl -fsSL https://vite.plus | bash
33
+ ```
34
+
35
+ For Windows:
36
+
37
+ ```bash
38
+ irm https://viteplus.dev/install.ps1 | iex
39
+ ```
40
+
41
+ `vp` handles the full development lifecycle such as package management, development servers, linting, formatting, testing and building for production.
42
+
43
+ ## Configuring Vite+
44
+
45
+ Vite+ can be configured using a single `vite.config.ts` at the root of your project:
46
+
47
+ ```ts
48
+ import { defineConfig } from 'vite-plus';
49
+
50
+ export default defineConfig({
51
+ // Standard Vite configuration for dev/build/preview.
52
+ plugins: [],
53
+
54
+ // Vitest configuration.
55
+ test: {
56
+ include: ['src/**/*.test.ts'],
57
+ },
58
+
59
+ // Oxlint configuration.
60
+ lint: {
61
+ ignorePatterns: ['dist/**'],
62
+ },
63
+
64
+ // Oxfmt configuration.
65
+ fmt: {
66
+ semi: true,
67
+ singleQuote: true,
68
+ },
69
+
70
+ // Vite Task configuration.
71
+ run: {
72
+ tasks: {
73
+ 'generate:icons': {
74
+ command: 'node scripts/generate-icons.js',
75
+ envs: ['ICON_THEME'],
76
+ },
77
+ },
78
+ },
79
+
80
+ // `vp staged` configuration.
81
+ staged: {
82
+ '*': 'vp check --fix',
83
+ },
84
+ });
85
+ ```
86
+
87
+ This lets you keep the configuration for your development server, build, test, lint, format, task runner, and staged-file workflow in one place with type-safe config and shared defaults.
88
+
89
+ Use `vp migrate` to migrate to Vite+. It merges tool-specific config files such as `.oxlintrc*`, `.oxfmtrc*`, and lint-staged config into `vite.config.ts`.
90
+
91
+ ### CLI Workflows (`vp help`)
92
+
93
+ #### Start
94
+
95
+ - **create** - Create a new project from a template
96
+ - **migrate** - Migrate an existing project to Vite+
97
+ - **config** - Configure hooks and agent integration
98
+ - **staged** - Run linters on staged files
99
+ - **install** (`i`) - Install dependencies
100
+ - **env** - Manage Node.js versions
101
+
102
+ #### Develop
103
+
104
+ - **dev** - Run the development server
105
+ - **check** - Run format, lint, and type checks
106
+ - **lint** - Lint code
107
+ - **fmt** - Format code
108
+ - **test** - Run tests
109
+
110
+ #### Execute
111
+
112
+ - **run** - Run monorepo tasks
113
+ - **exec** - Execute a command from local `node_modules/.bin`
114
+ - **dlx** - Execute a package binary without installing it as a dependency
115
+ - **cache** - Manage the task cache
116
+
117
+ #### Build
118
+
119
+ - **build** - Build for production
120
+ - **pack** - Build libraries
121
+ - **preview** - Preview production build
122
+
123
+ #### Manage Dependencies
124
+
125
+ Vite+ automatically wraps your package manager (pnpm, npm, or Yarn) based on `packageManager` and lockfiles:
126
+
127
+ - **add** - Add packages to dependencies
128
+ - **remove** (`rm`, `un`, `uninstall`) - Remove packages from dependencies
129
+ - **update** (`up`) - Update packages to latest versions
130
+ - **dedupe** - Deduplicate dependencies
131
+ - **outdated** - Check outdated packages
132
+ - **list** (`ls`) - List installed packages
133
+ - **why** (`explain`) - Show why a package is installed
134
+ - **info** (`view`, `show`) - View package metadata from the registry
135
+ - **link** (`ln`) / **unlink** - Manage local package links
136
+ - **pm** - Forward a command to the package manager
137
+
138
+ #### Maintain
139
+
140
+ - **upgrade** - Update `vp` itself to the latest version
141
+ - **implode** - Remove `vp` and all related data
142
+
143
+ ### Scaffolding your first Vite+ project
144
+
145
+ Use `vp create` to create a new project:
146
+
147
+ ```bash
148
+ vp create
149
+ ```
150
+
151
+ You can run `vp create` inside of a project to add new apps or libraries to your project.
152
+
153
+ ### Migrating an existing project
154
+
155
+ You can migrate an existing project to Vite+:
156
+
157
+ ```bash
158
+ vp migrate
159
+ ```
160
+
161
+ ### GitHub Actions
162
+
163
+ Use the official [`setup-vp`](https://github.com/voidzero-dev/setup-vp) action to install Vite+ in GitHub Actions:
164
+
165
+ ```yaml
166
+ - uses: voidzero-dev/setup-vp@v1
167
+ with:
168
+ node-version: '22'
169
+ cache: true
170
+ ```
171
+
172
+ #### Manual Installation & Migration
173
+
174
+ If you are manually migrating a project to Vite+, install these dev dependencies first:
175
+
176
+ ```bash
177
+ npm install -D vite-plus @voidzero-dev/vite-plus-core@latest
178
+ ```
179
+
180
+ You need to add overrides to your package manager for `vite` and `vitest` so that other packages depending on Vite and Vitest will use the Vite+ versions:
181
+
182
+ ```json
183
+ "overrides": {
184
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest",
185
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
186
+ }
187
+ ```
188
+
189
+ If you are using `pnpm`, add this to your `pnpm-workspace.yaml`:
190
+
191
+ ```yaml
192
+ overrides:
193
+ vite: npm:@voidzero-dev/vite-plus-core@latest
194
+ vitest: npm:@voidzero-dev/vite-plus-test@latest
195
+ ```
196
+
197
+ Or, if you are using Yarn:
198
+
199
+ ```json
200
+ "resolutions": {
201
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest",
202
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
203
+ }
204
+ ```
205
+
206
+ ## Sponsors
207
+
208
+ Thanks to [namespace.so](https://namespace.so) for powering our CI/CD pipelines with fast, free macOS and Linux runners.
@@ -0,0 +1,21 @@
1
+ # Build Config
2
+
3
+ `vp dev`, `vp build`, and `vp preview` use the standard [Vite configuration](https://vite.dev/config/), including [plugins](https://vite.dev/guide/using-plugins), [aliases](https://vite.dev/config/shared-options#resolve-alias), [`server`](https://vite.dev/config/server-options), [`build`](https://vite.dev/config/build-options) and [`preview`](https://vite.dev/config/preview-options) fields.
4
+
5
+ ## Example
6
+
7
+ ```ts
8
+ import { defineConfig } from 'vite-plus';
9
+
10
+ export default defineConfig({
11
+ server: {
12
+ port: 3000,
13
+ },
14
+ build: {
15
+ sourcemap: true,
16
+ },
17
+ preview: {
18
+ port: 4173,
19
+ },
20
+ });
21
+ ```