void 0.28.0 → 1.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.
- package/dist/{account-cmd-Ci00cncT.mjs → account-cmd-BTcUzv9L.mjs} +4 -4
- package/dist/{application-analysis-D72ZQfMZ.mjs → application-analysis-AB_YYWgH.mjs} +1 -1
- package/dist/{application-routing-Dy589Vgn.mjs → application-routing-L7V-TFhZ.mjs} +1 -1
- package/dist/auth-Cbqi1iVX.mjs +1 -0
- package/dist/{auth-link-DWr6Afao.mjs → auth-link-DUJuvRx5.mjs} +4 -4
- package/dist/{auth-router-DP14wVkZ.mjs → auth-router-CIxiMG7i.mjs} +3 -3
- package/dist/{build-cmd-Cr3FJxv0.mjs → build-cmd-BkIv25PA.mjs} +3 -3
- package/dist/{cache-D0Tt28cn.mjs → cache-Ctzfig-W.mjs} +3 -3
- package/dist/{cancel-deploy-CJKvk7AN.mjs → cancel-deploy-CD9o-SsC.mjs} +2 -2
- package/dist/cf-build-output-BU3hqdHu.mjs +1 -0
- package/dist/cli/cli.mjs +31 -31
- package/dist/cli/cloudflare-operation-process.mjs +2 -2
- package/dist/cli/env-schema-probe.d.mts +2 -1
- package/dist/cli/env-schema-probe.mjs +2 -2
- package/dist/client-B60PwCC4.mjs +1 -0
- package/dist/{cloudflare-cmd-CTrn-lXJ.mjs → cloudflare-cmd-BIAF_BIY.mjs} +2 -2
- package/dist/{cloudflare-connect-BosmCNlq.mjs → cloudflare-connect-WjwnVOJA.mjs} +1 -1
- package/dist/{cloudflare-operations-BKdSfNBN.mjs → cloudflare-operations-B42EZeJy.mjs} +3 -3
- package/dist/cloudflare-operations-CrSUFRzJ.mjs +1 -0
- package/dist/collect-Cae8A7Zr.mjs +1 -0
- package/dist/config-QrJWu0IX.mjs +1 -0
- package/dist/{connect-nukQSoEO.mjs → connect-CKtk-EZe.mjs} +5 -5
- package/dist/create-project-B-ewF_Af.mjs +1 -0
- package/dist/{create-project-D4APeBwX.mjs → create-project-yInGo72M.mjs} +3 -3
- package/dist/database-provider.mjs +1 -2
- package/dist/{db-27RztQLy.mjs → db-7I_gfdVq.mjs} +37 -38
- package/dist/db-types-Bb4WBWIs.mjs +49 -0
- package/dist/{delete-BbsZFZIw.mjs → delete-Cy-M1u-r.mjs} +3 -3
- package/dist/deploy-9lgfhrXS.mjs +2 -0
- package/dist/{deploy-B06EQq4t.mjs → deploy-BYYlnsiy.mjs} +176 -21
- package/dist/{deploy-managed-static-CGswbcay.mjs → deploy-managed-static-Ca4TFdmx.mjs} +24 -706
- package/dist/{deploy-transport-BiicfoQW.mjs → deploy-transport-DWlWBe6M.mjs} +1 -1
- package/dist/deploy.mjs +4 -4
- package/dist/discover-ClzFSwns.mjs +1 -0
- package/dist/dispatch-DrTTk8Xg.mjs +431 -0
- package/dist/{dist-D3m88sjf.mjs → dist-BVdsO7Py.mjs} +5 -6
- package/dist/dist-CfgIkieS.mjs +1 -0
- package/dist/{domain-Bfq9n03H.mjs → domain-CZGxPv9u.mjs} +4 -4
- package/dist/edge.mjs +1 -2
- package/dist/{email-DIwaQU4P.mjs → email-DzyNVuoU.mjs} +6 -6
- package/dist/{email-cloudflare-CH053RxK.mjs → email-cloudflare-DfG6UEMm.mjs} +1 -1
- package/dist/{env-BhdWMrNy.mjs → env-0jrMQJI_.mjs} +5 -2
- package/dist/{env-C6ipBLp3.mjs → env-Nx3yf50r.mjs} +4 -4
- package/dist/{env-raw-Cklzcde3.mjs → env-raw-D74P4ebM.mjs} +12 -1
- package/dist/env-validation-BT7z-qpQ.mjs +1 -0
- package/dist/{env-validation-cE0zcmzO.mjs → env-validation-DYxjz_Wo.mjs} +2 -0
- package/dist/{gen-CnN1Xidx.mjs → gen-CufHEf42.mjs} +2 -2
- package/dist/gen-sXyp5DFO.mjs +1 -0
- package/dist/generate-ClI89brV.mjs +1 -0
- package/dist/{github-cmd-BdkU4Nhe.mjs → github-cmd-FU8EjFyU.mjs} +3 -3
- package/dist/{help-Bug7pyK_.mjs → help-BT2hovNI.mjs} +9 -5
- package/dist/help-i2YGGnTH.mjs +1 -0
- package/dist/{inbound-DmkTQeWp.mjs → inbound-BuTfm11U.mjs} +1 -1
- package/dist/index.mjs +551 -303
- package/dist/{info-CujPwtMe.mjs → info-l249eUdH.mjs} +1 -1
- package/dist/{init-ZWOJvc-Z.mjs → init-D0A6M64Q.mjs} +60 -14
- package/dist/{isr-config-DPjXM8J2.mjs → isr-config-fZaJJ8t7.mjs} +1 -30
- package/dist/{link-UEc7bnF4.mjs → link-WMoJFf4i.mjs} +4 -4
- package/dist/{list-CuWeOnzk.mjs → list-CQ2EQEHL.mjs} +4 -4
- package/dist/{live-BxLX-JqJ.mjs → live-BcHoTDFe.mjs} +1 -1
- package/dist/{local-d1-BM3p74mm.mjs → local-d1-BxvQYEFi.mjs} +1 -1
- package/dist/{login-CZ2Cqa-D.mjs → login-C2T1oVG-.mjs} +3 -3
- package/dist/login-XD844Xs-.mjs +1 -0
- package/dist/{logs-TihRcLTk.mjs → logs-DnC1d7xB.mjs} +3 -3
- package/dist/{migrate-uFwojusJ.mjs → migrate-BDIprOYd.mjs} +2 -2
- package/dist/migrate-BRwU-blY.mjs +1 -0
- package/dist/mysql-migration-sql-BIS5vbNk.mjs +241 -0
- package/dist/nitro.d.mts +30 -0
- package/dist/nitro.mjs +88 -0
- package/dist/{node-DoKbo1SZ.mjs → node-cPadMgUO.mjs} +3 -3
- package/dist/operator-cmd-D6gnZsnK.mjs +1 -0
- package/dist/{operator-cmd-C5lCctnc.mjs → operator-cmd-DHieWtFp.mjs} +5 -5
- package/dist/{output-FNHKw5Ac.mjs → output-Ba6ZbrzY.mjs} +1 -1
- package/dist/pages/head.mjs +1 -2
- package/dist/pages/prefetch.mjs +1 -2
- package/dist/pages/serialize.mjs +1 -2
- package/dist/plan-CKX_jWnD.mjs +1 -0
- package/dist/platform-args-B0HeTh0C.mjs +1 -0
- package/dist/{platform-args-C6Mb_I3a.mjs → platform-args-CaCL_1Ch.mjs} +9 -2
- package/dist/{platform-auth-config-CJmNkFT2.mjs → platform-auth-config-Z16-I8nT.mjs} +6 -6
- package/dist/{platform-auth-protection-D5wvsI-Y.mjs → platform-auth-protection-BXwZiJSF.mjs} +4 -4
- package/dist/{platform-auth-recovery-D_0I3n-1.mjs → platform-auth-recovery-CXjfqyOv.mjs} +4 -4
- package/dist/{platform-cmd-DxxZO6e5.mjs → platform-cmd-DaAOiWTl.mjs} +7 -7
- package/dist/platform-cmd-PT4YwMLM.mjs +1 -0
- package/dist/{platform-domain-zLXnW1G_.mjs → platform-domain-CxpvUeo0.mjs} +4 -4
- package/dist/{platform-lifecycle-DOW-wLfx.mjs → platform-lifecycle-DBiS0cJd.mjs} +317 -99
- package/dist/platform-lifecycle-u9pMOvxC.mjs +1 -0
- package/dist/{platform-management-t7HKy4-U.mjs → platform-management-DhEFdQAf.mjs} +67 -9
- package/dist/platform-management-DvBS83rC.mjs +1 -0
- package/dist/{platform-plans-config-CNH6zbPX.mjs → platform-plans-config-BWn1S2Rv.mjs} +2 -2
- package/dist/{platform-recovery-DeucI7A9.mjs → platform-recovery-BUGOB4RC.mjs} +2 -2
- package/dist/{platform-setup-CTf6MMT9.mjs → platform-setup-YvN9VQXV.mjs} +3 -3
- package/dist/prepare-CYT6tAzD.mjs +1 -0
- package/dist/{prepare-CSH9dKTI.mjs → prepare-DEB5SeVJ.mjs} +3 -2
- package/dist/{prepare-C4zfwks4.mjs → prepare-PQCgsny0.mjs} +3 -3
- package/dist/prerender-render.mjs +1 -2
- package/dist/{project-cmd-Dq75AXzy.mjs → project-cmd-DVatD8Ev.mjs} +16 -16
- package/dist/project-slug-6cyz8E7k.mjs +1 -0
- package/dist/{project-team-B3_QcStG.mjs → project-team-DJrWEAG1.mjs} +3 -3
- package/dist/{project-token-CvsRvv2I.mjs → project-token-CBgLBuL6.mjs} +3 -3
- package/dist/project-zdB3fs9G.mjs +1 -0
- package/dist/{project-zero-trust-D1ICiwN_.mjs → project-zero-trust-92gLtZ25.mjs} +3 -3
- package/dist/{provision-DDh7ITVS.mjs → provision-BnSSkiED.mjs} +1 -1
- package/dist/{requests-3CL3BuZh.mjs → requests-7W1Pygt2.mjs} +2 -2
- package/dist/resolve-project-PnhzMtY6.mjs +1 -0
- package/dist/{resolve-project-C_Cu7E8a.mjs → resolve-project-WpwkCB_c.mjs} +1 -1
- package/dist/{rollback-Ce1d_0J9.mjs → rollback-BcASVnwP.mjs} +3 -3
- package/dist/{route-types-IrBuwJ7u.mjs → route-types-BZi26DVS.mjs} +2 -49
- package/dist/{runner-DcVDrzuR.mjs → runner-CabsQ-iM.mjs} +15 -6
- package/dist/runner-So9mYfcm.mjs +1 -0
- package/dist/runner-mysql-BhRaONkO.mjs +146 -0
- package/dist/runner-mysql-DWwE8jKi.mjs +1 -0
- package/dist/{runner-pg-CPd-CB_F.mjs → runner-pg-BRemq_GX.mjs} +2 -2
- package/dist/runner-pg-_Xncr3H5.mjs +1 -0
- package/dist/runtime/ai.mjs +15 -4
- package/dist/runtime/auth-client-react.mjs +1 -2
- package/dist/runtime/auth-client-solid.mjs +1 -2
- package/dist/runtime/auth-client-svelte.mjs +1 -2
- package/dist/runtime/auth-client-vue.mjs +1 -2
- package/dist/runtime/auth-client.mjs +1 -2
- package/dist/runtime/auth.mjs +1 -2
- package/dist/runtime/better-auth-mysql.mjs +4 -1
- package/dist/runtime/db.mjs +6 -2
- package/dist/runtime/durable.d.mts +2 -1
- package/dist/runtime/durable.mjs +1 -1
- package/dist/runtime/email/testing.mjs +1 -1
- package/dist/runtime/email-protocol.mjs +1 -2
- package/dist/runtime/email.mjs +1 -1
- package/dist/runtime/env-public.mjs +2 -2
- package/dist/runtime/env.mjs +1 -2
- package/dist/runtime/isr.mjs +1 -1
- package/dist/runtime/kv.mjs +1 -1
- package/dist/runtime/limits.mjs +1 -2
- package/dist/runtime/live-client.d.mts +2 -1
- package/dist/runtime/live-server.d.mts +2 -1
- package/dist/runtime/live-server.mjs +1 -1
- package/dist/runtime/live.mjs +1 -2
- package/dist/runtime/log.d.mts +2 -1
- package/dist/runtime/migration-handler-mysql.mjs +38 -8
- package/dist/runtime/migration-handler.mjs +1 -2
- package/dist/runtime/queues.mjs +1 -1
- package/dist/runtime/response.mjs +1 -2
- package/dist/runtime/route-url.mjs +1 -2
- package/dist/runtime/routing.d.mts +2 -1
- package/dist/runtime/sandbox-container.mjs +1 -2
- package/dist/runtime/sandbox.mjs +3 -3
- package/dist/runtime/seed.d.mts +2 -1
- package/dist/runtime/sse.mjs +1 -2
- package/dist/runtime/storage.mjs +1 -1
- package/dist/runtime/validator.mjs +1 -2
- package/dist/runtime/ws-server.d.mts +2 -1
- package/dist/runtime/ws-server.mjs +1 -1
- package/dist/{secret-B5J8bBsI.mjs → secret-bg73f1Ge.mjs} +5 -5
- package/dist/{skills-BJsan98C.mjs → skills-C_yRTg0g.mjs} +1 -1
- package/dist/{subcommand-prompt-gQ-NDA-u.mjs → subcommand-prompt-Bm3ZlYgA.mjs} +2 -2
- package/dist/sveltekit.d.mts +2 -1
- package/dist/validate-BQFdf0Pi.mjs +1 -0
- package/dist/wrapper-CwhpNWtH.mjs +663 -0
- package/docs/guide/ai.md +8 -2
- package/docs/guide/database/mysql.md +14 -3
- package/docs/guide/database.md +1 -5
- package/docs/guide/durable-state.md +9 -5
- package/docs/guide/platform/installation/credentials.md +18 -2
- package/docs/guide/platform/installation/domains.md +1 -1
- package/docs/guide/platform/installation/maintenance.md +38 -1
- package/docs/guide/platform/installation/prerequisites.md +6 -2
- package/docs/guide/platform/installation/setup.md +23 -1
- package/docs/guide/platform/installation/uninstall.md +6 -1
- package/docs/guide/sandboxes.md +1 -1
- package/docs/guide/self-hosted-platform.md +1 -1
- package/docs/integrations/cloudflare.md +2 -2
- package/docs/integrations/frameworks/analog.md +3 -11
- package/docs/integrations/frameworks/nuxt.md +7 -10
- package/docs/integrations/nodejs-bun-deno.md +2 -0
- package/docs/reference/api.md +1 -0
- package/docs/reference/cli/platform-installation.md +18 -6
- package/docs/reference/config.md +2 -0
- package/package.json +34 -28
- package/sandbox.Dockerfile +1 -1
- package/skills/void/SKILL.md +1 -1
- package/dist/auth-wn6F8dB8.mjs +0 -2
- package/dist/cf-build-output-2u583yJK.mjs +0 -2
- package/dist/client-C1BjRn3g.mjs +0 -2
- package/dist/cloudflare-operations-Ds-lX3Ts.mjs +0 -2
- package/dist/collect-NUlJMpLY.mjs +0 -2
- package/dist/config-CNnrSMYm.mjs +0 -2
- package/dist/create-project-DL7YXpjj.mjs +0 -2
- package/dist/deploy-Db2ALnQP.mjs +0 -3
- package/dist/discover-CTUiSsfG.mjs +0 -2
- package/dist/dist-Bx1z6Eva.mjs +0 -2
- package/dist/env-validation-CTn-HhG1.mjs +0 -2
- package/dist/gen-F8pSZnhc.mjs +0 -2
- package/dist/generate-Rii9klHB.mjs +0 -2
- package/dist/help-s9q7LTcu.mjs +0 -2
- package/dist/login-DhK7o1oJ.mjs +0 -2
- package/dist/migrate-BgT-hmu8.mjs +0 -2
- package/dist/operator-cmd-Cjk5DiRx.mjs +0 -2
- package/dist/plan-CH2G51je.mjs +0 -2
- package/dist/platform-args-Cm7x-fot.mjs +0 -2
- package/dist/platform-cmd-Cuj4oUVo.mjs +0 -2
- package/dist/platform-lifecycle-_gfnjUBr.mjs +0 -2
- package/dist/platform-management-CYrLvTGH.mjs +0 -2
- package/dist/prepare-dr9uxQSV.mjs +0 -2
- package/dist/project-DiiOBZPF.mjs +0 -2
- package/dist/project-slug-DofjTFd-.mjs +0 -2
- package/dist/resolve-project-B9Hr0D3n.mjs +0 -2
- package/dist/runner-B5huK2eC.mjs +0 -2
- package/dist/runner-mysql-CCtyI0p6.mjs +0 -55
- package/dist/runner-mysql-CaJq-hd6.mjs +0 -2
- package/dist/runner-pg-BJhFZZG4.mjs +0 -2
- package/dist/validate-C9xtFOYR.mjs +0 -2
- package/dist/{sandbox-container-DBKIqDEK.mjs → sandbox-container-a9LRUtii.mjs} +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as getToken, f as removeToken } from "./auth-B6iOCjKI.mjs";
|
|
2
|
-
import { L as log } from "./dist-
|
|
3
|
-
import { m as printSuccess } from "./output-
|
|
2
|
+
import { L as log } from "./dist-BVdsO7Py.mjs";
|
|
3
|
+
import { m as printSuccess } from "./output-Ba6ZbrzY.mjs";
|
|
4
4
|
import { r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
5
|
-
import { n as runLoginCommand } from "./login-
|
|
5
|
+
import { n as runLoginCommand } from "./login-C2T1oVG-.mjs";
|
|
6
6
|
import { execSync } from "node:child_process";
|
|
7
7
|
//#region src/cli/account-cmd.ts
|
|
8
8
|
async function runAccountCommand(root, args) {
|
|
9
9
|
switch (args.subcommand) {
|
|
10
10
|
case "login": return runLoginCommand(root);
|
|
11
|
-
case "link": return import("./auth-link-
|
|
11
|
+
case "link": return import("./auth-link-DUJuvRx5.mjs").then(({ runAuthLink }) => runAuthLink(root, args.connectionId));
|
|
12
12
|
case "logout":
|
|
13
13
|
if (removeToken(root)) printSuccess("Logged out.");
|
|
14
14
|
else log.info("Not logged in.");
|
|
@@ -371,4 +371,4 @@ function analyzeApplicationSync(root, options) {
|
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
//#endregion
|
|
374
|
-
export { hasSandboxSqliteMigration as a, sandboxContainerConfig as c, deriveDurableResourceIdentity as d, inferDurableResourceName as f, assertSandboxNamespaceConfig as i, scanRoutes as l,
|
|
374
|
+
export { hasSandboxSqliteMigration as a, sandboxContainerConfig as c, deriveDurableResourceIdentity as d, inferDurableResourceName as f, assertSandboxNamespaceConfig as i, scanRoutes as l, DEFAULT_SANDBOX_CLASS_NAME as n, requiresSandboxPlatformImage as o, scanJobsSync as p, SANDBOX_MIGRATION_TAG as r, resolveSandboxConfig as s, analyzeApplicationSync as t, scanQueuesSync as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as scanRoutes, t as analyzeApplicationSync } from "./application-analysis-
|
|
1
|
+
import { l as scanRoutes, t as analyzeApplicationSync } from "./application-analysis-AB_YYWgH.mjs";
|
|
2
2
|
//#region src/application-routing.ts
|
|
3
3
|
/** Complete route/page analysis using the same resource and handler inventories. */
|
|
4
4
|
async function completeApplicationAnalysis(analysis) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as getApiUrl, s as getSiteDomain, p as runPlatformLogin } from "./auth-B6iOCjKI.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as getApiUrl, c as getToken, m as savePlatformToken, p as runPlatformLogin, u as openBrowser } from "./auth-B6iOCjKI.mjs";
|
|
2
|
-
import { L as log } from "./dist-
|
|
3
|
-
import { l as formatUrl } from "./output-
|
|
2
|
+
import { L as log } from "./dist-BVdsO7Py.mjs";
|
|
3
|
+
import { l as formatUrl } from "./output-Ba6ZbrzY.mjs";
|
|
4
4
|
import { r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
5
|
-
import { r as selectPlatformLoginMethod } from "./login-
|
|
6
|
-
import { t as discoverPlatform } from "./platform-cmd-
|
|
5
|
+
import { r as selectPlatformLoginMethod } from "./login-C2T1oVG-.mjs";
|
|
6
|
+
import { t as discoverPlatform } from "./platform-cmd-DaAOiWTl.mjs";
|
|
7
7
|
//#region src/cli/auth-link.ts
|
|
8
8
|
async function runAuthLink(root, connectionId) {
|
|
9
9
|
const token = getToken(root);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as listPlatformConnections } from "./platform-registry-B9mWX9LO.mjs";
|
|
2
2
|
import { n as readDeploymentPlatform } from "./project-rqDnVsJN.mjs";
|
|
3
|
-
import { K as select, tt as isCancel } from "./dist-
|
|
3
|
+
import { K as select, tt as isCancel } from "./dist-BVdsO7Py.mjs";
|
|
4
4
|
//#region src/cli/auth-router.ts
|
|
5
5
|
async function chooseDestination(root, args, interactive) {
|
|
6
6
|
const saved = readDeploymentPlatform(root);
|
|
@@ -38,11 +38,11 @@ async function chooseDestination(root, args, interactive) {
|
|
|
38
38
|
async function runAuthRouter(root, args, interactive = Boolean(process.stdin.isTTY)) {
|
|
39
39
|
const destination = await chooseDestination(root, args, interactive);
|
|
40
40
|
if (destination.platform === "cloudflare") {
|
|
41
|
-
const { runCloudflareCommand } = await import("./cloudflare-cmd-
|
|
41
|
+
const { runCloudflareCommand } = await import("./cloudflare-cmd-BIAF_BIY.mjs");
|
|
42
42
|
await runCloudflareCommand(root, { subcommand: args.subcommand });
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
const { runAccountCommand } = await import("./account-cmd-
|
|
45
|
+
const { runAccountCommand } = await import("./account-cmd-BTcUzv9L.mjs");
|
|
46
46
|
const subcommand = args.subcommand === "status" ? "whoami" : args.subcommand;
|
|
47
47
|
if (!destination.apiUrl) {
|
|
48
48
|
await runAccountCommand(root, { subcommand });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as readProjectConfig } from "./project-rqDnVsJN.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-B6iOCjKI.mjs";
|
|
3
|
-
import { H as outro, L as log } from "./dist-
|
|
4
|
-
import { f as import_picocolors, i as dim, m as printSuccess } from "./output-
|
|
3
|
+
import { H as outro, L as log } from "./dist-BVdsO7Py.mjs";
|
|
4
|
+
import { f as import_picocolors, i as dim, m as printSuccess } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { n as PlatformApiError, r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
6
|
-
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-
|
|
6
|
+
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-WpwkCB_c.mjs";
|
|
7
7
|
import { appendFileSync, writeFileSync } from "node:fs";
|
|
8
8
|
//#region src/cli/build-cmd.ts
|
|
9
9
|
const POLL_MS = 1e3;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as readProjectConfig } from "./project-rqDnVsJN.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-B6iOCjKI.mjs";
|
|
3
|
-
import { L as log } from "./dist-
|
|
4
|
-
import { m as printSuccess, o as formatCount, r as createSpinner } from "./output-
|
|
3
|
+
import { L as log } from "./dist-BVdsO7Py.mjs";
|
|
4
|
+
import { m as printSuccess, o as formatCount, r as createSpinner } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
6
|
-
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-
|
|
6
|
+
import { a as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-WpwkCB_c.mjs";
|
|
7
7
|
//#region src/cli/cache.ts
|
|
8
8
|
async function runPurgeCacheCommand(root, projectSlug) {
|
|
9
9
|
console.log();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as readProjectConfig } from "./project-rqDnVsJN.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-B6iOCjKI.mjs";
|
|
3
|
-
import { A as confirm, H as outro, L as log, tt as isCancel } from "./dist-
|
|
4
|
-
import { m as printSuccess } from "./output-
|
|
3
|
+
import { A as confirm, H as outro, L as log, tt as isCancel } from "./dist-BVdsO7Py.mjs";
|
|
4
|
+
import { m as printSuccess } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
6
6
|
//#region src/cli/cancel-deploy.ts
|
|
7
7
|
const ACTIVE_STATUSES = /* @__PURE__ */ new Set([
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as prepareCfBuildOutput } from "./cf-build-output-Bc8i3dzE.mjs";
|
package/dist/cli/cli.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { L as log } from "../dist-
|
|
3
|
-
import { f as import_picocolors, l as formatUrl } from "../output-
|
|
2
|
+
import { L as log } from "../dist-BVdsO7Py.mjs";
|
|
3
|
+
import { f as import_picocolors, l as formatUrl } from "../output-Ba6ZbrzY.mjs";
|
|
4
4
|
import { t as formatCloudflareUserMessage } from "../cloudflare-user-output-Q-k0QoNQ.mjs";
|
|
5
5
|
import { n as getOwnVersion } from "../agents-CuNtT0D_.mjs";
|
|
6
|
-
import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "../help-
|
|
6
|
+
import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "../help-BT2hovNI.mjs";
|
|
7
7
|
import { r as OperatorClientError } from "../operator-client-C-ROjk1I.mjs";
|
|
8
|
-
import { n as platformSubcommands, t as parsePlatformArgs } from "../platform-args-
|
|
8
|
+
import { n as platformSubcommands, t as parsePlatformArgs } from "../platform-args-CaCL_1Ch.mjs";
|
|
9
9
|
import { parseArgs } from "node:util";
|
|
10
10
|
//#region src/cli/account-args.ts
|
|
11
11
|
const accountSubcommands = [
|
|
@@ -1485,7 +1485,7 @@ async function runSubcommandGroup(command, subcommands, parse, run) {
|
|
|
1485
1485
|
const hasNamedSubcommand = args.slice(1).some((arg) => subcommands.some(({ name }) => name === arg));
|
|
1486
1486
|
try {
|
|
1487
1487
|
if ((!sub || sub.startsWith("-") && !hasNamedSubcommand) && process.stdin.isTTY) {
|
|
1488
|
-
const { promptSubcommand } = await import("../subcommand-prompt-
|
|
1488
|
+
const { promptSubcommand } = await import("../subcommand-prompt-Bm3ZlYgA.mjs");
|
|
1489
1489
|
if (command === "platform" && !sub) log.info(`A Void platform lets a team deploy Void apps to a shared Cloudflare account.
|
|
1490
1490
|
This command sets up and manages platforms. Join with \`void connect <url>\`.
|
|
1491
1491
|
Docs: ${formatUrl("https://void.cloud/guide/self-hosted-platform")}`);
|
|
@@ -1513,19 +1513,19 @@ const args = process.argv.slice(2);
|
|
|
1513
1513
|
const command = args[0];
|
|
1514
1514
|
const helpPath = getHelpPath(args);
|
|
1515
1515
|
const subcommandGroups = {
|
|
1516
|
-
auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-router-
|
|
1517
|
-
account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("../account-cmd-
|
|
1518
|
-
platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("../platform-cmd-
|
|
1519
|
-
cloudflare: () => runSubcommandGroup("cloudflare", cloudflareSubcommands, parseCloudflareArgs, (root, parsed) => import("../cloudflare-cmd-
|
|
1520
|
-
project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-
|
|
1521
|
-
secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-
|
|
1522
|
-
domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-
|
|
1523
|
-
email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-
|
|
1524
|
-
db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-
|
|
1525
|
-
env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-
|
|
1526
|
-
gen: () => runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-
|
|
1527
|
-
github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("../github-cmd-
|
|
1528
|
-
build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("../build-cmd-
|
|
1516
|
+
auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-router-CIxiMG7i.mjs").then(({ runAuthRouter }) => runAuthRouter(root, parsed))),
|
|
1517
|
+
account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("../account-cmd-BTcUzv9L.mjs").then(({ runAccountCommand }) => runAccountCommand(root, parsed))),
|
|
1518
|
+
platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("../platform-cmd-PT4YwMLM.mjs").then(({ runPlatformCommand }) => runPlatformCommand(root, parsed))),
|
|
1519
|
+
cloudflare: () => runSubcommandGroup("cloudflare", cloudflareSubcommands, parseCloudflareArgs, (root, parsed) => import("../cloudflare-cmd-BIAF_BIY.mjs").then(({ runCloudflareCommand }) => runCloudflareCommand(root, parsed))),
|
|
1520
|
+
project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-DVatD8Ev.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed))),
|
|
1521
|
+
secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-bg73f1Ge.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed))),
|
|
1522
|
+
domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-CZGxPv9u.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed))),
|
|
1523
|
+
email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-DzyNVuoU.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed))),
|
|
1524
|
+
db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-7I_gfdVq.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed))),
|
|
1525
|
+
env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-Nx3yf50r.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed))),
|
|
1526
|
+
gen: () => runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-sXyp5DFO.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed))),
|
|
1527
|
+
github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("../github-cmd-FU8EjFyU.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed))),
|
|
1528
|
+
build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("../build-cmd-BkIv25PA.mjs").then(({ runBuildCommand }) => runBuildCommand(root, parsed)))
|
|
1529
1529
|
};
|
|
1530
1530
|
if (helpPath) {
|
|
1531
1531
|
if (helpPath.length === 0) printGlobalHelp();
|
|
@@ -1544,7 +1544,7 @@ if (helpPath) {
|
|
|
1544
1544
|
log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
|
|
1545
1545
|
process.exit(1);
|
|
1546
1546
|
}
|
|
1547
|
-
import("../deploy-
|
|
1547
|
+
import("../deploy-9lgfhrXS.mjs").then(({ runDeploy }) => {
|
|
1548
1548
|
runDeploy(root, deployArgs).catch((err) => {
|
|
1549
1549
|
log.error(formatCloudflareUserMessage(err.message ?? String(err)));
|
|
1550
1550
|
process.exit(1);
|
|
@@ -1552,14 +1552,14 @@ if (helpPath) {
|
|
|
1552
1552
|
});
|
|
1553
1553
|
} else if (command === "connect") (async () => {
|
|
1554
1554
|
const parsed = parseConnectArgs(args.slice(1));
|
|
1555
|
-
const { runConnectCommand } = await import("../connect-
|
|
1555
|
+
const { runConnectCommand } = await import("../connect-CKtk-EZe.mjs");
|
|
1556
1556
|
await runConnectCommand(process.cwd(), parsed);
|
|
1557
1557
|
})().catch((err) => {
|
|
1558
1558
|
log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
|
|
1559
1559
|
process.exit(1);
|
|
1560
1560
|
});
|
|
1561
1561
|
else if (command && Object.hasOwn(subcommandGroups, command)) subcommandGroups[command]();
|
|
1562
|
-
else if (command === "info") import("../info-
|
|
1562
|
+
else if (command === "info") import("../info-l249eUdH.mjs").then(async ({ runInfoCommand }) => {
|
|
1563
1563
|
try {
|
|
1564
1564
|
await runInfoCommand(process.cwd(), parseInfoArgs(args.slice(1)));
|
|
1565
1565
|
} catch (err) {
|
|
@@ -1580,7 +1580,7 @@ else if (command === "prepare") {
|
|
|
1580
1580
|
log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
|
|
1581
1581
|
process.exit(1);
|
|
1582
1582
|
}
|
|
1583
|
-
import("../prepare-
|
|
1583
|
+
import("../prepare-PQCgsny0.mjs").then(({ runPrepareCommand }) => {
|
|
1584
1584
|
runPrepareCommand(root).catch((err) => {
|
|
1585
1585
|
log.error(formatCloudflareUserMessage(err.message ?? String(err)));
|
|
1586
1586
|
process.exit(1);
|
|
@@ -1588,7 +1588,7 @@ else if (command === "prepare") {
|
|
|
1588
1588
|
});
|
|
1589
1589
|
} else if (command === "init") {
|
|
1590
1590
|
const root = process.cwd();
|
|
1591
|
-
import("../init-
|
|
1591
|
+
import("../init-D0A6M64Q.mjs").then(({ runInitCommand, parseInitArgs }) => {
|
|
1592
1592
|
let initArgs;
|
|
1593
1593
|
try {
|
|
1594
1594
|
initArgs = parseInitArgs(args.slice(1));
|
|
@@ -1606,7 +1606,7 @@ else if (command === "prepare") {
|
|
|
1606
1606
|
log.error("migrate: This command takes no arguments.");
|
|
1607
1607
|
process.exit(1);
|
|
1608
1608
|
}
|
|
1609
|
-
import("../migrate-
|
|
1609
|
+
import("../migrate-BRwU-blY.mjs").then(({ runMigrateCommand }) => {
|
|
1610
1610
|
runMigrateCommand(process.cwd()).catch((err) => {
|
|
1611
1611
|
log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
|
|
1612
1612
|
process.exit(1);
|
|
@@ -1716,7 +1716,7 @@ else if (command) {
|
|
|
1716
1716
|
];
|
|
1717
1717
|
(async () => {
|
|
1718
1718
|
printVoidHeader();
|
|
1719
|
-
const { promptSubcommand } = await import("../subcommand-prompt-
|
|
1719
|
+
const { promptSubcommand } = await import("../subcommand-prompt-Bm3ZlYgA.mjs");
|
|
1720
1720
|
const result = await promptSubcommand("", topLevelCommands);
|
|
1721
1721
|
if (!result) process.exit(0);
|
|
1722
1722
|
const cmd = result.subcommand;
|
|
@@ -1724,32 +1724,32 @@ else if (command) {
|
|
|
1724
1724
|
if (Object.hasOwn(subcommandGroups, cmd)) return subcommandGroups[cmd]();
|
|
1725
1725
|
switch (cmd) {
|
|
1726
1726
|
case "connect": {
|
|
1727
|
-
const { runConnectCommand } = await import("../connect-
|
|
1727
|
+
const { runConnectCommand } = await import("../connect-CKtk-EZe.mjs");
|
|
1728
1728
|
await runConnectCommand(root, parseConnectArgs([]));
|
|
1729
1729
|
return;
|
|
1730
1730
|
}
|
|
1731
1731
|
case "init": {
|
|
1732
|
-
const { runInitCommand, parseInitArgs } = await import("../init-
|
|
1732
|
+
const { runInitCommand, parseInitArgs } = await import("../init-D0A6M64Q.mjs");
|
|
1733
1733
|
await runInitCommand(root, parseInitArgs([]));
|
|
1734
1734
|
return;
|
|
1735
1735
|
}
|
|
1736
1736
|
case "migrate": {
|
|
1737
|
-
const { runMigrateCommand } = await import("../migrate-
|
|
1737
|
+
const { runMigrateCommand } = await import("../migrate-BRwU-blY.mjs");
|
|
1738
1738
|
await runMigrateCommand(root);
|
|
1739
1739
|
return;
|
|
1740
1740
|
}
|
|
1741
1741
|
case "deploy": {
|
|
1742
|
-
const { runDeploy } = await import("../deploy-
|
|
1742
|
+
const { runDeploy } = await import("../deploy-9lgfhrXS.mjs");
|
|
1743
1743
|
await runDeploy(root);
|
|
1744
1744
|
return;
|
|
1745
1745
|
}
|
|
1746
1746
|
case "info": {
|
|
1747
|
-
const { runInfoCommand } = await import("../info-
|
|
1747
|
+
const { runInfoCommand } = await import("../info-l249eUdH.mjs");
|
|
1748
1748
|
await runInfoCommand(root, parseInfoArgs([]));
|
|
1749
1749
|
return;
|
|
1750
1750
|
}
|
|
1751
1751
|
case "prepare": {
|
|
1752
|
-
const { runPrepareCommand } = await import("../prepare-
|
|
1752
|
+
const { runPrepareCommand } = await import("../prepare-PQCgsny0.mjs");
|
|
1753
1753
|
await runPrepareCommand(root);
|
|
1754
1754
|
return;
|
|
1755
1755
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { n as __toESM } from "../rolldown-runtime-DXIUcv95.mjs";
|
|
3
3
|
import { a as join, c as resolve, n as dirname } from "../dist-ipQi0Q8y.mjs";
|
|
4
4
|
import { t as require_picocolors } from "../picocolors-BTps1_gs.mjs";
|
|
5
|
-
import { l as formatUrl } from "../output-
|
|
5
|
+
import { l as formatUrl } from "../output-Ba6ZbrzY.mjs";
|
|
6
6
|
import { i as safePositional, n as getVoidUserAgent, r as readCfUploadOutput, t as getCfCliVersion } from "../cf-user-agent-ChjQp2MU.mjs";
|
|
7
7
|
import { t as sanitizeTerminalLogText } from "../terminal-log-text-D9ACPOuG.mjs";
|
|
8
8
|
import { copyFileSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -253,7 +253,7 @@ async function withBuildOutput(raw, sourceMain, action) {
|
|
|
253
253
|
}), { mode: 384 });
|
|
254
254
|
const accountId = process.env.CLOUDFLARE_ACCOUNT_ID ?? raw.account_id;
|
|
255
255
|
if (typeof accountId !== "string" || !accountId) throw new Error("Cloudflare account is not pinned for Worker deployment.");
|
|
256
|
-
const { prepareCfBuildOutput } = await import("../cf-build-output-
|
|
256
|
+
const { prepareCfBuildOutput } = await import("../cf-build-output-BU3hqdHu.mjs");
|
|
257
257
|
const output = await prepareCfBuildOutput(scratch, accountId);
|
|
258
258
|
if (!output) throw new Error("Could not prepare the Cloudflare Worker build output.");
|
|
259
259
|
try {
|
|
@@ -43,4 +43,5 @@ export type EnvSchemaProbeSpawn = (command: string, args: Array<string>, options
|
|
|
43
43
|
export declare function resolveEnvSchemaFactsViaSubprocess(input: EnvSchemaProbeInput, env: NodeJS.ProcessEnv, spawn?: EnvSchemaProbeSpawn): Promise<EnvSchemaProbeResult>;
|
|
44
44
|
/** Runs after the build so it validates exactly the vars the Worker ships. */
|
|
45
45
|
export declare function validateEmittedVarsViaSubprocess(input: EnvSchemaProbeInput, env: NodeJS.ProcessEnv, spawn?: EnvSchemaProbeSpawn): Promise<EnvSchemaValidateResult>;
|
|
46
|
-
//#endregion
|
|
46
|
+
//#endregion
|
|
47
|
+
export {};
|
|
@@ -109,7 +109,7 @@ function emitResult(result) {
|
|
|
109
109
|
writeSync(RESULT_FD, JSON.stringify(result));
|
|
110
110
|
}
|
|
111
111
|
async function runFactsChild(root) {
|
|
112
|
-
const { deriveSelfHostSchemaFacts, SelfHostSchemaError } = await import("../env-validation-
|
|
112
|
+
const { deriveSelfHostSchemaFacts, SelfHostSchemaError } = await import("../env-validation-BT7z-qpQ.mjs");
|
|
113
113
|
try {
|
|
114
114
|
emitResult({
|
|
115
115
|
kind: "ok",
|
|
@@ -128,7 +128,7 @@ async function runFactsChild(root) {
|
|
|
128
128
|
}
|
|
129
129
|
/** The parent already found the emitted config, so a read failure here fails closed. */
|
|
130
130
|
async function runValidateEmittedChild(root) {
|
|
131
|
-
const { computeInvalidEmittedKeys, readEmittedWorkerVars, SelfHostSchemaError } = await import("../env-validation-
|
|
131
|
+
const { computeInvalidEmittedKeys, readEmittedWorkerVars, SelfHostSchemaError } = await import("../env-validation-BT7z-qpQ.mjs");
|
|
132
132
|
const emitted = readEmittedWorkerVars(root);
|
|
133
133
|
if (!emitted.ok) {
|
|
134
134
|
emitResult({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as basename } from "./dist-ipQi0Q8y.mjs";
|
|
2
2
|
import { b as readRootWranglerConfig } from "./wrangler-BYs07Rxy.mjs";
|
|
3
|
-
import { L as log } from "./dist-
|
|
4
|
-
import { m as printSuccess } from "./output-
|
|
3
|
+
import { L as log } from "./dist-BVdsO7Py.mjs";
|
|
4
|
+
import { m as printSuccess } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { i as isCleanCloudflareExit } from "./cloudflare-process-CeDWJRhj.mjs";
|
|
6
6
|
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-CqFBDo52.mjs";
|
|
7
7
|
//#region src/cli/cloudflare-cmd.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as join, t as basename } from "./dist-ipQi0Q8y.mjs";
|
|
2
2
|
import { b as readRootWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE, j as writeProvisionedWranglerConfig } from "./wrangler-BYs07Rxy.mjs";
|
|
3
|
-
import { K as select, L as log, tt as isCancel } from "./dist-
|
|
3
|
+
import { K as select, L as log, tt as isCancel } from "./dist-BVdsO7Py.mjs";
|
|
4
4
|
import { i as ensureCloudflareAuthentication, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-CqFBDo52.mjs";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
6
|
//#region src/cli/cloudflare-connect.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as join } from "./dist-ipQi0Q8y.mjs";
|
|
2
2
|
import { i as persistCloudflareConfig, r as materializeCloudflareConfig } from "./cloudflare-config-DV60XFFK.mjs";
|
|
3
3
|
import { A as updateWranglerCustomDomain, M as writeWranglerPublishedTrafficSnapshot, S as readWranglerCustomDomains, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-BYs07Rxy.mjs";
|
|
4
|
-
import { u as getErrorMessage } from "./output-
|
|
4
|
+
import { u as getErrorMessage } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { t as createCloudflareProcessRunner } from "./cloudflare-process-CeDWJRhj.mjs";
|
|
6
|
-
import { a as deleteEnvVarCaseAware, d as resolvePinnedApiBaseUrl, t as assertNoTransportRedirectInProjectDotenv, u as provisionEnv } from "./provision-
|
|
7
|
-
import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-
|
|
6
|
+
import { a as deleteEnvVarCaseAware, d as resolvePinnedApiBaseUrl, t as assertNoTransportRedirectInProjectDotenv, u as provisionEnv } from "./provision-BnSSkiED.mjs";
|
|
7
|
+
import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-DWlWBe6M.mjs";
|
|
8
8
|
import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
9
9
|
import { tmpdir } from "node:os";
|
|
10
10
|
import { deployCloudflareVersionTraffic, encodeCloudflareVersionMessage, parseCloudflareVersionMessage, parseRootWranglerConfig, readBindingFieldPresence, readCloudflareTriggerConfig, readWranglerTopLevelString, resolveD1MigrateTarget, stabilizeCloudflareVersionTriggers } from "@void/deploy-cloudflare";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as activateCloudflareExistingVersion, n as applyCloudflareD1Migrations, r as changeCloudflareDomain, o as deleteCloudflareSecret, s as executeCloudflareD1Sql, c as listCloudflareDomains, l as listCloudflareSecrets, m as putCloudflareSecret, h as readCloudflareD1Migrations, g as readCloudflareWorkerStatus, _ as resolveCloudflareD1Context, v as resolveCloudflareOperationContext, y as syncCloudflareSecrets, b as tailCloudflareWorker } from "./cloudflare-operations-B42EZeJy.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as collectMigrations } from "./collect-xjffdCdk.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as PLACEHOLDER_DB_URL, n as withPrivateDrizzleConfig, r as writeDrizzleConfig } from "./config-BEm9vRvS.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as normalizePlatformApiUrl, s as listPlatformConnections } from "./platform-registry-B9mWX9LO.mjs";
|
|
2
2
|
import { c as writeDeploymentPlatform, l as writePlatformSelection, n as readDeploymentPlatform } from "./project-rqDnVsJN.mjs";
|
|
3
3
|
import { d as readPlatformToken } from "./auth-B6iOCjKI.mjs";
|
|
4
|
-
import { K as select, L as log, tt as isCancel } from "./dist-
|
|
5
|
-
import { m as printSuccess } from "./output-
|
|
4
|
+
import { K as select, L as log, tt as isCancel } from "./dist-BVdsO7Py.mjs";
|
|
5
|
+
import { m as printSuccess } from "./output-Ba6ZbrzY.mjs";
|
|
6
6
|
import { a as isExpiredTokenError, r as PlatformClient } from "./client-DM9Kcf4e.mjs";
|
|
7
|
-
import { t as promptForLoginToken } from "./login-
|
|
8
|
-
import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-
|
|
9
|
-
import { t as connectCloudflare } from "./cloudflare-connect-
|
|
7
|
+
import { t as promptForLoginToken } from "./login-C2T1oVG-.mjs";
|
|
8
|
+
import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-DaAOiWTl.mjs";
|
|
9
|
+
import { t as connectCloudflare } from "./cloudflare-connect-WjwnVOJA.mjs";
|
|
10
10
|
//#region src/cli/connect.ts
|
|
11
11
|
async function selectVoidPlatform(interactive) {
|
|
12
12
|
if (!interactive) throw new Error("connect: Supply a Void platform URL in non-interactive mode.");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as createProjectWithSlugRetry } from "./create-project-yInGo72M.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as attachSelectedPlatform, u as writeProjectConfig } from "./project-rqDnVsJN.mjs";
|
|
2
2
|
import { s as getSiteDomain } from "./auth-B6iOCjKI.mjs";
|
|
3
|
-
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-
|
|
4
|
-
import { f as import_picocolors, h as sanitizeTerminalText } from "./output-
|
|
3
|
+
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-BVdsO7Py.mjs";
|
|
4
|
+
import { f as import_picocolors, h as sanitizeTerminalText } from "./output-Ba6ZbrzY.mjs";
|
|
5
5
|
import { n as PlatformApiError } from "./client-DM9Kcf4e.mjs";
|
|
6
6
|
import { t as validateProjectSlug } from "./project-slug-23TpquG4.mjs";
|
|
7
|
-
import { n as inferDefaultSlug } from "./resolve-project-
|
|
7
|
+
import { n as inferDefaultSlug } from "./resolve-project-WpwkCB_c.mjs";
|
|
8
8
|
//#region src/cli/prompt.ts
|
|
9
9
|
async function promptProjectSetupAction(message = "Set up a Void project:", options = {}) {
|
|
10
10
|
const result = await select({
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { defineDatabaseProvider };
|
|
1
|
+
export { t as defineDatabaseProvider } from "./database-provider-Cx525bwX.mjs";
|