void 0.1.6 → 0.7.0

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 (333) hide show
  1. package/AGENT_PROMPT.md +15 -0
  2. package/README.md +62 -123
  3. package/dist/auth-BdsJ0Aff.d.mts +43 -0
  4. package/dist/auth-cmd-Dx8oPKZC.mjs +43 -0
  5. package/dist/auth-migrations-BAtAck2g.mjs +117 -0
  6. package/dist/better-auth-shared-C9_GHSkR.d.mts +71 -0
  7. package/dist/better-auth-shared-CdYmQGry.mjs +163 -0
  8. package/dist/cache-W82I8ihI.mjs +47 -0
  9. package/dist/cancel-deploy-BOBTqqh0.mjs +59 -0
  10. package/dist/cf-access-Dee5cXxL.mjs +22 -0
  11. package/dist/chunk-DJd-R1mw.mjs +34 -0
  12. package/dist/cli/cli.d.mts +1 -0
  13. package/dist/cli/cli.mjs +1807 -0
  14. package/dist/client-snXOjrp1.mjs +565 -0
  15. package/dist/collect-CjeZgz5D.mjs +55 -0
  16. package/dist/config-BIa9HwVX.mjs +573 -0
  17. package/dist/config-BzM9Dy7T.mjs +37 -0
  18. package/dist/config-CvHtTM0q.mjs +30 -0
  19. package/dist/create-project-BIA15W7z.mjs +90 -0
  20. package/dist/db-DsRoMcfN.mjs +895 -0
  21. package/dist/defer-DcxEsVH1.mjs +49 -0
  22. package/dist/delete-DAP6yDc7.mjs +64 -0
  23. package/dist/deploy-BPKblFx6.mjs +2424 -0
  24. package/dist/discover-B7FkXBLB.mjs +40 -0
  25. package/dist/dist-DUyXJLkq.mjs +2667 -0
  26. package/dist/dist-Dayj3gCK.mjs +1287 -0
  27. package/dist/domain-BGofcQ6I.mjs +79 -0
  28. package/dist/dotenv-DwO4ti0Z.mjs +173 -0
  29. package/dist/drizzle-NnudE_UN.mjs +232 -0
  30. package/dist/env-CyG3tvU0.mjs +301 -0
  31. package/dist/env-helpers-Dr9Y7RnE.d.mts +52 -0
  32. package/dist/env-raw-BDL4TvdN.mjs +32 -0
  33. package/dist/env-types-DknSA4SO.mjs +64 -0
  34. package/dist/env-validation-DJKjR_8q.mjs +163 -0
  35. package/dist/fetch-error-BQ8sZ5Nd.mjs +266 -0
  36. package/dist/fetch-error-CVZ5CGA-.d.mts +20 -0
  37. package/dist/gen-U0Ktr4Zd.mjs +761 -0
  38. package/dist/handler-B0ds0OHJ.d.mts +269 -0
  39. package/dist/head-P-egrtFE.d.mts +45 -0
  40. package/dist/headers-DCXc7mDs.mjs +279 -0
  41. package/dist/index.d.mts +32 -0
  42. package/dist/index.mjs +4695 -0
  43. package/dist/init-C7wS5iGP.mjs +2625 -0
  44. package/dist/link-p2R6NbgN.mjs +49 -0
  45. package/dist/list-Bfel-QLc.mjs +113 -0
  46. package/dist/log-DXdqnmhF.mjs +26 -0
  47. package/dist/login-CkcXUiIu.mjs +72 -0
  48. package/dist/logs-DmkrRvx6.mjs +98 -0
  49. package/dist/magic-string.es-D6g9UnIy.mjs +1011 -0
  50. package/dist/mcp-CaQzfeUi.mjs +373 -0
  51. package/dist/node-DDfXj10V.mjs +54 -0
  52. package/dist/output-BwlcIYSR.mjs +139 -0
  53. package/dist/pages/client.d.mts +198 -0
  54. package/dist/pages/client.mjs +980 -0
  55. package/dist/pages/head-client.d.mts +15 -0
  56. package/dist/pages/head-client.mjs +90 -0
  57. package/dist/pages/head.d.mts +2 -0
  58. package/dist/pages/head.mjs +112 -0
  59. package/dist/pages/index.d.mts +38 -0
  60. package/dist/pages/index.mjs +76 -0
  61. package/dist/pages/islands-plugin.d.mts +50 -0
  62. package/dist/pages/islands-plugin.mjs +195 -0
  63. package/dist/pages/prefetch.d.mts +31 -0
  64. package/dist/pages/prefetch.mjs +90 -0
  65. package/dist/pages/protocol.d.mts +3 -0
  66. package/dist/pages/protocol.mjs +193 -0
  67. package/dist/pages/serialize.d.mts +10 -0
  68. package/dist/pages/serialize.mjs +14 -0
  69. package/dist/pathe.M-eThtNZ-D-kmWkCS.mjs +150 -0
  70. package/dist/plugin-inference-oZ6Ybu2_.mjs +2447 -0
  71. package/dist/prepare-BAtWufvm.mjs +99 -0
  72. package/dist/preset-D4I73kT4.mjs +221 -0
  73. package/dist/project-TqORyHn8.mjs +72 -0
  74. package/dist/project-cmd-B7lQp3F3.mjs +67 -0
  75. package/dist/project-slug-CKam8lF9.mjs +11 -0
  76. package/dist/project-tsconfig-DfkESbDL.mjs +63 -0
  77. package/dist/protocol-BWzXs2A2.d.mts +34 -0
  78. package/dist/providers-B3aMxWzP.mjs +67 -0
  79. package/dist/resolve-project-Br5BR03U.mjs +29 -0
  80. package/dist/rollback-gyC59l7U.mjs +92 -0
  81. package/dist/route-types-DReF1gUY.mjs +255 -0
  82. package/dist/routes-stub.d.mts +55 -0
  83. package/dist/routes-stub.mjs +1 -0
  84. package/dist/runner-6Ep3fNQu.mjs +123 -0
  85. package/dist/runner-pg-D0wWHYnr.mjs +57 -0
  86. package/dist/runtime/ai.d.mts +127 -0
  87. package/dist/runtime/ai.mjs +348 -0
  88. package/dist/runtime/auth-client-react.d.mts +8 -0
  89. package/dist/runtime/auth-client-react.mjs +6 -0
  90. package/dist/runtime/auth-client-solid.d.mts +8 -0
  91. package/dist/runtime/auth-client-solid.mjs +6 -0
  92. package/dist/runtime/auth-client-svelte.d.mts +8 -0
  93. package/dist/runtime/auth-client-svelte.mjs +6 -0
  94. package/dist/runtime/auth-client-vue.d.mts +8 -0
  95. package/dist/runtime/auth-client-vue.mjs +6 -0
  96. package/dist/runtime/auth-client.d.mts +8 -0
  97. package/dist/runtime/auth-client.mjs +6 -0
  98. package/dist/runtime/auth.d.mts +2 -0
  99. package/dist/runtime/auth.mjs +22 -0
  100. package/dist/runtime/better-auth-pg.d.mts +11 -0
  101. package/dist/runtime/better-auth-pg.mjs +51 -0
  102. package/dist/runtime/better-auth.d.mts +11 -0
  103. package/dist/runtime/better-auth.mjs +33 -0
  104. package/dist/runtime/client.d.mts +6 -0
  105. package/dist/runtime/client.mjs +5 -0
  106. package/dist/runtime/db-pg.d.mts +2 -0
  107. package/dist/runtime/db-pg.mjs +1 -0
  108. package/dist/runtime/db.d.mts +17 -0
  109. package/dist/runtime/db.mjs +30 -0
  110. package/dist/runtime/drizzle-arktype.d.mts +1 -0
  111. package/dist/runtime/drizzle-arktype.mjs +2 -0
  112. package/dist/runtime/drizzle-valibot.d.mts +1 -0
  113. package/dist/runtime/drizzle-valibot.mjs +2 -0
  114. package/dist/runtime/drizzle-zod.d.mts +1 -0
  115. package/dist/runtime/drizzle-zod.mjs +2 -0
  116. package/dist/runtime/env-helpers.d.mts +2 -0
  117. package/dist/runtime/env-helpers.mjs +173 -0
  118. package/dist/runtime/env-public-client.d.mts +22 -0
  119. package/dist/runtime/env-public-client.mjs +54 -0
  120. package/dist/runtime/env-public.d.mts +143 -0
  121. package/dist/runtime/env-public.mjs +366 -0
  122. package/dist/runtime/env.d.mts +13 -0
  123. package/dist/runtime/env.mjs +51 -0
  124. package/dist/runtime/fetch-stream.d.mts +51 -0
  125. package/dist/runtime/fetch-stream.mjs +81 -0
  126. package/dist/runtime/fetch.d.mts +59 -0
  127. package/dist/runtime/fetch.mjs +18 -0
  128. package/dist/runtime/handler.d.mts +3 -0
  129. package/dist/runtime/handler.mjs +85 -0
  130. package/dist/runtime/isr.d.mts +26 -0
  131. package/dist/runtime/isr.mjs +43 -0
  132. package/dist/runtime/kv.d.mts +48 -0
  133. package/dist/runtime/kv.mjs +106 -0
  134. package/dist/runtime/log.d.mts +24 -0
  135. package/dist/runtime/log.mjs +31 -0
  136. package/dist/runtime/migration-handler-pg.d.mts +6 -0
  137. package/dist/runtime/migration-handler-pg.mjs +85 -0
  138. package/dist/runtime/migration-handler.d.mts +19 -0
  139. package/dist/runtime/migration-handler.mjs +92 -0
  140. package/dist/runtime/queues.d.mts +7 -0
  141. package/dist/runtime/queues.mjs +8 -0
  142. package/dist/runtime/remote/binding-handler.d.mts +15 -0
  143. package/dist/runtime/remote/binding-handler.mjs +208 -0
  144. package/dist/runtime/remote/index.d.mts +8 -0
  145. package/dist/runtime/remote/index.mjs +461 -0
  146. package/dist/runtime/response.d.mts +14 -0
  147. package/dist/runtime/response.mjs +30 -0
  148. package/dist/runtime/sandbox.d.mts +17 -0
  149. package/dist/runtime/sandbox.mjs +19 -0
  150. package/dist/runtime/schema-d1.d.mts +1 -0
  151. package/dist/runtime/schema-d1.mjs +2 -0
  152. package/dist/runtime/schema-pg.d.mts +1 -0
  153. package/dist/runtime/schema-pg.mjs +2 -0
  154. package/dist/runtime/seed.d.mts +30 -0
  155. package/dist/runtime/seed.mjs +6 -0
  156. package/dist/runtime/storage.d.mts +7 -0
  157. package/dist/runtime/storage.mjs +14 -0
  158. package/dist/runtime/validator.d.mts +2 -0
  159. package/dist/runtime/validator.mjs +72 -0
  160. package/dist/runtime/ws-server.d.mts +26 -0
  161. package/dist/runtime/ws-server.mjs +296 -0
  162. package/dist/runtime/ws.d.mts +123 -0
  163. package/dist/runtime/ws.mjs +103 -0
  164. package/dist/scan-Ba4hFwlH.mjs +324 -0
  165. package/dist/scan-C6HMEIdW.mjs +318 -0
  166. package/dist/secret-CeRSukgM.mjs +109 -0
  167. package/dist/skills-ipldjlKE.mjs +62 -0
  168. package/dist/standard-schema-9CRjx-uR.d.mts +42 -0
  169. package/dist/subcommand-prompt-BKjuNAPb.mjs +349 -0
  170. package/dist/sveltekit.d.mts +20 -0
  171. package/dist/sveltekit.mjs +61 -0
  172. package/dist/types-mHOEwpW4.d.mts +57 -0
  173. package/dist/validate-CaMavMxu.mjs +146 -0
  174. package/dist/yarn-pnp-BFqMV_bl.mjs +196 -0
  175. package/getting-started-prompt.txt +26 -0
  176. package/package.json +322 -30
  177. package/schema.json +364 -0
  178. package/skills/migrate-vite-cloudflare-to-void/SKILL.md +175 -0
  179. package/skills/void/SKILL.md +75 -0
  180. package/skills/void/command/void.md +7 -0
  181. package/skills/void/docs/guide/ai.md +235 -0
  182. package/skills/void/docs/guide/app-types.md +103 -0
  183. package/skills/void/docs/guide/auth.md +257 -0
  184. package/skills/void/docs/guide/database/d1.md +106 -0
  185. package/skills/void/docs/guide/database/postgresql.md +106 -0
  186. package/skills/void/docs/guide/database.md +418 -0
  187. package/skills/void/docs/guide/deployment.md +98 -0
  188. package/skills/void/docs/guide/edge/headers.md +79 -0
  189. package/skills/void/docs/guide/edge/prerendering.md +83 -0
  190. package/skills/void/docs/guide/edge/redirects.md +116 -0
  191. package/skills/void/docs/guide/edge/revalidation.md +131 -0
  192. package/skills/void/docs/guide/edge/rewrites.md +354 -0
  193. package/skills/void/docs/guide/edge/static-assets.md +72 -0
  194. package/skills/void/docs/guide/env-vars.md +298 -0
  195. package/skills/void/docs/guide/index.md +80 -0
  196. package/skills/void/docs/guide/jobs.md +91 -0
  197. package/skills/void/docs/guide/kv.md +107 -0
  198. package/skills/void/docs/guide/pages-routing/actions-and-forms.md +419 -0
  199. package/skills/void/docs/guide/pages-routing/head.md +130 -0
  200. package/skills/void/docs/guide/pages-routing/islands.md +405 -0
  201. package/skills/void/docs/guide/pages-routing/layouts.md +362 -0
  202. package/skills/void/docs/guide/pages-routing/loaders.md +267 -0
  203. package/skills/void/docs/guide/pages-routing/markdown.md +625 -0
  204. package/skills/void/docs/guide/pages-routing/overview.md +236 -0
  205. package/skills/void/docs/guide/pages-routing/view-transitions.md +140 -0
  206. package/skills/void/docs/guide/queues.md +140 -0
  207. package/skills/void/docs/guide/quickstart.md +233 -0
  208. package/skills/void/docs/guide/remote-dev.md +67 -0
  209. package/skills/void/docs/guide/sandboxes.md +82 -0
  210. package/skills/void/docs/guide/server-routing.md +246 -0
  211. package/skills/void/docs/guide/ssg.md +74 -0
  212. package/skills/void/docs/guide/ssr.md +105 -0
  213. package/skills/void/docs/guide/storage.md +67 -0
  214. package/skills/void/docs/guide/type-safety.md +179 -0
  215. package/skills/void/docs/guide/typed-fetch.md +113 -0
  216. package/skills/void/docs/guide/websockets.md +190 -0
  217. package/skills/void/docs/index.md +48 -0
  218. package/skills/void/docs/integrations/agents.md +84 -0
  219. package/skills/void/docs/integrations/cloudflare.md +284 -0
  220. package/skills/void/docs/integrations/frameworks/analog.md +182 -0
  221. package/skills/void/docs/integrations/frameworks/astro.md +197 -0
  222. package/skills/void/docs/integrations/frameworks/nuxt.md +164 -0
  223. package/skills/void/docs/integrations/frameworks/overview.md +136 -0
  224. package/skills/void/docs/integrations/frameworks/react-router.md +137 -0
  225. package/skills/void/docs/integrations/frameworks/sveltekit.md +191 -0
  226. package/skills/void/docs/integrations/frameworks/tanstack-start.md +140 -0
  227. package/skills/void/docs/integrations/hono.md +97 -0
  228. package/skills/void/docs/integrations/nodejs-bun-deno.md +210 -0
  229. package/skills/void/docs/node_modules/@iconify/vue/README.md +408 -0
  230. package/skills/void/docs/node_modules/@iconify/vue/offline/readme.md +5 -0
  231. package/skills/void/docs/node_modules/@voidzero-dev/vitepress-theme/README.md +103 -0
  232. package/skills/void/docs/node_modules/oxc-minify/README.md +78 -0
  233. package/skills/void/docs/node_modules/reka-ui/README.md +80 -0
  234. package/skills/void/docs/node_modules/vitepress/README.md +28 -0
  235. package/skills/void/docs/node_modules/vitepress/template/api-examples.md +49 -0
  236. package/skills/void/docs/node_modules/vitepress/template/index.md +28 -0
  237. package/skills/void/docs/node_modules/vitepress/template/markdown-examples.md +85 -0
  238. package/skills/void/docs/node_modules/vitepress-plugin-group-icons/README.md +101 -0
  239. package/skills/void/docs/node_modules/void/AGENTS.md +204 -0
  240. package/skills/void/docs/node_modules/void/AGENT_PROMPT.md +15 -0
  241. package/skills/void/docs/node_modules/void/README.md +89 -0
  242. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/CHANGELOG.md +591 -0
  243. package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/README.md +375 -0
  244. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/sandbox/README.md +174 -0
  245. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/vite-plugin/README.md +37 -0
  246. package/skills/void/docs/node_modules/void/node_modules/@cloudflare/workers-types/README.md +135 -0
  247. package/skills/void/docs/node_modules/void/node_modules/@electric-sql/pglite/README.md +189 -0
  248. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/CHANGELOG.md +143 -0
  249. package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/README.md +1272 -0
  250. package/skills/void/docs/node_modules/void/node_modules/@napi-rs/keyring/README.md +19 -0
  251. package/skills/void/docs/node_modules/void/node_modules/@types/better-sqlite3/README.md +15 -0
  252. package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +15 -0
  253. package/skills/void/docs/node_modules/void/node_modules/@types/pg/README.md +15 -0
  254. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/README.md +22 -0
  255. package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/vendor/vscode-jsonrpc/README.md +69 -0
  256. package/skills/void/docs/node_modules/void/node_modules/@void/md/README.md +152 -0
  257. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/engine-javascript/README.md +9 -0
  258. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/transformers/README.md +9 -0
  259. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +15 -0
  260. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/CHANGELOG.md +24 -0
  261. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/README.md +565 -0
  262. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-exit/README.md +124 -0
  263. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-anchor/README.md +600 -0
  264. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-attrs/README.md +386 -0
  265. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-container/README.md +95 -0
  266. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-emoji/README.md +101 -0
  267. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathe/README.md +73 -0
  268. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/shiki/README.md +15 -0
  269. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tinyglobby/README.md +25 -0
  270. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tsdown/README.md +55 -0
  271. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/LICENSE.md +2230 -0
  272. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/README.md +20 -0
  273. package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vue/README.md +58 -0
  274. package/skills/void/docs/node_modules/void/node_modules/arktype/README.md +165 -0
  275. package/skills/void/docs/node_modules/void/node_modules/better-auth/LICENSE.md +20 -0
  276. package/skills/void/docs/node_modules/void/node_modules/better-auth/README.md +32 -0
  277. package/skills/void/docs/node_modules/void/node_modules/better-sqlite3/README.md +99 -0
  278. package/skills/void/docs/node_modules/void/node_modules/blake3-jit/README.md +108 -0
  279. package/skills/void/docs/node_modules/void/node_modules/drizzle-arktype/README.md +51 -0
  280. package/skills/void/docs/node_modules/void/node_modules/drizzle-kit/README.md +79 -0
  281. package/skills/void/docs/node_modules/void/node_modules/drizzle-orm/README.md +44 -0
  282. package/skills/void/docs/node_modules/void/node_modules/drizzle-valibot/README.md +51 -0
  283. package/skills/void/docs/node_modules/void/node_modules/drizzle-zod/README.md +65 -0
  284. package/skills/void/docs/node_modules/void/node_modules/es-module-lexer/README.md +390 -0
  285. package/skills/void/docs/node_modules/void/node_modules/estree-walker/README.md +48 -0
  286. package/skills/void/docs/node_modules/void/node_modules/hono/README.md +85 -0
  287. package/skills/void/docs/node_modules/void/node_modules/ignore/README.md +452 -0
  288. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  289. package/{LICENSE → skills/void/docs/node_modules/void/node_modules/jsonc-parser/LICENSE.md} +21 -21
  290. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/README.md +364 -0
  291. package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/SECURITY.md +41 -0
  292. package/skills/void/docs/node_modules/void/node_modules/magic-string/README.md +325 -0
  293. package/skills/void/docs/node_modules/void/node_modules/ofetch/README.md +398 -0
  294. package/skills/void/docs/node_modules/void/node_modules/pathe/README.md +73 -0
  295. package/skills/void/docs/node_modules/void/node_modules/pg/README.md +95 -0
  296. package/skills/void/docs/node_modules/void/node_modules/pglite-server/LICENSE.md +21 -0
  297. package/skills/void/docs/node_modules/void/node_modules/pglite-server/README.md +135 -0
  298. package/skills/void/docs/node_modules/void/node_modules/picocolors/README.md +21 -0
  299. package/skills/void/docs/node_modules/void/node_modules/tinyglobby/README.md +25 -0
  300. package/skills/void/docs/node_modules/void/node_modules/tsdown/README.md +55 -0
  301. package/skills/void/docs/node_modules/void/node_modules/valibot/LICENSE.md +9 -0
  302. package/skills/void/docs/node_modules/void/node_modules/valibot/README.md +94 -0
  303. package/skills/void/docs/node_modules/void/node_modules/vite/LICENSE.md +2230 -0
  304. package/skills/void/docs/node_modules/void/node_modules/vite/README.md +20 -0
  305. package/skills/void/docs/node_modules/void/node_modules/wrangler/README.md +63 -0
  306. package/skills/void/docs/node_modules/void/node_modules/zod/README.md +191 -0
  307. package/skills/void/docs/node_modules/void/skills/migrate-vite-cloudflare-to-void/SKILL.md +175 -0
  308. package/skills/void/docs/node_modules/void/skills/void/SKILL.md +75 -0
  309. package/skills/void/docs/node_modules/void/skills/void/command/void.md +7 -0
  310. package/skills/void/docs/reference/api.md +917 -0
  311. package/skills/void/docs/reference/cli.md +561 -0
  312. package/skills/void/docs/reference/config.md +408 -0
  313. package/skills/void/docs/reference/resource-inference.md +149 -0
  314. package/skills/void/docs/reference/structure.md +176 -0
  315. package/.npmignore +0 -29
  316. package/.travis.yml +0 -9
  317. package/favicon.ico +0 -0
  318. package/index.js +0 -14
  319. package/lib/Job.js +0 -150
  320. package/lib/Void.js +0 -99
  321. package/lib/scan.js +0 -19
  322. package/test/credentials.js +0 -20
  323. package/test/job.js +0 -64
  324. package/test/static/dir1/test6.html +0 -0
  325. package/test/static/dir2/test7.html +0 -0
  326. package/test/static/dir2/test8.html +0 -0
  327. package/test/static/dir2/test9.html +0 -0
  328. package/test/static/test1.html +0 -0
  329. package/test/static/test2.html +0 -0
  330. package/test/static/test3.html +0 -0
  331. package/test/void.js +0 -31
  332. /package/{test/static/dir1/test4.html → skills/void/docs/integrations/auth-providers.md} +0 -0
  333. /package/{test/static/dir1/test5.html → skills/void/docs/integrations/payment-processors.md} +0 -0
@@ -0,0 +1,196 @@
1
+ import { a as join, n as dirname } from "./pathe.M-eThtNZ-D-kmWkCS.mjs";
2
+ import { existsSync, readdirSync } from "node:fs";
3
+ import { pathToFileURL } from "node:url";
4
+ //#region src/cli/yarn-pnp.ts
5
+ /**
6
+ * Read PnP runtime files at a single directory without walking
7
+ * ancestors. Returns a descriptor with the files that exist, or
8
+ * `undefined` when neither is present.
9
+ */
10
+ function readPnpRuntimeAt(dir) {
11
+ const cjs = join(dir, ".pnp.cjs");
12
+ const loader = join(dir, ".pnp.loader.mjs");
13
+ const cjsExists = existsSync(cjs);
14
+ const loaderExists = existsSync(loader);
15
+ if (!cjsExists && !loaderExists) return;
16
+ return {
17
+ pnpCjs: cjsExists ? cjs : void 0,
18
+ pnpLoader: loaderExists ? loader : void 0
19
+ };
20
+ }
21
+ /**
22
+ * Returns true when `dir` contains a local package-manager lockfile
23
+ * (`pnpm-lock.yaml`, `package-lock.json`, `yarn.lock`, `bun.lock`,
24
+ * `bun.lockb`). A lockfile at `dir` is definitive proof that a package
25
+ * manager runs install from this directory: Yarn / pnpm / npm / bun
26
+ * all write the lockfile at the install root, and workspace members
27
+ * SHARE the root lockfile rather than carrying their own.
28
+ *
29
+ * Two independent call sites depend on this signal:
30
+ *
31
+ * 1. `findYarnPnpRuntime` / `findInstalledYarnPnpRuntime` below use
32
+ * it as the "leaf-managed install ownership" gate: a nested
33
+ * project with its own lockfile must NOT inherit an outer Yarn
34
+ * PnP runtime into `NODE_OPTIONS`, because the outer `.pnp.cjs`
35
+ * patches `Module._resolveFilename` to consult a graph that
36
+ * doesn't contain the leaf's dependencies — drizzle-kit then
37
+ * fails to resolve `drizzle-orm/...`.
38
+ * 2. `resolveWorkspaceDeferral` in `init.ts` uses it as the
39
+ * "workspace-skip boundary": a subpackage with its own lockfile
40
+ * is not governed by the workspace install and must run install
41
+ * + starter migration locally.
42
+ *
43
+ * Both call sites must check the same set of lockfile paths — if one
44
+ * drifts (for example, adding a new package manager's lockfile to
45
+ * only one helper), the two paths will silently disagree on the same
46
+ * directory. Exported as the single source of truth to lock the
47
+ * invariant in one place.
48
+ *
49
+ * Note: `package.json#packageManager` (Corepack pin) is deliberately
50
+ * NOT a signal here. A Yarn Berry workspace member can legitimately
51
+ * declare its own `packageManager: "yarn@..."` while still resolving
52
+ * through the workspace root's `.pnp.cjs`; treating the pin as
53
+ * leaf-managed would stop the ancestor walk before reaching the real
54
+ * PnP root and break `void db generate` / starter migration
55
+ * generation in valid Yarn PnP monorepos. The lockfile check is
56
+ * sufficient: a fresh-cloned leaf project with only a Corepack pin
57
+ * will still trigger install, which writes the lockfile before
58
+ * `generateStarterMigration()` fires, at which point the gate engages.
59
+ */
60
+ function hasLocalLockfile(dir) {
61
+ return existsSync(join(dir, "pnpm-lock.yaml")) || existsSync(join(dir, "package-lock.json")) || existsSync(join(dir, "yarn.lock")) || existsSync(join(dir, "bun.lock")) || existsSync(join(dir, "bun.lockb"));
62
+ }
63
+ /**
64
+ * Walk ancestors from `start` (inclusive) looking for Yarn Berry PnP
65
+ * runtime files. Returns the directory containing them (with both
66
+ * possibly-existing paths) if found, or `undefined` otherwise.
67
+ *
68
+ * Walking ancestors is important for workspace subpackages — in a Yarn
69
+ * PnP monorepo, `.pnp.cjs` lives at the workspace root, not in each
70
+ * subpackage. Checking only `start` would miss the common shape.
71
+ *
72
+ * Round 46: local PnP files at `start` are always authoritative and
73
+ * take precedence over the leaf-managed guard below. When `start` has
74
+ * no local PnP files but DOES have local install ownership (lockfile or
75
+ * Corepack pin), stop here — ancestor PnP data belongs to a different
76
+ * install graph and injecting it will break resolution for the local
77
+ * one. Only walk past `start` when neither condition holds.
78
+ *
79
+ * Internal: only `buildDrizzleKitSpawnEnv` below consumes this. The
80
+ * stricter `findInstalledYarnPnpRuntime` is the public variant callers
81
+ * outside this module reach for.
82
+ */
83
+ function findYarnPnpRuntime(start) {
84
+ const local = readPnpRuntimeAt(start);
85
+ if (local !== void 0) return local;
86
+ if (hasLocalLockfile(start)) return;
87
+ let dir = dirname(start);
88
+ if (dir === start) return;
89
+ while (true) {
90
+ const found = readPnpRuntimeAt(dir);
91
+ if (found !== void 0) return found;
92
+ const parent = dirname(dir);
93
+ if (parent === dir) return;
94
+ dir = parent;
95
+ }
96
+ }
97
+ /**
98
+ * Stricter variant of {@link findYarnPnpRuntime}: only returns a result
99
+ * when the PnP runtime files AND a post-install marker live in the
100
+ * SAME ancestor directory.
101
+ *
102
+ * Round 40 rationale: Yarn Berry repos commonly commit `.pnp.cjs` to
103
+ * version control but NOT `.yarn/cache/*.zip` (zero-install is an
104
+ * opt-in, not the default). A fresh `git clone` before `yarn install`
105
+ * therefore has `.pnp.cjs` on disk while the PnP data points at ZIP
106
+ * archives that haven't been fetched yet. Trusting `.pnp.cjs` existence
107
+ * alone as proof that "yarn install has run" leads `init` to skip the
108
+ * install step, and the subsequent `drizzle-kit generate` spawn crashes
109
+ * because PnP tries to load `void/schema-d1` from a missing ZIP.
110
+ *
111
+ * Round 42: accept EITHER of two markers, to cover both non-zero-install
112
+ * and zero-install shapes:
113
+ *
114
+ * 1. `.yarn/install-state.gz` in the same dir. Yarn Berry (3.x and
115
+ * 4.x) writes this on every successful `yarn install` and it is
116
+ * gitignored by convention, so its presence strictly implies
117
+ * "yarn install has populated this checkout at least once". This
118
+ * is the only marker present in a classic (non-zero-install) repo.
119
+ * 2. `.yarn/cache/` containing at least one `.zip` entry in the same
120
+ * dir. In zero-install repos (`nodeLinker: pnp`, cache committed
121
+ * to git), `install-state.gz` is commonly gitignored or absent,
122
+ * but the populated cache IS on disk — that's the whole point of
123
+ * zero-install. A populated cache is therefore sufficient proof
124
+ * that the checkout is ready to resolve dependencies.
125
+ *
126
+ * The same-directory requirement locks the invariant — a committed
127
+ * `.pnp.cjs` in a subdirectory must not be covered by markers sitting
128
+ * at an unrelated ancestor.
129
+ *
130
+ * NOTE: `findYarnPnpRuntime` intentionally does NOT apply this stricter
131
+ * check. NODE_OPTIONS injection for drizzle-kit spawns should still
132
+ * happen whenever PnP runtime files are present: if install hasn't run,
133
+ * drizzle-kit will crash with or without the injected env, so the
134
+ * inject is harmless; if the user is about to run install and then hits
135
+ * a spawn, the env needs to be prepared.
136
+ */
137
+ function findInstalledYarnPnpRuntime(start) {
138
+ const local = readPnpRuntimeAt(start);
139
+ if (local !== void 0) return isYarnPnpInstalled(start) ? local : void 0;
140
+ if (hasLocalLockfile(start)) return;
141
+ let dir = dirname(start);
142
+ if (dir === start) return;
143
+ while (true) {
144
+ const found = readPnpRuntimeAt(dir);
145
+ if (found !== void 0) return isYarnPnpInstalled(dir) ? found : void 0;
146
+ const parent = dirname(dir);
147
+ if (parent === dir) return;
148
+ dir = parent;
149
+ }
150
+ }
151
+ /**
152
+ * Return true when `dir` looks like a post-install Yarn Berry PnP
153
+ * checkout. Two valid markers (see `findInstalledYarnPnpRuntime`):
154
+ *
155
+ * - `.yarn/install-state.gz` — written by every successful
156
+ * `yarn install` in a classic (non-zero-install) repo.
157
+ * - `.yarn/cache/*.zip` — present in a zero-install checkout, where
158
+ * archives are committed to git and `install-state.gz` is often
159
+ * gitignored or absent.
160
+ */
161
+ function isYarnPnpInstalled(dir) {
162
+ if (existsSync(join(dir, ".yarn", "install-state.gz"))) return true;
163
+ const cacheDir = join(dir, ".yarn", "cache");
164
+ if (!existsSync(cacheDir)) return false;
165
+ try {
166
+ return readdirSync(cacheDir).some((e) => e.endsWith(".zip"));
167
+ } catch {
168
+ return false;
169
+ }
170
+ }
171
+ /**
172
+ * Build a child-process env that injects Yarn Berry PnP loaders into
173
+ * `NODE_OPTIONS` when a PnP runtime is found at or above `root`. This
174
+ * mirrors what `yarn node` does under the hood: `--require` the PnP
175
+ * CJS shim (patches `fs` + `Module._resolveFilename` to understand ZIP
176
+ * virtual paths) and, when present, `--experimental-loader` the PnP
177
+ * ESM loader.
178
+ *
179
+ * Any pre-existing `NODE_OPTIONS` from the parent process (for example
180
+ * when the command is invoked as `yarn void ...` and yarn already set
181
+ * it) is appended AFTER our injected flags so our PnP `--require` runs
182
+ * first. Non-PnP projects inherit `process.env` unchanged.
183
+ */
184
+ function buildDrizzleKitSpawnEnv(root) {
185
+ const env = { ...process.env };
186
+ const pnp = findYarnPnpRuntime(root);
187
+ if (!pnp) return env;
188
+ const flags = [];
189
+ if (pnp.pnpCjs) flags.push(`--require ${JSON.stringify(pnp.pnpCjs)}`);
190
+ if (pnp.pnpLoader) flags.push(`--experimental-loader ${pathToFileURL(pnp.pnpLoader).href}`);
191
+ const injected = flags.join(" ");
192
+ env.NODE_OPTIONS = process.env.NODE_OPTIONS ? `${injected} ${process.env.NODE_OPTIONS}` : injected;
193
+ return env;
194
+ }
195
+ //#endregion
196
+ export { findInstalledYarnPnpRuntime as n, hasLocalLockfile as r, buildDrizzleKitSpawnEnv as t };
@@ -0,0 +1,26 @@
1
+ Void is a fullstack Vite framework and deployment platform for Cloudflare.
2
+ In an empty directory, set up a new app like this:
3
+
4
+ npm install -D void
5
+
6
+ Then run:
7
+
8
+ npx void init
9
+
10
+ In an empty directory, `void init` will add the matching Pages adapter and starter dependencies after you choose a framework. In an existing app, it configures Void in place by adding missing Vite scripts and creating or patching `vite.config.*` with `voidPlugin()`.
11
+
12
+ During `void init`, first choose a Pages framework (React, Vue, Svelte, or Solid), then choose D1 for a zero-config, fully managed default or PostgreSQL if you already have Postgres infrastructure or expect heavier writes and more complex queries.
13
+
14
+ At the end of the interactive flow, `void init` can also log you in and link or create your Void project so your first deploy is just:
15
+
16
+ void deploy
17
+
18
+ Database workflow: define Drizzle tables in `db/schema.ts`, import `db` from `void/db` and tables from `@schema`. Use `void db push` to prototype (applies schema directly, no migration files). Use `void db generate` when ready to create production migration files in `db/migrations/`. `drizzle-orm` and `drizzle-kit` ship with void — no extra install needed. Scaffold new tables with `void gen model <name> [columns...]`.
19
+
20
+ Routing extras: declare static redirects/rewrites/fallbacks in `void.json` under `routing.*`, or in a `public/_redirects` file. For dynamic rewrites, call `c.rewrite(path)` in a `defineMiddleware`.
21
+
22
+ Logs: surface app-level errors via `import { logger } from "void/log"` and `logger.error(msg, fields?)` (also `.warn` / `.info`) so they appear under `void project logs --level error`. Errors only persisted to your own DB are invisible to Cloudflare Tail.
23
+
24
+ CI / fresh clones: run `void prepare` after install to generate `.void/routes.d.ts`, `.void/db.d.ts`, `.void/queues.d.ts`, `.void/env.d.ts`, and `.void/tsconfig.json` without booting Vite. `vite dev` / `vite build` populate these during normal app workflows.
25
+
26
+ Now ask me what I want to build.
package/package.json CHANGED
@@ -1,39 +1,331 @@
1
1
  {
2
2
  "name": "void",
3
- "version": "0.1.6",
4
- "description": "A NodeJS module that intelligently invalidates your CloudFront Cache.",
5
- "main": "./lib/Void.js",
6
- "scripts": {
7
- "test": "mocha"
8
- },
3
+ "version": "0.7.0",
9
4
  "repository": {
10
5
  "type": "git",
11
- "url": "git://github.com/edj-boston/void.git"
12
- },
13
- "keywords": [
14
- "AWS",
15
- "CloudFront",
16
- "invalidate",
17
- "cache",
18
- "clear",
19
- "request",
20
- "Amazon",
21
- "automatic",
22
- "asynchronous"
6
+ "url": "git+https://github.com/voidzero-dev/void.git",
7
+ "directory": "packages/void"
8
+ },
9
+ "bin": {
10
+ "void": "dist/cli/cli.mjs"
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "schema.json",
15
+ "skills",
16
+ "AGENT_PROMPT.md",
17
+ "getting-started-prompt.txt",
18
+ "README.md"
23
19
  ],
24
- "author": "Eric Johnson",
25
- "license": "MIT",
26
- "bugs": {
27
- "url": "https://github.com/edj-boston/void/issues"
20
+ "type": "module",
21
+ "imports": {
22
+ "#self": "./dist/index.mjs",
23
+ "#self/_env": "./dist/runtime/env.mjs",
24
+ "#self/env": "./dist/runtime/env-public.mjs",
25
+ "#self/client": "./dist/runtime/client.mjs",
26
+ "#self/handler": "./dist/runtime/handler.mjs",
27
+ "#self/pages-head": "./dist/pages/head.mjs",
28
+ "#self/pages-protocol": "./dist/pages/protocol.mjs",
29
+ "#self/queues": "./dist/runtime/queues.mjs",
30
+ "#self/remote": "./dist/runtime/remote/index.mjs",
31
+ "#self/remote/binding-handler": "./dist/runtime/remote/binding-handler.mjs",
32
+ "#self/response": "./dist/runtime/response.mjs",
33
+ "#self/sandbox": "./dist/runtime/sandbox.mjs",
34
+ "#self/runtime/fetch": "./dist/runtime/fetch.mjs",
35
+ "#self/runtime/fetch-stream": "./dist/runtime/fetch-stream.mjs",
36
+ "#self/runtime/migration-handler": "./dist/runtime/migration-handler.mjs",
37
+ "#self/runtime/migration-handler-pg": "./dist/runtime/migration-handler-pg.mjs",
38
+ "#self/runtime/ws-server": "./dist/runtime/ws-server.mjs"
28
39
  },
29
- "homepage": "https://voidjs.com",
30
- "devDependencies": {
31
- "mocha": "^1.4.3",
32
- "should": "^3.3.1"
40
+ "exports": {
41
+ ".": {
42
+ "types": "./dist/index.d.mts",
43
+ "import": "./dist/index.mjs",
44
+ "require": "./dist/index.mjs"
45
+ },
46
+ "./handler": {
47
+ "types": "./dist/runtime/handler.d.mts",
48
+ "import": "./dist/runtime/handler.mjs",
49
+ "require": "./dist/runtime/handler.mjs"
50
+ },
51
+ "./response": {
52
+ "types": "./dist/runtime/response.d.mts",
53
+ "import": "./dist/runtime/response.mjs",
54
+ "require": "./dist/runtime/response.mjs"
55
+ },
56
+ "./auth": {
57
+ "types": "./dist/runtime/auth.d.mts",
58
+ "import": "./dist/runtime/auth.mjs",
59
+ "require": "./dist/runtime/auth.mjs"
60
+ },
61
+ "./validator": {
62
+ "types": "./dist/runtime/validator.d.mts",
63
+ "import": "./dist/runtime/validator.mjs",
64
+ "require": "./dist/runtime/validator.mjs"
65
+ },
66
+ "./routes": {
67
+ "types": "./dist/routes-stub.d.mts"
68
+ },
69
+ "./sveltekit": {
70
+ "types": "./dist/sveltekit.d.mts",
71
+ "import": "./dist/sveltekit.mjs",
72
+ "require": "./dist/sveltekit.mjs"
73
+ },
74
+ "./client": {
75
+ "types": "./dist/runtime/client.d.mts",
76
+ "import": "./dist/runtime/client.mjs",
77
+ "require": "./dist/runtime/client.mjs"
78
+ },
79
+ "./runtime/fetch": {
80
+ "types": "./dist/runtime/fetch.d.mts",
81
+ "import": "./dist/runtime/fetch.mjs",
82
+ "require": "./dist/runtime/fetch.mjs"
83
+ },
84
+ "./runtime/fetch-stream": {
85
+ "types": "./dist/runtime/fetch-stream.d.mts",
86
+ "import": "./dist/runtime/fetch-stream.mjs",
87
+ "require": "./dist/runtime/fetch-stream.mjs"
88
+ },
89
+ "./ws": {
90
+ "types": "./dist/runtime/ws.d.mts",
91
+ "import": "./dist/runtime/ws.mjs",
92
+ "require": "./dist/runtime/ws.mjs"
93
+ },
94
+ "./db": {
95
+ "types": "./dist/runtime/db.d.mts",
96
+ "import": "./dist/runtime/db.mjs",
97
+ "require": "./dist/runtime/db.mjs"
98
+ },
99
+ "./seed": {
100
+ "types": "./dist/runtime/seed.d.mts",
101
+ "import": "./dist/runtime/seed.mjs",
102
+ "require": "./dist/runtime/seed.mjs"
103
+ },
104
+ "./drizzle-zod": {
105
+ "types": "./dist/runtime/drizzle-zod.d.mts",
106
+ "import": "./dist/runtime/drizzle-zod.mjs",
107
+ "require": "./dist/runtime/drizzle-zod.mjs"
108
+ },
109
+ "./drizzle-valibot": {
110
+ "types": "./dist/runtime/drizzle-valibot.d.mts",
111
+ "import": "./dist/runtime/drizzle-valibot.mjs",
112
+ "require": "./dist/runtime/drizzle-valibot.mjs"
113
+ },
114
+ "./drizzle-arktype": {
115
+ "types": "./dist/runtime/drizzle-arktype.d.mts",
116
+ "import": "./dist/runtime/drizzle-arktype.mjs",
117
+ "require": "./dist/runtime/drizzle-arktype.mjs"
118
+ },
119
+ "./schema-d1": {
120
+ "types": "./dist/runtime/schema-d1.d.mts",
121
+ "import": "./dist/runtime/schema-d1.mjs",
122
+ "require": "./dist/runtime/schema-d1.mjs"
123
+ },
124
+ "./schema-pg": {
125
+ "types": "./dist/runtime/schema-pg.d.mts",
126
+ "import": "./dist/runtime/schema-pg.mjs",
127
+ "require": "./dist/runtime/schema-pg.mjs"
128
+ },
129
+ "./kv": {
130
+ "types": "./dist/runtime/kv.d.mts",
131
+ "import": "./dist/runtime/kv.mjs",
132
+ "require": "./dist/runtime/kv.mjs"
133
+ },
134
+ "./queues": {
135
+ "types": "./dist/runtime/queues.d.mts",
136
+ "import": "./dist/runtime/queues.mjs",
137
+ "require": "./dist/runtime/queues.mjs"
138
+ },
139
+ "./storage": {
140
+ "types": "./dist/runtime/storage.d.mts",
141
+ "import": "./dist/runtime/storage.mjs",
142
+ "require": "./dist/runtime/storage.mjs"
143
+ },
144
+ "./isr": {
145
+ "types": "./dist/runtime/isr.d.mts",
146
+ "import": "./dist/runtime/isr.mjs",
147
+ "require": "./dist/runtime/isr.mjs"
148
+ },
149
+ "./log": {
150
+ "types": "./dist/runtime/log.d.mts",
151
+ "import": "./dist/runtime/log.mjs",
152
+ "require": "./dist/runtime/log.mjs"
153
+ },
154
+ "./ai": {
155
+ "types": "./dist/runtime/ai.d.mts",
156
+ "import": "./dist/runtime/ai.mjs",
157
+ "require": "./dist/runtime/ai.mjs"
158
+ },
159
+ "./sandbox": {
160
+ "types": "./dist/runtime/sandbox.d.mts",
161
+ "import": "./dist/runtime/sandbox.mjs",
162
+ "require": "./dist/runtime/sandbox.mjs"
163
+ },
164
+ "./remote": {
165
+ "types": "./dist/runtime/remote/index.d.mts",
166
+ "import": "./dist/runtime/remote/index.mjs",
167
+ "require": "./dist/runtime/remote/index.mjs"
168
+ },
169
+ "./remote/binding-handler": {
170
+ "types": "./dist/runtime/remote/binding-handler.d.mts",
171
+ "import": "./dist/runtime/remote/binding-handler.mjs",
172
+ "require": "./dist/runtime/remote/binding-handler.mjs"
173
+ },
174
+ "./runtime/migration-handler": {
175
+ "types": "./dist/runtime/migration-handler.d.mts",
176
+ "import": "./dist/runtime/migration-handler.mjs",
177
+ "require": "./dist/runtime/migration-handler.mjs"
178
+ },
179
+ "./runtime/migration-handler-pg": {
180
+ "types": "./dist/runtime/migration-handler-pg.d.mts",
181
+ "import": "./dist/runtime/migration-handler-pg.mjs",
182
+ "require": "./dist/runtime/migration-handler-pg.mjs"
183
+ },
184
+ "./runtime/ws-server": {
185
+ "types": "./dist/runtime/ws-server.d.mts",
186
+ "import": "./dist/runtime/ws-server.mjs",
187
+ "require": "./dist/runtime/ws-server.mjs"
188
+ },
189
+ "./pages": {
190
+ "types": "./dist/pages/index.d.mts",
191
+ "import": "./dist/pages/index.mjs",
192
+ "require": "./dist/pages/index.mjs"
193
+ },
194
+ "./pages-protocol": {
195
+ "types": "./dist/pages/protocol.d.mts",
196
+ "import": "./dist/pages/protocol.mjs",
197
+ "require": "./dist/pages/protocol.mjs"
198
+ },
199
+ "./pages-head": {
200
+ "types": "./dist/pages/head.d.mts",
201
+ "import": "./dist/pages/head.mjs",
202
+ "require": "./dist/pages/head.mjs"
203
+ },
204
+ "./pages-head-client": {
205
+ "types": "./dist/pages/head-client.d.mts",
206
+ "import": "./dist/pages/head-client.mjs",
207
+ "require": "./dist/pages/head-client.mjs"
208
+ },
209
+ "./pages-prefetch": {
210
+ "types": "./dist/pages/prefetch.d.mts",
211
+ "import": "./dist/pages/prefetch.mjs",
212
+ "require": "./dist/pages/prefetch.mjs"
213
+ },
214
+ "./pages-client": {
215
+ "types": "./dist/pages/client.d.mts",
216
+ "import": "./dist/pages/client.mjs",
217
+ "require": "./dist/pages/client.mjs"
218
+ },
219
+ "./pages-server": {
220
+ "types": "./dist/pages/serialize.d.mts",
221
+ "import": "./dist/pages/serialize.mjs",
222
+ "require": "./dist/pages/serialize.mjs"
223
+ },
224
+ "./pages-islands-plugin": {
225
+ "types": "./dist/pages/islands-plugin.d.mts",
226
+ "import": "./dist/pages/islands-plugin.mjs",
227
+ "require": "./dist/pages/islands-plugin.mjs"
228
+ },
229
+ "./env": {
230
+ "types": "./dist/runtime/env-public.d.mts",
231
+ "workerd": {
232
+ "import": "./dist/runtime/env-public.mjs",
233
+ "require": "./dist/runtime/env-public.mjs"
234
+ },
235
+ "worker": {
236
+ "import": "./dist/runtime/env-public.mjs",
237
+ "require": "./dist/runtime/env-public.mjs"
238
+ },
239
+ "browser": {
240
+ "import": "./dist/runtime/env-public-client.mjs",
241
+ "require": "./dist/runtime/env-public-client.mjs"
242
+ },
243
+ "default": {
244
+ "import": "./dist/runtime/env-public.mjs",
245
+ "require": "./dist/runtime/env-public.mjs"
246
+ }
247
+ },
248
+ "./_env": {
249
+ "types": "./dist/runtime/env.d.mts",
250
+ "import": "./dist/runtime/env.mjs",
251
+ "require": "./dist/runtime/env.mjs"
252
+ },
253
+ "./_db": {
254
+ "types": "./dist/runtime/db.d.mts",
255
+ "import": "./dist/runtime/db.mjs",
256
+ "require": "./dist/runtime/db.mjs"
257
+ },
258
+ "./_db-pg": {
259
+ "types": "./dist/runtime/db-pg.d.mts",
260
+ "import": "./dist/runtime/db-pg.mjs",
261
+ "require": "./dist/runtime/db-pg.mjs"
262
+ }
33
263
  },
34
264
  "dependencies": {
35
- "aws-sdk": "^2.0.0-rc.14",
36
- "jquery-extend": "^2.0.3",
37
- "file": "^0.2.2"
265
+ "@cloudflare/sandbox": "^0.9.3",
266
+ "@cloudflare/vite-plugin": "^1.36.0",
267
+ "@cloudflare/workers-types": "^4.20260506.1",
268
+ "@hono/oauth-providers": "^0.8.5",
269
+ "@napi-rs/keyring": "1.3.0",
270
+ "better-auth": "^1.6.9",
271
+ "better-sqlite3": "^12.9.0",
272
+ "blake3-jit": "^1.1.0",
273
+ "drizzle-arktype": "^0.1.3",
274
+ "drizzle-kit": "^0.31.10",
275
+ "drizzle-orm": "^0.45.2",
276
+ "drizzle-valibot": "^0.4.2",
277
+ "drizzle-zod": "^0.8.3",
278
+ "hono": "^4.12.17",
279
+ "ignore": "^7.0.5",
280
+ "jsonc-parser": "3.3.1",
281
+ "pg": "^8.20.0",
282
+ "wrangler": "^4.88.0"
283
+ },
284
+ "devDependencies": {
285
+ "@clack/prompts": "^1.3.0",
286
+ "@electric-sql/pglite": "0.4.5",
287
+ "@types/better-sqlite3": "^7.6.13",
288
+ "@types/node": "^25.6.0",
289
+ "@types/pg": "^8.20.0",
290
+ "@typescript/native-preview": "7.0.0-dev.20260505.1",
291
+ "arktype": "^2.2.0",
292
+ "es-module-lexer": "^2.1.0",
293
+ "estree-walker": "^3.0.3",
294
+ "magic-string": "^0.30.21",
295
+ "ofetch": "2.0.0-alpha.3",
296
+ "pathe": "^2.0.3",
297
+ "pglite-server": "0.1.5",
298
+ "picocolors": "^1.1.1",
299
+ "tinyglobby": "^0.2.16",
300
+ "tsdown": "^0.21.10",
301
+ "valibot": "^1.4.0",
302
+ "vite": "^8.0.10",
303
+ "zod": "^4.4.3"
304
+ },
305
+ "peerDependencies": {
306
+ "arktype": ">=2.0.0",
307
+ "valibot": ">=1.0.0-beta.7",
308
+ "vite": "^8.0.0",
309
+ "zod": "^3.25.0 || ^4.0.0",
310
+ "@void/md": "0.7.0"
311
+ },
312
+ "peerDependenciesMeta": {
313
+ "@void/md": {
314
+ "optional": true
315
+ },
316
+ "arktype": {
317
+ "optional": true
318
+ },
319
+ "valibot": {
320
+ "optional": true
321
+ },
322
+ "zod": {
323
+ "optional": true
324
+ }
325
+ },
326
+ "scripts": {
327
+ "build": "node scripts/sync-skill-docs.mjs && tsdown",
328
+ "dev": "tsdown --watch",
329
+ "typecheck": "tsgo --noEmit"
38
330
  }
39
- }
331
+ }