vite-hub 0.0.1 → 0.0.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 (175) hide show
  1. package/README.md +95 -3
  2. package/dist/_internal/agent/cloudflare/state.d.ts +1 -0
  3. package/dist/_internal/agent/cloudflare/state.js +2 -0
  4. package/dist/_internal/agent/cloudflare.d.ts +1 -0
  5. package/dist/_internal/agent/cloudflare.js +2 -0
  6. package/dist/_internal/agent/runtime/workflow.d.ts +1 -0
  7. package/dist/_internal/agent/runtime/workflow.js +2 -0
  8. package/dist/_internal/agent/server/internal.d.ts +1 -0
  9. package/dist/_internal/agent/server/internal.js +2 -0
  10. package/dist/_internal/agent/server/workspace.d.ts +1 -0
  11. package/dist/_internal/agent/server/workspace.js +2 -0
  12. package/dist/_internal/agent/server.d.ts +1 -0
  13. package/dist/_internal/agent/server.js +2 -0
  14. package/dist/_internal/agent/state/sqlite.d.ts +1 -0
  15. package/dist/_internal/agent/state/sqlite.js +2 -0
  16. package/dist/_internal/agent.d.ts +1 -0
  17. package/dist/_internal/agent.js +2 -0
  18. package/dist/_internal/blob/runtime/state.d.ts +1 -0
  19. package/dist/_internal/blob/runtime/state.js +2 -0
  20. package/dist/_internal/blob.d.ts +1 -0
  21. package/dist/_internal/blob.js +2 -0
  22. package/dist/_internal/kv/runtime/disabled-upstash.d.ts +4 -0
  23. package/dist/_internal/kv/runtime/disabled-upstash.js +6 -0
  24. package/dist/_internal/kv.d.ts +1 -0
  25. package/dist/_internal/kv.js +2 -0
  26. package/dist/_internal/markdown-template.d.ts +2 -0
  27. package/dist/_internal/markdown-template.js +2 -0
  28. package/dist/_internal/rate-limit/runtime.d.ts +1 -0
  29. package/dist/_internal/rate-limit/runtime.js +2 -0
  30. package/dist/_internal/sandbox/runtime/state.d.ts +1 -0
  31. package/dist/_internal/sandbox/runtime/state.js +2 -0
  32. package/dist/_internal/schedule/runtime/driver.d.ts +1 -0
  33. package/dist/_internal/schedule/runtime/driver.js +2 -0
  34. package/dist/_internal/schedule/runtime/process.d.ts +1 -0
  35. package/dist/_internal/schedule/runtime/process.js +2 -0
  36. package/dist/_internal/schedule/runtime/static.d.ts +1 -0
  37. package/dist/_internal/schedule/runtime/static.js +2 -0
  38. package/dist/_internal/schedule/runtime.d.ts +1 -0
  39. package/dist/_internal/schedule/runtime.js +2 -0
  40. package/dist/_internal/schedule.d.ts +1 -0
  41. package/dist/_internal/schedule.js +2 -0
  42. package/dist/_internal/workflow/runtime/execute.d.ts +1 -0
  43. package/dist/_internal/workflow/runtime/execute.js +2 -0
  44. package/dist/_internal/workflow/runtime/state.d.ts +1 -0
  45. package/dist/_internal/workflow/runtime/state.js +2 -0
  46. package/dist/_internal/workflow.d.ts +1 -0
  47. package/dist/_internal/workflow.js +2 -0
  48. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.d.ts +1 -0
  49. package/dist/_internal/workspace/internal/runtime/hosted-vercel-blob.js +2 -0
  50. package/dist/_internal/workspace/internal/runtime/hosted.d.ts +1 -0
  51. package/dist/_internal/workspace/internal/runtime/hosted.js +2 -0
  52. package/dist/_internal/workspace/internal/runtime/state.d.ts +1 -0
  53. package/dist/_internal/workspace/internal/runtime/state.js +2 -0
  54. package/dist/_internal/workspace/runtime.d.ts +1 -0
  55. package/dist/_internal/workspace/runtime.js +2 -0
  56. package/dist/_internal/workspace.d.ts +1 -0
  57. package/dist/_internal/workspace.js +2 -0
  58. package/dist/agent/capabilities.d.ts +1 -0
  59. package/dist/agent/capabilities.js +2 -0
  60. package/dist/agent/channels.d.ts +1 -0
  61. package/dist/agent/channels.js +2 -0
  62. package/dist/agent/cloudflare.d.ts +1 -0
  63. package/dist/agent/cloudflare.js +2 -0
  64. package/dist/agent/eval.d.ts +1 -0
  65. package/dist/agent/eval.js +2 -0
  66. package/dist/agent/harness/local-sandbox.d.ts +1 -0
  67. package/dist/agent/harness/local-sandbox.js +2 -0
  68. package/dist/agent/server.d.ts +1 -0
  69. package/dist/agent/server.js +2 -0
  70. package/dist/agent/state/sqlite.d.ts +1 -0
  71. package/dist/agent/state/sqlite.js +2 -0
  72. package/dist/agent.d.ts +1 -0
  73. package/dist/agent.js +2 -0
  74. package/dist/auth/agent.d.ts +1 -0
  75. package/dist/auth/agent.js +2 -0
  76. package/dist/auth/server.d.ts +3 -0
  77. package/dist/auth/server.js +3 -0
  78. package/dist/auth.d.ts +1 -0
  79. package/dist/auth.js +2 -0
  80. package/dist/bin.d.ts +1 -0
  81. package/dist/bin.js +12 -0
  82. package/dist/blob/content-type.d.ts +1 -0
  83. package/dist/blob/content-type.js +2 -0
  84. package/dist/blob.d.ts +1 -0
  85. package/dist/blob.js +2 -0
  86. package/dist/box.d.ts +1 -0
  87. package/dist/box.js +2 -0
  88. package/dist/browser/controllers/cdp.d.ts +1 -0
  89. package/dist/browser/controllers/cdp.js +2 -0
  90. package/dist/browser/controllers/playwright.d.ts +1 -0
  91. package/dist/browser/controllers/playwright.js +2 -0
  92. package/dist/browser/providers/cloudflare.d.ts +1 -0
  93. package/dist/browser/providers/cloudflare.js +2 -0
  94. package/dist/browser/providers/local.d.ts +1 -0
  95. package/dist/browser/providers/local.js +2 -0
  96. package/dist/browser.d.ts +1 -0
  97. package/dist/browser.js +2 -0
  98. package/dist/database/drizzle.d.ts +1 -0
  99. package/dist/database/drizzle.js +2 -0
  100. package/dist/database.d.ts +1 -0
  101. package/dist/database.js +2 -0
  102. package/dist/email/drivers/smtp.d.ts +1 -0
  103. package/dist/email/drivers/smtp.js +2 -0
  104. package/dist/email/markdown.d.ts +1 -0
  105. package/dist/email/markdown.js +2 -0
  106. package/dist/email/server.d.ts +1 -0
  107. package/dist/email/server.js +2 -0
  108. package/dist/email.d.ts +1 -0
  109. package/dist/email.js +2 -0
  110. package/dist/env/presets.d.ts +1 -0
  111. package/dist/env/presets.js +2 -0
  112. package/dist/env/schema.d.ts +1 -0
  113. package/dist/env/schema.js +2 -0
  114. package/dist/env/secret.d.ts +1 -0
  115. package/dist/env/secret.js +2 -0
  116. package/dist/env/server.d.ts +1 -0
  117. package/dist/env/server.js +2 -0
  118. package/dist/env.d.ts +1 -0
  119. package/dist/env.js +2 -0
  120. package/dist/index.d.ts +45 -0
  121. package/dist/index.js +2 -0
  122. package/dist/kv.d.ts +1 -0
  123. package/dist/kv.js +2 -0
  124. package/dist/markdown-template.d.ts +1 -0
  125. package/dist/markdown-template.js +2 -0
  126. package/dist/nuxt.d.ts +18 -0
  127. package/dist/nuxt.js +83 -0
  128. package/dist/queue.d.ts +1 -0
  129. package/dist/queue.js +2 -0
  130. package/dist/rate-limit.d.ts +1 -0
  131. package/dist/rate-limit.js +2 -0
  132. package/dist/runtime.d.ts +1 -0
  133. package/dist/runtime.js +2 -0
  134. package/dist/sandbox.d.ts +1 -0
  135. package/dist/sandbox.js +2 -0
  136. package/dist/schedule/runtime/driver.d.ts +1 -0
  137. package/dist/schedule/runtime/driver.js +2 -0
  138. package/dist/schedule/runtime/process.d.ts +1 -0
  139. package/dist/schedule/runtime/process.js +2 -0
  140. package/dist/schedule/runtime.d.ts +1 -0
  141. package/dist/schedule/runtime.js +2 -0
  142. package/dist/schedule.d.ts +1 -0
  143. package/dist/schedule.js +2 -0
  144. package/dist/shell/providers/cloudflare.d.ts +1 -0
  145. package/dist/shell/providers/cloudflare.js +2 -0
  146. package/dist/shell/providers/just-bash.d.ts +1 -0
  147. package/dist/shell/providers/just-bash.js +2 -0
  148. package/dist/shell/workspace.d.ts +1 -0
  149. package/dist/shell/workspace.js +2 -0
  150. package/dist/shell.d.ts +1 -0
  151. package/dist/shell.js +2 -0
  152. package/dist/source.d.ts +1 -0
  153. package/dist/source.js +2 -0
  154. package/dist/src-o6zB-soj.js +1135 -0
  155. package/dist/workflow.d.ts +1 -0
  156. package/dist/workflow.js +2 -0
  157. package/dist/workspace/cloudflare.d.ts +1 -0
  158. package/dist/workspace/cloudflare.js +2 -0
  159. package/dist/workspace/collections/client.d.ts +1 -0
  160. package/dist/workspace/collections/client.js +2 -0
  161. package/dist/workspace/collections.d.ts +1 -0
  162. package/dist/workspace/collections.js +2 -0
  163. package/dist/workspace/loader.d.ts +1 -0
  164. package/dist/workspace/loader.js +2 -0
  165. package/dist/workspace/publish.d.ts +1 -0
  166. package/dist/workspace/publish.js +2 -0
  167. package/dist/workspace/runtime.d.ts +1 -0
  168. package/dist/workspace/runtime.js +2 -0
  169. package/dist/workspace/server.d.ts +1 -0
  170. package/dist/workspace/server.js +2 -0
  171. package/dist/workspace.d.ts +1 -0
  172. package/dist/workspace.js +2 -0
  173. package/package.json +181 -15
  174. package/tsconfig.json +3 -0
  175. package/bin/vite-hub.js +0 -15
package/README.md CHANGED
@@ -1,9 +1,101 @@
1
1
  # vite-hub
2
2
 
3
- This package is a deprecated placeholder.
3
+ `vite-hub` is the cohesive ViteHub framework distribution. It gives applications one ViteHub dependency, one `vitehub()` Vite entry, and deliberate feature subpaths while every `@vite-hub/*` package keeps owning its implementation and remains independently installable.
4
4
 
5
- The ViteHub CLI is published as `@vite-hub/cli`.
5
+ ## Install
6
6
 
7
7
  ```sh
8
- npx @vite-hub/cli
8
+ pnpm add vite-hub
9
9
  ```
10
+
11
+ ## Configure ViteHub
12
+
13
+ Choose one built-in deployment preset. Application routes and feature imports stay unchanged when the target changes.
14
+
15
+ ```ts
16
+ // vite.config.ts
17
+ import { vitehub } from "vite-hub"
18
+ import { defineConfig } from "vite"
19
+
20
+ export default defineConfig({
21
+ plugins: [vitehub({ preset: "node" })],
22
+ })
23
+ ```
24
+
25
+ The public presets are `cloudflare`, `netlify`, `vercel`, `deno`, and `node`. Each resolves once to a host, runtime, Nitro output, packaging policy, and service adapters; do not also set `nitro.preset`, `NITRO_PRESET`, `SERVER_PRESET`, or `VITEHUB_HOSTING`.
26
+
27
+ ViteHub derives one deployment identity from the nearest `package.json` name, falling back to the Vite root directory name. Set `name` to pin the identity explicitly. `VITEHUB_DEPLOYMENT_NAME` remains a compatibility input, and conflicts with an explicit `name` fail configuration. Cloudflare Workers Builds supplies its connected Worker through `WRANGLER_CI_OVERRIDE_NAME`; the Cloudflare preset uses it after explicit ViteHub identity inputs and fails when those inputs resolve to another name because the connected Worker remains the deployment target. Cloudflare uses the resolved identity for the default Worker, Blob bucket, Queue prefix, Rate Limit namespace, Sandbox, and Container names. Explicit Wrangler Worker names remain authoritative outside Workers Builds, while explicit Blob bucket, driver, and store options still win. The Workers Builds fallback derives deterministic names but does not provision the corresponding R2 bucket or Queue.
28
+
29
+ Blob, Agent, Auth, Database, Email, KV, Queue, Rate Limit, Sandbox, Schedule, Workflow, and Workspace are opt-in:
30
+
31
+ ```ts
32
+ vitehub({
33
+ agent: true,
34
+ blob: true,
35
+ preset: "cloudflare",
36
+ auth: true,
37
+ database: true,
38
+ email: true,
39
+ kv: true,
40
+ queue: true,
41
+ rateLimit: true,
42
+ sandbox: true,
43
+ schedule: true,
44
+ workflow: true,
45
+ workspace: true,
46
+ })
47
+ ```
48
+
49
+ | Preset | Blob | Queue | Rate Limit | Sandbox | Schedule |
50
+ | --- | --- | --- | --- | --- | --- |
51
+ | `cloudflare` | R2 | Cloudflare Queues | Cloudflare | Cloudflare Containers | Supported |
52
+ | `netlify` | Netlify Blobs | Unsupported | Unsupported | Unsupported | Supported |
53
+ | `vercel` | Vercel Blob | Vercel Queues | Unsupported | Vercel Sandbox | Supported |
54
+ | `deno` | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
55
+ | `node` | Local filesystem (single host) | Unsupported | Process memory (single process) | Unsupported | Supported |
56
+
57
+ Selecting an unsupported opt-in capability fails the build with the preset policy. You can instead configure an explicit Blob driver through `blob` or compose an owner package directly when the application provides its own portable implementation.
58
+
59
+ The Deno preset uses Nitro's Deno entrypoint, so it rejects Schedule and `agent.runtime: "deno"`; those owner-package outputs require an explicit deployment integration.
60
+
61
+ The Deno preset emits `.output/deno.json`, stages emitted runtime packages and installed optional native dependencies under `.output/node_modules`, and writes `.output/deploy.mjs`, a non-interactive create-or-update runner used by the `node ./deploy.mjs` command in `.output/nitro.json`; set `DENO_DEPLOY_ORG` plus `DENO_DEPLOY_APP` or `VITEHUB_DEPLOYMENT_NAME` before deployment. The runner uploads node modules when it creates or updates an app. The Node preset emits a plain Node server artifact suitable for a VPS or container image; Docker is not a hosting preset.
62
+
63
+ ## Configure TypeScript
64
+
65
+ Extend `vite-hub/tsconfig` to load ViteHub's generated declarations without adding `.vitehub` to your application `include`. This config requires TypeScript 5.5 or newer.
66
+
67
+ ```json
68
+ {
69
+ "extends": ["vite-hub/tsconfig"],
70
+ "include": ["server/**/*.ts", "vite.config.ts"]
71
+ }
72
+ ```
73
+
74
+ Run `vitehub types prepare` after installation so editors have `.vitehub/types.d.ts` before the first dev build:
75
+
76
+ ```json
77
+ {
78
+ "scripts": {
79
+ "postinstall": "vitehub types prepare"
80
+ }
81
+ }
82
+ ```
83
+
84
+ Vite config resolution and builds also refresh the entry. Defining `files` in the application config replaces the inherited entry, so include `.vitehub/types.d.ts` there when taking ownership of `files`.
85
+
86
+ ## Use feature APIs
87
+
88
+ ```ts
89
+ import { defineAgent } from "vite-hub/agent"
90
+ import { workspaceShell } from "vite-hub/agent/capabilities"
91
+ import { env } from "vite-hub/env"
92
+ import { renderMarkdownTemplate } from "vite-hub/markdown-template"
93
+ import { defineWorkspace } from "vite-hub/workspace"
94
+ import { defineWorkflow } from "vite-hub/workflow"
95
+ ```
96
+
97
+ The root export intentionally contains only the framework configuration API. Feature code belongs on a feature subpath, which forwards to the package that owns it.
98
+
99
+ Built-in Agent Drivers and Box runtimes are selected by literal or tagged values, so they do not need provider-specific ViteHub imports. Install an optional external provider or SDK explicitly when its runtime requires one.
100
+
101
+ Install an `@vite-hub/*` owner package directly when building a custom composition, another framework integration, or package-level tooling.
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/cloudflare/state";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/cloudflare/state";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/cloudflare";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/cloudflare";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/runtime/workflow";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/runtime/workflow";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/server/internal";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/server/internal";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/server/workspace";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/server/workspace";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/server";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/server";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/state/sqlite";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/state/sqlite";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/blob/runtime/state";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/blob/runtime/state";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/blob";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/blob";
2
+ export {};
@@ -0,0 +1,4 @@
1
+ //#region src/_internal/kv/runtime/disabled-upstash.d.ts
2
+ declare function disabledUpstashDriver(): never;
3
+ //#endregion
4
+ export { disabledUpstashDriver as default };
@@ -0,0 +1,6 @@
1
+ //#region src/_internal/kv/runtime/disabled-upstash.ts
2
+ function disabledUpstashDriver() {
3
+ throw new Error("[vitehub] The Upstash KV driver is unavailable because this ViteHub build does not configure an Upstash store.");
4
+ }
5
+ //#endregion
6
+ export { disabledUpstashDriver as default };
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/kv";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/kv";
2
+ export {};
@@ -0,0 +1,2 @@
1
+ import { renderMarkdownTemplate } from "@vite-hub/markdown-template";
2
+ export { renderMarkdownTemplate };
@@ -0,0 +1,2 @@
1
+ import { renderMarkdownTemplate } from "@vite-hub/markdown-template";
2
+ export { renderMarkdownTemplate };
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/rate-limit/runtime";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/rate-limit/runtime";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/sandbox/runtime/state";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/sandbox/runtime/state";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/schedule/runtime/driver";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/schedule/runtime/driver";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/schedule/runtime/process";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/schedule/runtime/process";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/schedule/runtime/static";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/schedule/runtime/static";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/schedule/runtime";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/schedule/runtime";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/schedule";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/schedule";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workflow/runtime/execute";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workflow/runtime/execute";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workflow/runtime/state";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workflow/runtime/state";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workflow";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workflow";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/hosted-vercel-blob";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/hosted-vercel-blob";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/hosted";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/hosted";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/state";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workspace/internal/runtime/state";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workspace/runtime";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workspace/runtime";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/workspace";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/workspace";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/capabilities";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/capabilities";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/channels";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/channels";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/cloudflare";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/cloudflare";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/eval";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/eval";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/harness/local-sandbox";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/harness/local-sandbox";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/server";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/server";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent/state/sqlite";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent/state/sqlite";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/agent";
package/dist/agent.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/agent";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/auth/agent";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/auth/agent";
2
+ export {};
@@ -0,0 +1,3 @@
1
+ import server_default from "@vite-hub/auth/server";
2
+ export * from "@vite-hub/auth/server";
3
+ export { server_default as default };
@@ -0,0 +1,3 @@
1
+ import server_default from "@vite-hub/auth/server";
2
+ export * from "@vite-hub/auth/server";
3
+ export { server_default as default };
package/dist/auth.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/auth";
package/dist/auth.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/auth";
2
+ export {};
package/dist/bin.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { };
package/dist/bin.js ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import process from "node:process";
3
+ import { runViteHubCli } from "@vite-hub/cli";
4
+ //#region src/bin.ts
5
+ runViteHubCli().then((exitCode) => {
6
+ process.exit(exitCode);
7
+ }).catch((error) => {
8
+ console.error(error instanceof Error ? error.message : error);
9
+ process.exit(1);
10
+ });
11
+ //#endregion
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/blob/content-type";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/blob/content-type";
2
+ export {};
package/dist/blob.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/blob";
package/dist/blob.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/blob";
2
+ export {};
package/dist/box.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/box";
package/dist/box.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/box";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/browser/controllers/cdp";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/browser/controllers/cdp";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/browser/controllers/playwright";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/browser/controllers/playwright";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/browser/providers/cloudflare";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/browser/providers/cloudflare";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/browser/providers/local";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/browser/providers/local";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/browser";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/browser";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/database/drizzle";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/database/drizzle";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/database";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/database";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/email/drivers/smtp";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/email/drivers/smtp";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/email/markdown";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/email/markdown";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/email/server";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/email/server";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/email";
package/dist/email.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/email";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/env/presets";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/env/presets";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/env/schema";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/env/schema";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/env/secret";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/env/secret";
2
+ export {};
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/env/server";
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/env/server";
2
+ export {};
package/dist/env.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@vite-hub/env";
package/dist/env.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@vite-hub/env";
2
+ export {};