void 1.7.0 → 1.9.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.
- package/dist/{account-cmd-BfkJ_1PC.mjs → account-cmd-BEMOdwtl.mjs} +5 -5
- package/dist/{application-analysis-OV0CBJ80.mjs → application-analysis-3VVsflWZ.mjs} +28 -8
- package/dist/{application-routing-QpyC5G8z.mjs → application-routing-CJRlXCc2.mjs} +1 -1
- package/dist/{auth-CZrthGxs.d.mts → auth-CV9kXHKe.d.mts} +4 -2
- package/dist/{auth-DyWp-fSo.mjs → auth-aMuFOZeI.mjs} +8 -2
- package/dist/{auth-link-CW1Zh6FM.mjs → auth-link-B1IynRW5.mjs} +5 -5
- package/dist/{auth-router-CNBKnEZi.mjs → auth-router-DVaWJdRB.mjs} +3 -3
- package/dist/{better-auth-shared-CdVyCUou.mjs → better-auth-shared-C7LHvF4L.mjs} +1 -1
- package/dist/{better-auth-shared-C-0uZg8-.d.mts → better-auth-shared-ajs3LNrY.d.mts} +2 -2
- package/dist/boundary-plans-CRmWH68v.d.mts +25 -0
- package/dist/{build-cmd-C9qOKW9W.mjs → build-cmd-Dq8tdqQG.mjs} +4 -4
- package/dist/{cache-DVBBbWQL.mjs → cache-DGMnskX7.mjs} +4 -4
- package/dist/{cancel-deploy-COavnjud.mjs → cancel-deploy-96S5hD1E.mjs} +3 -3
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +92 -19
- package/dist/cli/env-schema-probe.d.mts +1 -1
- package/dist/cli/env-schema-probe.mjs +3 -3
- package/dist/{cli-main-DFteHrJI.mjs → cli-main-CQRLxZAu.mjs} +32 -32
- package/dist/client-66c0RLDM.mjs +1 -0
- package/dist/{client-BEZmTP6p.mjs → client-D6w5x7hM.mjs} +7 -7
- package/dist/{cloudflare-auth-DGIivpTb.mjs → cloudflare-auth-pNvmT6kL.mjs} +1 -1
- package/dist/{cloudflare-cmd-DJaxC-bc.mjs → cloudflare-cmd-BuuHUM4z.mjs} +5 -5
- package/dist/{cloudflare-config-DtOGAbeB.mjs → cloudflare-config-PxbinLLE.mjs} +2 -2
- package/dist/{cloudflare-connect-BjpWmglw.mjs → cloudflare-connect-D1QOosLd.mjs} +3 -3
- package/dist/{cloudflare-operations-k7wYUv56.mjs → cloudflare-operations-G5AObYzF.mjs} +6 -6
- package/dist/{cloudflare-operations-CZkjFrzH.mjs → cloudflare-operations-I4t3mt4R.mjs} +1 -1
- package/dist/{cloudflare-process-BcPvlMFd.mjs → cloudflare-process-wcnaQ5JG.mjs} +2 -2
- package/dist/{config-wo2EaH0X.mjs → config-C1DPf8EK.mjs} +1 -1
- package/dist/{config-CTlUaXWZ.d.mts → config-CCWVY7DY.d.mts} +1 -1
- package/dist/{config-5oSQhZNj.mjs → config-CzFdJYNA.mjs} +1 -1
- package/dist/{config-DcqUBGCb.mjs → config-DlWQ_hIJ.mjs} +3 -3
- package/dist/{config-eeDzKBS9.mjs → config-Do7gJI3T.mjs} +2 -2
- package/dist/config-entry.d.mts +1 -1
- package/dist/{connect-j1F1C_rW.mjs → connect-4uImOwut.mjs} +6 -6
- package/dist/{create-project-CE3jOmd5.mjs → create-project-BaUzZnLZ.mjs} +4 -4
- package/dist/{create-project-DZH3aYGQ.mjs → create-project-CQMyzTvK.mjs} +1 -1
- package/dist/{db-DyLzzxvM.mjs → db-DEpDeDsi.mjs} +22 -22
- package/dist/{db-types-DdHHUVPy.mjs → db-types-BpPYAx0B.mjs} +4 -2
- package/dist/{delete-Dey6YoMA.mjs → delete-BVD2kI82.mjs} +4 -4
- package/dist/deploy-Dr_Qamzw.mjs +2 -0
- package/dist/{deploy-Ccw2D2lw.mjs → deploy-Dyeo5soA.mjs} +40 -81
- package/dist/{deploy-managed-static-BBVtpuGv.mjs → deploy-managed-static-Kn73R83A.mjs} +22 -22
- package/dist/{deploy-transport-Dt0IvSVW.mjs → deploy-transport-BpKBs_KR.mjs} +3 -3
- package/dist/deploy.mjs +6 -6
- package/dist/discover-Diq0l6TZ.mjs +1 -0
- package/dist/{discover-CVFCWU7W.mjs → discover-Vd18lHsj.mjs} +1 -1
- package/dist/{dispatch-pYaww76u.mjs → dispatch-BBfb519j.mjs} +8 -8
- package/dist/{dist-DeTdhbZc.mjs → dist-Cp4b1_T9.mjs} +1 -1
- package/dist/{dist-BQdgCVQF.mjs → dist-STQXl8ck.mjs} +86 -138
- package/dist/{domain-Dh3mG8Vs.mjs → domain-BTIdyUVk.mjs} +5 -5
- package/dist/{drizzle-C8MPqt5m.mjs → drizzle-D4V_06-B.mjs} +1 -1
- package/dist/{drizzle-lFdzSEa9.mjs → drizzle-DBSpPpU1.mjs} +34 -8
- package/dist/{email-DKyMjOYM.mjs → email-DvrS-I0U.mjs} +10 -10
- package/dist/{email-cloudflare-CTt2n_W2.mjs → email-cloudflare-DAGpgzY1.mjs} +16 -11
- package/dist/{entry-Bw-G1VVx.mjs → entry-DMgR7XOf.mjs} +2 -2
- package/dist/{env-DkZzh_Dd.mjs → env-D7vORwpn.mjs} +6 -6
- package/dist/{env-CuzZZyjB.mjs → env-UqS-21xi.mjs} +8 -1
- package/dist/{env-public-CeNeO_AT.d.mts → env-public-DtJL_hZq.d.mts} +8 -7
- package/dist/{env-types-Dz9qkiOn.mjs → env-types-WEZw5D-r.mjs} +1 -1
- package/dist/{env-validation-C8NL3lEH.mjs → env-validation-DKDcpxbt.mjs} +1 -1
- package/dist/{env-validation-1snjKtDX.mjs → env-validation-DeYNRp1d.mjs} +5 -5
- package/dist/{gen-BZmFOGDQ.mjs → gen-DimkGNve.mjs} +6 -6
- package/dist/gen-DmEeVEs4.mjs +1 -0
- package/dist/{github-cmd-7Oky9qgH.mjs → github-cmd-D-zs6VQr.mjs} +4 -4
- package/dist/{handler-DjqciiDc.d.mts → handler-6fzr_ikp.d.mts} +5 -4
- package/dist/{head-MeF_5M_3.d.mts → head-CVO92KEx.d.mts} +14 -3
- package/dist/{head-5XPcnG-j.mjs → head-CWJhfUwV.mjs} +62 -3
- package/dist/{headers-CimYIfQI.mjs → headers-Q0kZDpk8.mjs} +11 -2
- package/dist/{help-CNuUb47C.mjs → help-Cgdcd-SG.mjs} +6 -6
- package/dist/help-Cp3K5m1w.mjs +1 -0
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +257 -188
- package/dist/{info-DwB8IWIx.mjs → info-BbxQ34kk.mjs} +4 -4
- package/dist/{init-CUGSmcED.mjs → init-zyRj3QRw.mjs} +19 -20
- package/dist/{link-BlRTGHan.mjs → link-DAFXuIER.mjs} +5 -5
- package/dist/{list-iCg7d5Pa.mjs → list-BTIcC3W9.mjs} +5 -5
- package/dist/{live-zKGbRT4h.d.mts → live-DBybyDt0.d.mts} +2 -2
- package/dist/{live-CYJ4KGoR.mjs → live-Dw7NF1t2.mjs} +1 -1
- package/dist/load-user-env-ztmIyiLx.mjs +34 -0
- package/dist/{local-d1-CFcH9Bx3.mjs → local-d1-BnVb7Fem.mjs} +1 -1
- package/dist/login-DBs8JuSl.mjs +1 -0
- package/dist/{login-TA51e5Fw.mjs → login-DOE-MkeK.mjs} +4 -4
- package/dist/{logs-BlyAxlvx.mjs → logs-CUsjihc3.mjs} +4 -4
- package/dist/migrate-BYhoIK9R.mjs +1 -0
- package/dist/{migrate-BH6LCr00.mjs → migrate-DtoKdGas.mjs} +6 -6
- package/dist/nitro.mjs +3 -3
- package/dist/{node-B0otYjDv.mjs → node-D9dPyUr0.mjs} +4 -4
- package/dist/operator-ai-logging-DFTEp81Z.mjs +121 -0
- package/dist/{operator-args-DuKAQ3Ks.mjs → operator-args-BCCohcz3.mjs} +10 -1
- package/dist/{operator-cmd-CoHlJjcT.mjs → operator-cmd-CQOQrUiO.mjs} +27 -7
- package/dist/operator-cmd-xCACDtT1.mjs +1 -0
- package/dist/output-BsdnNpxa.mjs +1 -0
- package/dist/{output-CXJTIAtF.mjs → output-DNVILSz2.mjs} +1 -1
- package/dist/pages/client.d.mts +28 -3
- package/dist/pages/client.mjs +146 -27
- package/dist/pages/head.d.mts +2 -2
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +5 -4
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +6 -2
- package/dist/pages/islands-plugin.mjs +18 -3
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/platform-args-DSi4_M8n.mjs +1 -0
- package/dist/{platform-args-DfT8yQBF.mjs → platform-args-DtpHS_75.mjs} +1 -1
- package/dist/{platform-auth-config-MO0VdVs9.mjs → platform-auth-config-fLwIS5VG.mjs} +6 -6
- package/dist/{platform-auth-protection-Dv208eyL.mjs → platform-auth-protection-BTRI_YwD.mjs} +4 -4
- package/dist/{platform-auth-recovery-DvAQ674F.mjs → platform-auth-recovery-DPK2Mvmo.mjs} +4 -4
- package/dist/{platform-cmd-BpUA19r_.mjs → platform-cmd-BLy5uCa-.mjs} +1 -1
- package/dist/{platform-cmd-dlSxrcQ7.mjs → platform-cmd-HS_FSthn.mjs} +7 -7
- package/dist/{platform-domain-DSO4eUEw.mjs → platform-domain-CHpcq_qg.mjs} +4 -4
- package/dist/{platform-lifecycle-CfcFygHb.mjs → platform-lifecycle-B6LUBwjS.mjs} +1 -1
- package/dist/{platform-lifecycle-BSvsyB_x.mjs → platform-lifecycle-D2RS7DE0.mjs} +239 -29
- package/dist/{platform-management-BMdyt667.mjs → platform-management-C-T0ch4y.mjs} +1 -1
- package/dist/{platform-management-CrP1XhVd.mjs → platform-management-d3ETv3Dw.mjs} +15 -15
- package/dist/{platform-plans-config-CgDiwflR.mjs → platform-plans-config-B7yJQKf7.mjs} +116 -32
- package/dist/{platform-recovery-CHWwXVZ6.mjs → platform-recovery-DS5CAsly.mjs} +2 -2
- package/dist/{platform-setup-BTQVbnTC.mjs → platform-setup-Casiffqj.mjs} +2 -2
- package/dist/{plugin-inference-g66Q1Mx9.mjs → plugin-inference-DZHmVe1f.mjs} +4 -4
- package/dist/{prepare-DXduEwQp.mjs → prepare-AVM4Hj3T.mjs} +10 -10
- package/dist/prepare-BSXKz6m8.mjs +1 -0
- package/dist/{prepare-DJYHjpzq.mjs → prepare-DMk8NAO-.mjs} +3 -3
- package/dist/{prerender-render-BN9Lmebs.mjs → prerender-render-BAdYhivW.mjs} +15 -2
- package/dist/prerender-render.d.mts +2 -0
- package/dist/prerender-render.mjs +1 -1
- package/dist/{project-cmd-Dfb1Sg8w.mjs → project-cmd-TQKAOTMV.mjs} +17 -17
- package/dist/{project-paths-G0yut6Zz.mjs → project-paths-CUhCPMpK.mjs} +33 -2
- package/dist/{project-team-BO2dyc7S.mjs → project-team-B1OKeb-T.mjs} +4 -4
- package/dist/{project-token-ByO2mEI2.mjs → project-token-RW_wpmN-.mjs} +4 -4
- package/dist/{project-tsconfig-nhnTWO_Y.mjs → project-tsconfig-MyRJgufB.mjs} +1 -1
- package/dist/{project-zero-trust-CoQfwRBR.mjs → project-zero-trust-TNc66p0_.mjs} +4 -4
- package/dist/{protocol-yxdHxFLN.mjs → protocol-IPSWHolJ.mjs} +233 -76
- package/dist/{protocol-xZMvWsrg.d.mts → protocol-YS3tbxWE.d.mts} +10 -3
- package/dist/{provision-CMH4-8ri.mjs → provision-BLdkpFT4.mjs} +1 -1
- package/dist/{provision-D5q-ptD3.mjs → provision-bgQTi5QZ.mjs} +2 -2
- package/dist/redirect-Dqb4fEc5.mjs +80 -0
- package/dist/{requests-CPOiDkjh.mjs → requests-Cj15-yrI.mjs} +3 -3
- package/dist/resolve-project-C5wC-Hoi.mjs +1 -0
- package/dist/{resolve-project-ClvLMTI9.mjs → resolve-project-Da3OgCU1.mjs} +1 -1
- package/dist/{rollback-BfCs2la4.mjs → rollback-CYnkng7B.mjs} +4 -4
- package/dist/{route-types-Cl3x0Q8B.mjs → route-types-C6eAOmOj.mjs} +4 -3
- package/dist/routes-stub.d.mts +4 -3
- package/dist/runtime/auth.d.mts +1 -1
- package/dist/runtime/auth.mjs +1 -1
- package/dist/runtime/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/better-auth-mysql.mjs +1 -1
- package/dist/runtime/better-auth-pg.d.mts +1 -1
- package/dist/runtime/better-auth-pg.mjs +1 -1
- package/dist/runtime/better-auth.d.mts +1 -1
- package/dist/runtime/better-auth.mjs +1 -1
- package/dist/runtime/client-react.d.mts +1 -1
- package/dist/runtime/client-solid.d.mts +1 -1
- package/dist/runtime/client-svelte.d.mts +1 -1
- package/dist/runtime/client-vue.d.mts +1 -1
- package/dist/runtime/client.d.mts +1 -1
- package/dist/runtime/db.d.mts +6 -3
- package/dist/runtime/db.mjs +2 -2
- package/dist/runtime/env-public.d.mts +1 -1
- package/dist/runtime/env-public.mjs +53 -39
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/live-client.d.mts +1 -1
- package/dist/runtime/live-server.mjs +1 -1
- package/dist/runtime/live.d.mts +1 -1
- package/dist/runtime/live.mjs +1 -1
- package/dist/runtime/routing.d.mts +8 -3
- package/dist/runtime/routing.mjs +164 -23
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/ws-server.d.mts +3 -3
- package/dist/runtime/ws-server.mjs +1 -1
- package/dist/runtime/ws.d.mts +1 -1
- package/dist/{scan-L8OSv1f7.mjs → scan-4YOxDaw2.mjs} +230 -29
- package/dist/{secret-CuI6LTpD.mjs → secret-BSf7dgg_.mjs} +6 -6
- package/dist/{skills-BBO9wMjB.mjs → skills-CoBB9_Ao.mjs} +1 -1
- package/dist/{ast-bindings-BkivMJIo.mjs → static-exports-DFkzL-NX.mjs} +96 -33
- package/dist/{subcommand-prompt-BZMnCA8T.mjs → subcommand-prompt-0yIARXf2.mjs} +2 -2
- package/dist/{types-agfx0alu.d.mts → types-IPut3_Yx.d.mts} +15 -1
- package/dist/url-DaehRGKR.mjs +106 -0
- package/dist/{version-metadata-eUd6Ar_U.mjs → version-metadata-CeftH0fQ.mjs} +1 -1
- package/dist/{wrangler-k40T7XTQ.mjs → wrangler-B1gkT_wC.mjs} +3 -3
- package/dist/wrangler-fNGvPTlO.mjs +1 -0
- package/dist/{wrapper-BGsi_uHs.mjs → wrapper-xJ4LP5A7.mjs} +3 -3
- package/dist/{ws-DB8Feytg.d.mts → ws-C2zy0QBf.d.mts} +2 -2
- package/docs/guide/ai.md +2 -1
- package/docs/guide/app-types.md +1 -0
- package/docs/guide/auth.md +23 -27
- package/docs/guide/database/d1.md +18 -1
- package/docs/guide/database/mysql.md +1 -0
- package/docs/guide/database/postgresql.md +1 -0
- package/docs/guide/database.md +30 -27
- package/docs/guide/deployment.md +3 -2
- package/docs/guide/durable-state.md +1 -0
- package/docs/guide/edge/headers.md +4 -3
- package/docs/guide/edge/prerendering.md +6 -5
- package/docs/guide/edge/redirects.md +2 -1
- package/docs/guide/edge/revalidation.md +6 -1
- package/docs/guide/edge/rewrites.md +2 -1
- package/docs/guide/edge/static-assets.md +5 -0
- package/docs/guide/email/domains.md +1 -0
- package/docs/guide/email/receiving.md +3 -2
- package/docs/guide/email/sending.md +7 -4
- package/docs/guide/email.md +1 -0
- package/docs/guide/env-vars.md +4 -0
- package/docs/guide/index.md +1 -0
- package/docs/guide/jobs.md +1 -0
- package/docs/guide/kv.md +1 -0
- package/docs/guide/live.md +2 -1
- package/docs/guide/pages-routing/actions-and-forms.md +58 -22
- package/docs/guide/pages-routing/errors.md +109 -0
- package/docs/guide/pages-routing/head.md +45 -1
- package/docs/guide/pages-routing/islands.md +4 -1
- package/docs/guide/pages-routing/layouts.md +4 -1
- package/docs/guide/pages-routing/loaders.md +4 -1
- package/docs/guide/pages-routing/markdown.md +6 -4
- package/docs/guide/pages-routing/overview.md +16 -20
- package/docs/guide/pages-routing/view-transitions.md +1 -0
- package/docs/guide/platform/administration/access.md +1 -0
- package/docs/guide/platform/administration/connected-apps.md +13 -2
- package/docs/guide/platform/administration/email.md +1 -0
- package/docs/guide/platform/administration/operations.md +1 -0
- package/docs/guide/platform/administration/plans.md +35 -1
- package/docs/guide/platform/administration/projects.md +16 -1
- package/docs/guide/platform/administration/zero-trust.md +1 -0
- package/docs/guide/platform/development/local.md +1 -0
- package/docs/guide/platform/development/runtime.md +1 -0
- package/docs/guide/platform/development/schema-ci.md +1 -0
- package/docs/guide/platform/installation/ci.md +1 -0
- package/docs/guide/platform/installation/credentials.md +12 -9
- package/docs/guide/platform/installation/domains.md +1 -0
- package/docs/guide/platform/installation/first-deployment.md +1 -0
- package/docs/guide/platform/installation/maintenance.md +8 -1
- package/docs/guide/platform/installation/prerequisites.md +1 -0
- package/docs/guide/platform/installation/setup.md +9 -7
- package/docs/guide/platform/installation/uninstall.md +1 -0
- package/docs/guide/platform-administration.md +1 -0
- package/docs/guide/platform-development.md +1 -0
- package/docs/guide/project-collaboration.md +1 -0
- package/docs/guide/queues.md +3 -0
- package/docs/guide/quickstart.md +3 -2
- package/docs/guide/remote-dev.md +1 -0
- package/docs/guide/sandboxes.md +1 -0
- package/docs/guide/self-hosted-platform.md +1 -0
- package/docs/guide/server-routing.md +3 -2
- package/docs/guide/sse.md +2 -1
- package/docs/guide/ssg.md +18 -6
- package/docs/guide/ssr.md +1 -0
- package/docs/guide/storage.md +2 -1
- package/docs/guide/testing.md +64 -0
- package/docs/guide/type-safety.md +24 -21
- package/docs/guide/typed-fetch.md +1 -0
- package/docs/guide/websockets.md +1 -0
- package/docs/index.md +1 -0
- package/docs/integrations/agents.md +1 -0
- package/docs/integrations/cloudflare.md +7 -2
- package/docs/integrations/frameworks/analog.md +1 -0
- package/docs/integrations/frameworks/astro.md +1 -0
- package/docs/integrations/frameworks/nuxt.md +2 -1
- package/docs/integrations/frameworks/overview.md +1 -0
- package/docs/integrations/frameworks/react-router.md +1 -0
- package/docs/integrations/frameworks/sveltekit.md +1 -0
- package/docs/integrations/frameworks/tanstack-start.md +1 -0
- package/docs/integrations/hono.md +22 -0
- package/docs/integrations/nodejs-bun-deno.md +5 -4
- package/docs/reference/api/auth.md +23 -4
- package/docs/reference/api/client.md +1 -0
- package/docs/reference/api/database.md +24 -1
- package/docs/reference/api/deploy.md +4 -0
- package/docs/reference/api/durable.md +1 -0
- package/docs/reference/api/env.md +1 -0
- package/docs/reference/api/handlers.md +1 -0
- package/docs/reference/api/pages.md +38 -16
- package/docs/reference/api/plugin.md +1 -0
- package/docs/reference/api/resources.md +2 -1
- package/docs/reference/api/rewrites.md +9 -4
- package/docs/reference/api/types.md +1 -0
- package/docs/reference/api.md +2 -1
- package/docs/reference/cli/auth.md +1 -0
- package/docs/reference/cli/database.md +1 -0
- package/docs/reference/cli/deploy.md +5 -2
- package/docs/reference/cli/domains.md +1 -0
- package/docs/reference/cli/email.md +1 -0
- package/docs/reference/cli/generate.md +1 -0
- package/docs/reference/cli/github.md +1 -0
- package/docs/reference/cli/platform-config.md +4 -3
- package/docs/reference/cli/platform-email.md +1 -0
- package/docs/reference/cli/platform-installation.md +1 -0
- package/docs/reference/cli/platform-operations.md +1 -0
- package/docs/reference/cli/platform-users.md +71 -1
- package/docs/reference/cli/platform-zero-trust.md +1 -0
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +1 -0
- package/docs/reference/cli/secrets.md +1 -0
- package/docs/reference/cli/setup.md +1 -0
- package/docs/reference/cli.md +3 -0
- package/docs/reference/config.md +8 -3
- package/docs/reference/resource-inference.md +1 -0
- package/docs/reference/structure.md +1 -0
- package/package.json +25 -25
- package/skills/void/SKILL.md +3 -1
- package/dist/action-key-XtKKbbsi.mjs +0 -25
- package/dist/client-BAxLpSKv.mjs +0 -1
- package/dist/deploy-DEZkUS77.mjs +0 -2
- package/dist/discover-1DJD4YXD.mjs +0 -1
- package/dist/gen-C6iknRdI.mjs +0 -1
- package/dist/help-C_cqTByy.mjs +0 -1
- package/dist/load-user-env-CSwdofj0.mjs +0 -48
- package/dist/login-C4q1S-5b.mjs +0 -1
- package/dist/migrate-CVBsSFhC.mjs +0 -1
- package/dist/operator-cmd-DnaCnCSP.mjs +0 -1
- package/dist/output-CNsMDEd2.mjs +0 -1
- package/dist/platform-args-B7-wQ0_B.mjs +0 -1
- package/dist/prepare-Bx4a8cb1.mjs +0 -1
- package/dist/resolve-project-BALVa9q0.mjs +0 -1
- package/dist/url-CuoEn0o3.mjs +0 -43
- package/dist/wrangler-R3kMdJfw.mjs +0 -1
|
@@ -94,7 +94,7 @@ function readCliVersion() {
|
|
|
94
94
|
}
|
|
95
95
|
const VOID_CLI_VERSION = readCliVersion();
|
|
96
96
|
/** The oldest Void platform release this CLI supports. */
|
|
97
|
-
const MIN_PLATFORM_VERSION = "1.
|
|
97
|
+
const MIN_PLATFORM_VERSION = "1.9.0";
|
|
98
98
|
const RELEASE_VERSION = /^(\d+)\.(\d+)\.(\d+)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$/;
|
|
99
99
|
/**
|
|
100
100
|
* Discovery probes keyed by platform base URL. Every outcome (pass,
|
|
@@ -103,12 +103,12 @@ const RELEASE_VERSION = /^(\d+)\.(\d+)\.(\d+)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+
|
|
|
103
103
|
*/
|
|
104
104
|
const platformVersionProbes = /* @__PURE__ */ new Map();
|
|
105
105
|
/**
|
|
106
|
-
* Returns whether `version` is older than
|
|
107
|
-
* it is not a release version. A prerelease sorts before its release.
|
|
106
|
+
* Returns whether `version` is older than the release `minimumVersion`, or null
|
|
107
|
+
* when it is not a release version. A prerelease sorts before its release.
|
|
108
108
|
*/
|
|
109
|
-
function
|
|
109
|
+
function isOlderPlatformVersion(version, minimumVersion) {
|
|
110
110
|
const actual = RELEASE_VERSION.exec(version);
|
|
111
|
-
const minimum = RELEASE_VERSION.exec(
|
|
111
|
+
const minimum = RELEASE_VERSION.exec(minimumVersion);
|
|
112
112
|
if (!actual) return null;
|
|
113
113
|
for (const part of [
|
|
114
114
|
1,
|
|
@@ -125,7 +125,7 @@ function assertSupportedPlatform(apiUrl, probe) {
|
|
|
125
125
|
if (probe.kind === "unknown") return;
|
|
126
126
|
if (probe.kind === "missing") throw new Error(`The Void platform at ${apiUrl} does not report its version, but this CLI requires ${MIN_PLATFORM_VERSION} or later. ${UPGRADE_PLATFORM_ACTION}`);
|
|
127
127
|
const { version } = probe;
|
|
128
|
-
if (version === "hosted" ||
|
|
128
|
+
if (version === "hosted" || isOlderPlatformVersion(version, "1.9.0") !== true) return;
|
|
129
129
|
throw new Error(`The Void platform at ${apiUrl} runs version ${version}, but this CLI requires ${MIN_PLATFORM_VERSION} or later. ${UPGRADE_PLATFORM_ACTION}`);
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
@@ -1071,4 +1071,4 @@ var PlatformClient = class {
|
|
|
1071
1071
|
function sleep(ms) {
|
|
1072
1072
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
1073
1073
|
}
|
|
1074
|
-
export { isExpiredTokenError as a,
|
|
1074
|
+
export { isExpiredTokenError as a, parsePlatformErrorBody as c, isCliOutdatedError as i, platformErrorMessage as l, PlatformApiError as n, isHeadersTimeoutError as o, PlatformClient as r, isOlderPlatformVersion as s, MIN_PLATFORM_VERSION as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isCleanCloudflareExit, l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation, t as createCloudflareProcessRunner } from "./cloudflare-process-
|
|
1
|
+
import { i as isCleanCloudflareExit, l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation, t as createCloudflareProcessRunner } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
// src/cli/cloudflare-auth.ts
|
|
4
4
|
var CloudflareAuthenticationError = class extends Error {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as log } from "./dist-
|
|
1
|
+
import { L as log } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-
|
|
4
|
-
import { i as isCleanCloudflareExit } from "./cloudflare-process-
|
|
5
|
-
import { m as printSuccess } from "./output-
|
|
6
|
-
import { b as readRootWranglerConfig } from "./wrangler-
|
|
3
|
+
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-pNvmT6kL.mjs";
|
|
4
|
+
import { i as isCleanCloudflareExit } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
5
|
+
import { m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
6
|
+
import { b as readRootWranglerConfig } from "./wrangler-B1gkT_wC.mjs";
|
|
7
7
|
// src/cli/cloudflare-cmd.ts
|
|
8
8
|
async function runCloudflareCommand(root, args) {
|
|
9
9
|
const runWrangler = createBundledCloudflareAuthRunner(root);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { t as parseJsoncObject } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
3
|
-
import "./project-paths-
|
|
4
|
-
import { p as readConfig } from "./config-
|
|
3
|
+
import "./project-paths-CUhCPMpK.mjs";
|
|
4
|
+
import { p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
5
5
|
import { t as writeFileAtomic } from "./atomic-write-DA6eD1Kp.mjs";
|
|
6
6
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, rmSync } from "node:fs";
|
|
7
7
|
import { isRecord } from "@void/deploy-core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as select, L as log, tt as isCancel } from "./dist-
|
|
1
|
+
import { K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { i as ensureCloudflareAuthentication, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-
|
|
4
|
-
import { M as writeProvisionedWranglerConfig, b as readRootWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-
|
|
3
|
+
import { i as ensureCloudflareAuthentication, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-pNvmT6kL.mjs";
|
|
4
|
+
import { M as writeProvisionedWranglerConfig, b as readRootWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-B1gkT_wC.mjs";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
6
|
// src/cli/cloudflare-connect.ts
|
|
7
7
|
async function connectCloudflare(root, interactive = Boolean(process.stdin.isTTY)) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { a as persistCloudflareConfig, i as materializeCloudflareConfig } from "./cloudflare-config-
|
|
3
|
-
import { t as createCloudflareProcessRunner } from "./cloudflare-process-
|
|
4
|
-
import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-
|
|
5
|
-
import { u as getErrorMessage } from "./output-
|
|
6
|
-
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-
|
|
7
|
-
import { N as writeWranglerPublishedTrafficSnapshot, S as readWranglerCustomDomains, j as updateWranglerCustomDomain, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-
|
|
2
|
+
import { a as persistCloudflareConfig, i as materializeCloudflareConfig } from "./cloudflare-config-PxbinLLE.mjs";
|
|
3
|
+
import { t as createCloudflareProcessRunner } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
4
|
+
import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-BpKBs_KR.mjs";
|
|
5
|
+
import { u as getErrorMessage } from "./output-DNVILSz2.mjs";
|
|
6
|
+
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-bgQTi5QZ.mjs";
|
|
7
|
+
import { N as writeWranglerPublishedTrafficSnapshot, S as readWranglerCustomDomains, j as updateWranglerCustomDomain, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-B1gkT_wC.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";
|
|
@@ -1 +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 restoreCloudflareD1Database, b as syncCloudflareSecrets, x as tailCloudflareWorker } from "./cloudflare-operations-
|
|
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 restoreCloudflareD1Database, b as syncCloudflareSecrets, x as tailCloudflareWorker } from "./cloudflare-operations-G5AObYzF.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as CF_VERSION_SOURCE_MAX_OUTPUT_BYTES } from "./cf-command-values-Ccl-zRhl.mjs";
|
|
2
2
|
import { a as join, c as resolve, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
3
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
4
4
|
import { i as readPackageJson, n as hasPackageDependency, t as getPackageDependencies } from "./package-json-DvS6IFRv.mjs";
|
|
5
|
-
import { i as hasSsrEntry, r as getSsrServerEntryPath } from "./entry-
|
|
5
|
+
import { i as hasSsrEntry, r as getSsrServerEntryPath } from "./entry-DMgR7XOf.mjs";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { spawnSync } from "node:child_process";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as PLACEHOLDER_DB_URL, n as withPrivateDrizzleConfig, r as writeDrizzleConfig } from "./config-
|
|
1
|
+
export { t as PLACEHOLDER_DB_URL, n as withPrivateDrizzleConfig, r as writeDrizzleConfig } from "./config-DlWQ_hIJ.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as VoidAuthProvider } from "./providers-D5P8j_8D.mjs";
|
|
2
2
|
import "./types-CKWnYgfy.mjs";
|
|
3
|
-
import { t as HeadConfig } from "./head-
|
|
3
|
+
import { t as HeadConfig } from "./head-CVO92KEx.mjs";
|
|
4
4
|
import { AssetConfig } from "@void/deploy-core";
|
|
5
5
|
import { RewriteDestination } from "void/routes";
|
|
6
6
|
type SandboxInstanceType = "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isVoidAuthProvider, t as VOID_AUTH_PROVIDERS } from "./providers-ZARwX2cL.mjs";
|
|
2
|
-
import { a as validateSourceDir, c as loadVoidConfig } from "./project-paths-
|
|
2
|
+
import { a as validateSourceDir, c as loadVoidConfig } from "./project-paths-CUhCPMpK.mjs";
|
|
3
3
|
import { n as MimeError, o as parseAddress } from "./mime-CtP6-qAF.mjs";
|
|
4
4
|
import { isRecord } from "@void/deploy-core";
|
|
5
5
|
// src/config.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { c as getDatabaseCasing, p as readConfig } from "./config-
|
|
3
|
-
import { i as resolveProjectPaths } from "./project-paths-
|
|
4
|
-
import { n as schemaSpecifier, t as discoverSchema } from "./discover-
|
|
2
|
+
import { c as getDatabaseCasing, p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
3
|
+
import { i as resolveProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
4
|
+
import { n as schemaSpecifier, t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
5
5
|
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { tmpdir } from "node:os";
|
|
7
7
|
// src/drizzle/config.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as discoverSchema } from "./discover-
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
1
|
+
import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
2
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
3
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
4
|
import { isRunnableDevEnvironment, parseSync, runnerImport } from "vite";
|
|
5
5
|
// src/auth/config.ts
|
package/dist/config-entry.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VoidConfig } from "./config-
|
|
1
|
+
import { t as VoidConfig } from "./config-CCWVY7DY.mjs";
|
|
2
2
|
/** Define a typed Void project configuration without loading the Vite plugin. */
|
|
3
3
|
export declare function defineConfig<const T extends VoidConfig>(config: T): T;
|
|
4
4
|
export type { VoidConfig };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { K as select, L as log, tt as isCancel } from "./dist-
|
|
1
|
+
import { K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { d as readPlatformToken } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { a as isExpiredTokenError, r as PlatformClient } from "./client-
|
|
4
|
-
import { t as connectCloudflare } from "./cloudflare-connect-
|
|
5
|
-
import { t as promptForLoginToken } from "./login-
|
|
6
|
-
import { m as printSuccess } from "./output-
|
|
7
|
-
import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-
|
|
3
|
+
import { a as isExpiredTokenError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
|
+
import { t as connectCloudflare } from "./cloudflare-connect-D1QOosLd.mjs";
|
|
5
|
+
import { t as promptForLoginToken } from "./login-DOE-MkeK.mjs";
|
|
6
|
+
import { m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
7
|
+
import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-HS_FSthn.mjs";
|
|
8
8
|
import { c as normalizePlatformApiUrl, s as listPlatformConnections } from "./platform-registry-DZ_2Xuqd.mjs";
|
|
9
9
|
import { c as writeDeploymentPlatform, l as writePlatformSelection, n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
|
|
10
10
|
// src/cli/connect.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-
|
|
2
|
-
import { n as PlatformApiError } from "./client-
|
|
3
|
-
import { f as import_picocolors, h as sanitizeTerminalText } from "./output-
|
|
1
|
+
import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
|
+
import { n as PlatformApiError } from "./client-D6w5x7hM.mjs";
|
|
3
|
+
import { f as import_picocolors, h as sanitizeTerminalText } from "./output-DNVILSz2.mjs";
|
|
4
4
|
import { t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
5
5
|
import { s as getSiteDomain } from "./auth-CCk9Seol.mjs";
|
|
6
6
|
import { t as validateProjectSlug } from "./project-slug-CO6ci9XG.mjs";
|
|
7
|
-
import { n as inferDefaultSlug } from "./resolve-project-
|
|
7
|
+
import { n as inferDefaultSlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
8
8
|
// src/cli/prompt.ts
|
|
9
9
|
async function promptProjectSetupAction(message = "Set up a Void project:", options = {}) {
|
|
10
10
|
const result = await select({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createProjectWithSlugRetry } from "./create-project-
|
|
1
|
+
export { t as createProjectWithSlugRetry } from "./create-project-BaUzZnLZ.mjs";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A as confirm, H as outro, L as log, X as text, tt as isCancel } from "./dist-
|
|
1
|
+
import { A as confirm, H as outro, L as log, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join, c as resolve, n as dirname, r as extname, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-
|
|
4
|
-
import { t as resolveLocalD1Target } from "./local-d1-
|
|
3
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
4
|
+
import { t as resolveLocalD1Target } from "./local-d1-BnVb7Fem.mjs";
|
|
5
5
|
import { i as writeJournal, n as readJournal, r as stripSqlExt, t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
6
6
|
import { i as validateMigrations, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
7
|
-
import { r as detectFramework } from "./plugin-inference-
|
|
8
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
7
|
+
import { r as detectFramework } from "./plugin-inference-DZHmVe1f.mjs";
|
|
8
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
9
9
|
import { t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
|
|
10
|
-
import {
|
|
10
|
+
import { c as loadLocalEnv } from "./env-UqS-21xi.mjs";
|
|
11
11
|
import { c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
12
12
|
import { n as ensurePlatformProxyAccess, r as isCloudflareAccessChallenge, t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
|
|
13
|
-
import { n as PlatformApiError, r as PlatformClient } from "./client-
|
|
14
|
-
import { n as formatTimestamp } from "./gen-
|
|
15
|
-
import { f as import_picocolors, i as dim, l as formatUrl, m as printSuccess, o as formatCount, u as getErrorMessage } from "./output-
|
|
13
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
14
|
+
import { n as formatTimestamp } from "./gen-DimkGNve.mjs";
|
|
15
|
+
import { f as import_picocolors, i as dim, l as formatUrl, m as printSuccess, o as formatCount, u as getErrorMessage } from "./output-DNVILSz2.mjs";
|
|
16
16
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
17
17
|
import { n as drizzleKitBin } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
18
18
|
import { createRequire } from "node:module";
|
|
@@ -155,7 +155,7 @@ function runDrizzleKit(root, args) {
|
|
|
155
155
|
* already printed its own error.
|
|
156
156
|
*/
|
|
157
157
|
async function runDrizzleKitWithDatabaseUrl(root, url, dialect, command) {
|
|
158
|
-
const { withPrivateDrizzleConfig } = await import("./config-
|
|
158
|
+
const { withPrivateDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
|
|
159
159
|
if (!withPrivateDrizzleConfig(root, url, dialect, (configPath) => {
|
|
160
160
|
try {
|
|
161
161
|
runDrizzleKit(root, [
|
|
@@ -311,7 +311,7 @@ async function runPush(root, dialect) {
|
|
|
311
311
|
printSuccess("Database schema pushed.");
|
|
312
312
|
return;
|
|
313
313
|
}
|
|
314
|
-
const { writeDrizzleConfig } = await import("./config-
|
|
314
|
+
const { writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
|
|
315
315
|
const { databasePath: dbPath } = getLocalD1Target(root);
|
|
316
316
|
mkdirSync(dirname(dbPath), { recursive: true });
|
|
317
317
|
const configPath = writeDrizzleConfig(root, dbPath);
|
|
@@ -327,8 +327,8 @@ async function runPush(root, dialect) {
|
|
|
327
327
|
printSuccess("Database schema pushed.");
|
|
328
328
|
}
|
|
329
329
|
async function runGenerate(root, dialect) {
|
|
330
|
-
const { prepareProject } = await import("./prepare-
|
|
331
|
-
const { PLACEHOLDER_DB_URL, writeDrizzleConfig } = await import("./config-
|
|
330
|
+
const { prepareProject } = await import("./prepare-BSXKz6m8.mjs");
|
|
331
|
+
const { PLACEHOLDER_DB_URL, writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
|
|
332
332
|
await prepareProject(root);
|
|
333
333
|
const authSchemaPath = join(root, ".void", "better-auth-schema.ts");
|
|
334
334
|
const additionalSchemas = existsSync(authSchemaPath) ? [authSchemaPath] : void 0;
|
|
@@ -398,7 +398,7 @@ async function runStatus(root, dialect) {
|
|
|
398
398
|
applied_at: ""
|
|
399
399
|
}));
|
|
400
400
|
} else {
|
|
401
|
-
const { readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-
|
|
401
|
+
const { readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
402
402
|
remoteApplied = (await readCloudflareD1Migrations(resolveCloudflareD1Context(root, configuredD1Binding(root)))).map((name) => ({
|
|
403
403
|
name,
|
|
404
404
|
applied_at: ""
|
|
@@ -710,7 +710,7 @@ async function runExecute(root, command, file, dialect, remote) {
|
|
|
710
710
|
process.exit(0);
|
|
711
711
|
}
|
|
712
712
|
if (dialect === "sqlite") {
|
|
713
|
-
const { executeCloudflareD1Sql, resolveCloudflareD1Context } = await import("./cloudflare-operations-
|
|
713
|
+
const { executeCloudflareD1Sql, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
714
714
|
const rows = await executeCloudflareD1Sql(resolveCloudflareD1Context(root, configuredD1Binding(root)), sql);
|
|
715
715
|
if (rows.length > 0) printTable(rows);
|
|
716
716
|
} else {
|
|
@@ -904,7 +904,7 @@ async function runMigrate(root, dialect, remote) {
|
|
|
904
904
|
log.info(`No migration files found in ${paths.sourceRelative("db/migrations")}/`);
|
|
905
905
|
return;
|
|
906
906
|
}
|
|
907
|
-
const { applyCloudflareD1Migrations, readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-
|
|
907
|
+
const { applyCloudflareD1Migrations, readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
908
908
|
const binding = configuredD1Binding(root);
|
|
909
909
|
const context = resolveCloudflareD1Context(root, binding);
|
|
910
910
|
const remoteBefore = new Set(await readCloudflareD1Migrations(context));
|
|
@@ -924,7 +924,7 @@ async function runMigrate(root, dialect, remote) {
|
|
|
924
924
|
log.error(`db: D1 binding ${binding} has no "migrations_dir", so Cloudflare would apply ./migrations instead of ${dir}/. Add "migrations_dir": "./${dir}" to that D1 binding in your Cloudflare config, then run the command again.`);
|
|
925
925
|
process.exit(1);
|
|
926
926
|
}
|
|
927
|
-
const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-
|
|
927
|
+
const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-Dr_Qamzw.mjs");
|
|
928
928
|
const applySet = await checkWranglerMigrationApplySet(context.operation.configPath, parseRootWranglerConfig(context.operation.configPath), binding, context.migrationsDir, rawMigrations, paths.sourceRelative("db/migrations"));
|
|
929
929
|
if (!applySet.ok) {
|
|
930
930
|
log.error(applySet.reason);
|
|
@@ -1051,7 +1051,7 @@ async function runRestore(root, dialect, { target, platform: explicitPlatform, y
|
|
|
1051
1051
|
log.error("db: `void db restore` restores the D1 database of a direct Cloudflare deploy. After a one-off `void deploy --platform cloudflare`, run it with `--platform cloudflare`.");
|
|
1052
1052
|
process.exit(1);
|
|
1053
1053
|
}
|
|
1054
|
-
const { readCloudflareD1Migrations, resolveCloudflareD1Context, restoreCloudflareD1Database } = await import("./cloudflare-operations-
|
|
1054
|
+
const { readCloudflareD1Migrations, resolveCloudflareD1Context, restoreCloudflareD1Database } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
1055
1055
|
const binding = configuredD1Binding(root);
|
|
1056
1056
|
const context = resolveCloudflareD1Context(root, binding);
|
|
1057
1057
|
const database = `D1 database ${context.migrateToken} (${binding})`;
|
|
@@ -1125,7 +1125,7 @@ async function runStudio(root, dialect, remote) {
|
|
|
1125
1125
|
await runDrizzleKitWithDatabaseUrl(root, url, dialect, "studio");
|
|
1126
1126
|
return;
|
|
1127
1127
|
}
|
|
1128
|
-
const { writeDrizzleConfig } = await import("./config-
|
|
1128
|
+
const { writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
|
|
1129
1129
|
const { databasePath: dbPath } = getLocalD1Target(root);
|
|
1130
1130
|
if (!existsSync(dbPath)) {
|
|
1131
1131
|
log.error("No local database found. Start the dev server first.");
|
|
@@ -1145,8 +1145,8 @@ async function runStudio(root, dialect, remote) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
/** A direct Cloudflare deploy records its D1 or Hyperdrive id in the checked-in Cloudflare config. */
|
|
1147
1147
|
async function hasDeployedCloudflareDatabase(root) {
|
|
1148
|
-
const { readRootWranglerConfig } = await import("./wrangler-
|
|
1149
|
-
const { isRealD1Id, isRealHyperdriveId } = await import("./provision-
|
|
1148
|
+
const { readRootWranglerConfig } = await import("./wrangler-fNGvPTlO.mjs");
|
|
1149
|
+
const { isRealD1Id, isRealHyperdriveId } = await import("./provision-BLdkpFT4.mjs");
|
|
1150
1150
|
const config = readRootWranglerConfig(root)?.config;
|
|
1151
1151
|
const entries = (key) => {
|
|
1152
1152
|
const value = config?.[key];
|
|
@@ -1697,7 +1697,7 @@ async function loadSeedFunction(seedPath) {
|
|
|
1697
1697
|
return seed;
|
|
1698
1698
|
}
|
|
1699
1699
|
async function loadSeedSchema(root) {
|
|
1700
|
-
const { discoverSchema } = await import("./discover-
|
|
1700
|
+
const { discoverSchema } = await import("./discover-Diq0l6TZ.mjs");
|
|
1701
1701
|
const location = discoverSchema(root, readProjectPaths(root));
|
|
1702
1702
|
if (!location) return {};
|
|
1703
1703
|
if (location.type === "file") {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { i as writeFileIfChanged } from "./project-tsconfig-
|
|
2
|
+
import { i as writeFileIfChanged } from "./project-tsconfig-MyRJgufB.mjs";
|
|
3
3
|
// src/codegen/db-types.ts
|
|
4
4
|
const DRIZZLE_OPERATORS = "sql, eq, ne, gt, gte, lt, lte, and, or, not, desc, asc, like, ilike, notLike, inArray, notInArray, isNull, isNotNull, between, notBetween, exists, notExists, count, sum, avg, min, max";
|
|
5
|
+
const DRIZZLE_TYPES = "AnyColumn, SQL, SQLWrapper, BatchItem";
|
|
5
6
|
const DIALECT_DB_TYPES = {
|
|
6
7
|
sqlite: {
|
|
7
8
|
type: "DrizzleD1Database",
|
|
8
9
|
from: "void/_db",
|
|
9
|
-
arg: "d1: D1Database"
|
|
10
|
+
arg: "d1: D1Database, options?: { session?: D1SessionConstraint }"
|
|
10
11
|
},
|
|
11
12
|
postgresql: {
|
|
12
13
|
type: "NodePgDatabase",
|
|
@@ -40,6 +41,7 @@ function generateDbDts(outDir, schema, dialect) {
|
|
|
40
41
|
`export declare const db: ${type}<${schemaType}>;`,
|
|
41
42
|
`export declare function createDb(${arg}): ${type}<${schemaType}>;`,
|
|
42
43
|
`export { ${DRIZZLE_OPERATORS} } from "void/_db";`,
|
|
44
|
+
`export type { ${DRIZZLE_TYPES} } from "void/_db";`,
|
|
43
45
|
`export type { ${type} } from "${from}";`,
|
|
44
46
|
""
|
|
45
47
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as log, O as cancel, X as text, tt as isCancel } from "./dist-
|
|
1
|
+
import { L as log, O as cancel, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
4
|
-
import { m as printSuccess, p as note, r as createSpinner } from "./output-
|
|
3
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
|
+
import { m as printSuccess, p as note, r as createSpinner } from "./output-DNVILSz2.mjs";
|
|
5
5
|
import { o as removeProjectConfig, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
6
|
-
import { a as resolveProjectBySlug } from "./resolve-project-
|
|
6
|
+
import { a as resolveProjectBySlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
7
7
|
// src/cli/delete.ts
|
|
8
8
|
async function runDeleteCommand(root, slug, options) {
|
|
9
9
|
console.log();
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { n as __toESM, t as __commonJSMin } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
|
-
import { A as confirm, K as select, L as log, tt as isCancel } from "./dist-
|
|
2
|
+
import { A as confirm, K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
3
3
|
import { a as join, c as resolve, n as dirname, o as normalize, r as extname, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
4
|
-
import { a as persistCloudflareConfig, c as stashCloudflareDeployPointer, i as materializeCloudflareConfig } from "./cloudflare-config-
|
|
5
|
-
import { m as resolveBindingNames, p as readConfig, r as convertHeadersConfig, u as isNodeTarget } from "./config-
|
|
6
|
-
import { r as detectFramework } from "./plugin-inference-
|
|
7
|
-
import { a as buildEnv, i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, n as readVersionMetadataBinding, r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-
|
|
4
|
+
import { a as persistCloudflareConfig, c as stashCloudflareDeployPointer, i as materializeCloudflareConfig } from "./cloudflare-config-PxbinLLE.mjs";
|
|
5
|
+
import { m as resolveBindingNames, p as readConfig, r as convertHeadersConfig, u as isNodeTarget } from "./config-CzFdJYNA.mjs";
|
|
6
|
+
import { r as detectFramework } from "./plugin-inference-DZHmVe1f.mjs";
|
|
7
|
+
import { a as buildEnv, i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, n as readVersionMetadataBinding, r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-CeftH0fQ.mjs";
|
|
8
8
|
import { a as getApiUrl, c as getToken, l as getTokenSource } from "./auth-CCk9Seol.mjs";
|
|
9
|
-
import { a as isExpiredTokenError, r as PlatformClient } from "./client-
|
|
9
|
+
import { a as isExpiredTokenError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
10
10
|
import { t as writeFileAtomic } from "./atomic-write-DA6eD1Kp.mjs";
|
|
11
|
-
import { r as discoverFrameworkWranglerFiles, t as migrateLegacyVoidConfig } from "./migrate-
|
|
11
|
+
import { r as discoverFrameworkWranglerFiles, t as migrateLegacyVoidConfig } from "./migrate-DtoKdGas.mjs";
|
|
12
12
|
import { c as writeDeploymentPlatform, n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
13
|
-
import { a as FRAMEWORK_PRESETS, c as hasBackendFiles, i as isCleanCloudflareExit, l as resolveCloudflareOperationArgv, o as detectPreset, s as formatProjectCommand, t as createCloudflareProcessRunner, u as resolveProjectCommand } from "./cloudflare-process-
|
|
13
|
+
import { a as FRAMEWORK_PRESETS, c as hasBackendFiles, i as isCleanCloudflareExit, l as resolveCloudflareOperationArgv, o as detectPreset, s as formatProjectCommand, t as createCloudflareProcessRunner, u as resolveProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
14
14
|
import { n as redactMessage } from "./env-mask-D31Qztl9.mjs";
|
|
15
|
-
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, o as requiresSandboxPlatformImage, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync } from "./application-analysis-
|
|
16
|
-
import { A as syncWranglerWebSockets, C as readWranglerManagedQueueCleanupCandidates, D as sameMigrationsDir, E as resolveLiveBindingConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, N as writeWranglerPublishedTrafficSnapshot, a as LIVE_MIGRATION_TAG, c as bindingEntriesForField, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, o as acknowledgeWranglerManagedQueueRemovals, r as FRIENDLY_BINDING_NAMES, v as readExistingLiveBindingConfig, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-
|
|
17
|
-
import { A as promptDeployProjectConfig, C as ensureManagedHyperdrive, D as hasNonPageBackend, E as getGitCommit, F as resolveStaticBuildCommand, I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, O as hasPrerenderSources, P as resolveFullDeployBuildCommand, R as validateDeployMigrations, S as createProjectFromSlug, T as getExitCode, _ as getDeploySchemaDriftMessage, a as collectAndHashAssets, b as assertProjectDeployAccess, c as readWranglerHtmlHandling, d as printDeploySuccess, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, h as warnUnpublishedRouting, i as buildStaticManifest, j as resolveDeployLiveBindingConfig, k as log$1, l as formatDeploySummary, m as warnIgnoredNotFoundForFramework, n as runStaticDeploy, o as collectWorkerFiles, p as streamDirectR2Deploy, r as buildFrameworkManifest, s as detectNonSpaFallbackWarning, t as assembleVoidManifest, u as printDeployContext, v as hasDeploySchemaDrift, w as generateDeployWrapperIfNeeded, x as assertWorkerMainUploaded, y as assertEnvSchemaValid } from "./deploy-managed-static-
|
|
18
|
-
import { n as completeApplicationAnalysis, t as analyzeApplication } from "./application-routing-
|
|
15
|
+
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, o as requiresSandboxPlatformImage, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync } from "./application-analysis-3VVsflWZ.mjs";
|
|
16
|
+
import { A as syncWranglerWebSockets, C as readWranglerManagedQueueCleanupCandidates, D as sameMigrationsDir, E as resolveLiveBindingConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, N as writeWranglerPublishedTrafficSnapshot, a as LIVE_MIGRATION_TAG, c as bindingEntriesForField, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, o as acknowledgeWranglerManagedQueueRemovals, r as FRIENDLY_BINDING_NAMES, v as readExistingLiveBindingConfig, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-B1gkT_wC.mjs";
|
|
17
|
+
import { A as promptDeployProjectConfig, C as ensureManagedHyperdrive, D as hasNonPageBackend, E as getGitCommit, F as resolveStaticBuildCommand, I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, O as hasPrerenderSources, P as resolveFullDeployBuildCommand, R as validateDeployMigrations, S as createProjectFromSlug, T as getExitCode, _ as getDeploySchemaDriftMessage, a as collectAndHashAssets, b as assertProjectDeployAccess, c as readWranglerHtmlHandling, d as printDeploySuccess, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, h as warnUnpublishedRouting, i as buildStaticManifest, j as resolveDeployLiveBindingConfig, k as log$1, l as formatDeploySummary, m as warnIgnoredNotFoundForFramework, n as runStaticDeploy, o as collectWorkerFiles, p as streamDirectR2Deploy, r as buildFrameworkManifest, s as detectNonSpaFallbackWarning, t as assembleVoidManifest, u as printDeployContext, v as hasDeploySchemaDrift, w as generateDeployWrapperIfNeeded, x as assertWorkerMainUploaded, y as assertEnvSchemaValid } from "./deploy-managed-static-Kn73R83A.mjs";
|
|
18
|
+
import { n as completeApplicationAnalysis, t as analyzeApplication } from "./application-routing-CJRlXCc2.mjs";
|
|
19
19
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName, r as hasRevalidate } from "./isr-config-Czzb4mIq.mjs";
|
|
20
|
-
import { i as otherQueueConsumers, n as chooseCloudflareQueueName, o as scopedCloudflareQueueName, r as cloudflareQueueName } from "./dispatch-
|
|
20
|
+
import { i as otherQueueConsumers, n as chooseCloudflareQueueName, o as scopedCloudflareQueueName, r as cloudflareQueueName } from "./dispatch-BBfb519j.mjs";
|
|
21
21
|
import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
|
|
22
|
-
import { a as checkCloudflareProvisionDrift, b as resolveWorkersDevComplianceRegion, d as isQueueConfirmedAbsent, f as isRealD1Id, g as provisionCloudflareResources, i as assertValidResourceName, m as isRealKvId, s as deleteEnvVarCaseAware } from "./provision-
|
|
23
|
-
import { c as scrubWranglerAuthCredentials, n as buildSchemaProbeEnv, o as resolveDeployTransport, r as deployChildEnv, s as scrubManagedDeployBuildMarkers, t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-
|
|
24
|
-
import { f as listSelfHostSecretNames, h as selfHostSchemaFailureMessage, i as SelfHostSecretListError, l as dischargeSelfHostEnvContext, n as SelfHostFirstDeployError, p as readEmittedWorkerVars, r as SelfHostSchemaError, s as deriveSelfHostEnvContextFromVars, t as SelfHostEnvValidationError } from "./env-validation-
|
|
22
|
+
import { a as checkCloudflareProvisionDrift, b as resolveWorkersDevComplianceRegion, d as isQueueConfirmedAbsent, f as isRealD1Id, g as provisionCloudflareResources, i as assertValidResourceName, m as isRealKvId, s as deleteEnvVarCaseAware } from "./provision-bgQTi5QZ.mjs";
|
|
23
|
+
import { c as scrubWranglerAuthCredentials, n as buildSchemaProbeEnv, o as resolveDeployTransport, r as deployChildEnv, s as scrubManagedDeployBuildMarkers, t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-BpKBs_KR.mjs";
|
|
24
|
+
import { f as listSelfHostSecretNames, h as selfHostSchemaFailureMessage, i as SelfHostSecretListError, l as dischargeSelfHostEnvContext, n as SelfHostFirstDeployError, p as readEmittedWorkerVars, r as SelfHostSchemaError, s as deriveSelfHostEnvContextFromVars, t as SelfHostEnvValidationError } from "./env-validation-DeYNRp1d.mjs";
|
|
25
25
|
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
26
|
-
import { o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-
|
|
26
|
+
import { o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-DNVILSz2.mjs";
|
|
27
27
|
import { t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
28
28
|
import { n as openMigrationValidationDatabase, t as SqliteMigrationError } from "./sqlite-validation-CLJXXN93.mjs";
|
|
29
|
-
import {
|
|
29
|
+
import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV, t as CLOUDFLARE_DEPLOY_BUILD_ENV, u as resolveRemoteMode } from "./env-UqS-21xi.mjs";
|
|
30
30
|
import { n as prepareCfFrameworkBuildOutput, r as prepareCfStaticBuildOutput, t as prepareCfBuildOutput } from "./cf-build-output-CWNOH-KA.mjs";
|
|
31
|
-
import { c as VOID_INTERNAL_WORKER_FIRST, d as hasDocumentRoutes, f as resolveAssetConfig, i as readGeneratedAssetHeadersFile, l as edgeRulesNeedWorker, u as hasApiRoutes } from "./headers-
|
|
32
|
-
import { o as validateSsrEntry } from "./entry-
|
|
33
|
-
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, t as CloudflareAuthenticationError } from "./cloudflare-auth-
|
|
31
|
+
import { c as VOID_INTERNAL_WORKER_FIRST, d as hasDocumentRoutes, f as resolveAssetConfig, i as readGeneratedAssetHeadersFile, l as edgeRulesNeedWorker, u as hasApiRoutes } from "./headers-Q0kZDpk8.mjs";
|
|
32
|
+
import { o as validateSsrEntry } from "./entry-DMgR7XOf.mjs";
|
|
33
|
+
import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, t as CloudflareAuthenticationError } from "./cloudflare-auth-pNvmT6kL.mjs";
|
|
34
34
|
import { r as trustedCloudflareWorkerAccessHeaders, t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
|
|
35
35
|
import { i as safePositional, r as readCfUploadOutput, t as CF_VERSION_SOURCE_MAX_OUTPUT_BYTES } from "./cf-command-values-Ccl-zRhl.mjs";
|
|
36
36
|
import { n as record, t as migrateBuiltWranglerConfig } from "./cf-config-migrate-Bb-EdAQq.mjs";
|
|
37
37
|
import { n as getCfCliVersion, r as getVoidUserAgent, t as publishCloudflareWorkerSettings } from "./cf-worker-settings-CARs4Wy9.mjs";
|
|
38
|
-
import { a as createCloudflareEmptyDomainPublisher, i as createCloudflareEmptyCronPublisher } from "./cloudflare-operations-
|
|
38
|
+
import { a as createCloudflareEmptyDomainPublisher, i as createCloudflareEmptyCronPublisher } from "./cloudflare-operations-G5AObYzF.mjs";
|
|
39
39
|
import { i as validateMigrations, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
40
|
-
import { n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-
|
|
40
|
+
import { n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-CUhCPMpK.mjs";
|
|
41
41
|
import { t as sanitizeTerminalLogText } from "./terminal-log-text-DNsWJREL.mjs";
|
|
42
42
|
import { a as runMySqlMigrations } from "./runner-mysql-BXfcQQj3.mjs";
|
|
43
43
|
import { i as runPgMigrations } from "./runner-pg-mYc75KfH.mjs";
|
|
44
|
-
import { a as emailConfigInputs, c as renderAddressMap, d as collectPrerenderPathsNode, f as prerenderPages, i as createNodeEmailDns, l as renderEmailChecklist, n as SEND_EMAIL_BINDING, o as preflightEmail, p as prerenderPagesNode, r as applyEmailSetup, t as EMAIL_FROM_VAR, u as collectPrerenderPaths } from "./email-cloudflare-
|
|
45
|
-
import { a as needsWrapper, r as cleanupWrapper, t as bundleEntry } from "./wrapper-
|
|
46
|
-
import { t as assertNoPrerenderFailures } from "./prerender-render-
|
|
44
|
+
import { a as emailConfigInputs, c as renderAddressMap, d as collectPrerenderPathsNode, f as prerenderPages, i as createNodeEmailDns, l as renderEmailChecklist, n as SEND_EMAIL_BINDING, o as preflightEmail, p as prerenderPagesNode, r as applyEmailSetup, t as EMAIL_FROM_VAR, u as collectPrerenderPaths } from "./email-cloudflare-DAGpgzY1.mjs";
|
|
45
|
+
import { a as needsWrapper, r as cleanupWrapper, t as bundleEntry } from "./wrapper-xJ4LP5A7.mjs";
|
|
46
|
+
import { t as assertNoPrerenderFailures } from "./prerender-render-BAdYhivW.mjs";
|
|
47
47
|
import { t as collectGitDeployMetadata } from "./git-metadata-Cukp5kV5.mjs";
|
|
48
48
|
import { t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
|
|
49
49
|
import { r as getPackageDir } from "./agents-DRo8gzni.mjs";
|
|
50
50
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
51
|
-
import { t as promptForLoginToken } from "./login-
|
|
51
|
+
import { t as promptForLoginToken } from "./login-DOE-MkeK.mjs";
|
|
52
52
|
import { s as listPlatformConnections } from "./platform-registry-DZ_2Xuqd.mjs";
|
|
53
|
-
import { t as getRequestedProjectSlug } from "./resolve-project-
|
|
53
|
+
import { t as getRequestedProjectSlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
54
54
|
import { createRequire } from "node:module";
|
|
55
55
|
import { closeSync, cpSync, existsSync, mkdirSync, mkdtempSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
|
|
56
56
|
import { fileURLToPath } from "node:url";
|
|
@@ -1513,7 +1513,7 @@ async function validateCloudflarePostBuildEnv(options) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
return true;
|
|
1515
1515
|
}
|
|
1516
|
-
// ../../node_modules/.pnpm/ci-info@4.
|
|
1516
|
+
// ../../node_modules/.pnpm/ci-info@4.5.0/node_modules/ci-info/vendors.json
|
|
1517
1517
|
var require_vendors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1518
1518
|
module.exports = [
|
|
1519
1519
|
{
|
|
@@ -1593,6 +1593,11 @@ var require_vendors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1593
1593
|
"ne": "false"
|
|
1594
1594
|
}
|
|
1595
1595
|
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "Capawesome Cloud",
|
|
1598
|
+
"constant": "CAPAWESOME_CLOUD",
|
|
1599
|
+
"env": "CAPAWESOME_CLOUD"
|
|
1600
|
+
},
|
|
1596
1601
|
{
|
|
1597
1602
|
"name": "CircleCI",
|
|
1598
1603
|
"constant": "CIRCLE",
|
|
@@ -1754,6 +1759,11 @@ var require_vendors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1754
1759
|
"env": "RENDER",
|
|
1755
1760
|
"pr": { "IS_PULL_REQUEST": "true" }
|
|
1756
1761
|
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "RWX",
|
|
1764
|
+
"constant": "RWX",
|
|
1765
|
+
"env": "RWX"
|
|
1766
|
+
},
|
|
1757
1767
|
{
|
|
1758
1768
|
"name": "Sail CI",
|
|
1759
1769
|
"constant": "SAIL",
|
|
@@ -4058,6 +4068,7 @@ async function prepareCloudflareFrameworkArtifact(options) {
|
|
|
4058
4068
|
...ai,
|
|
4059
4069
|
gateway: voidConfig.ai?.gateway
|
|
4060
4070
|
} } : {},
|
|
4071
|
+
runWorkerFirst: voidConfig.cloudflare?.assets?.run_worker_first ?? [...VOID_INTERNAL_WORKER_FIRST],
|
|
4061
4072
|
...preset.workerDir === preset.assetsDir ? { assetsIgnore: [
|
|
4062
4073
|
preset.workerMain,
|
|
4063
4074
|
"_routes.json",
|
|
@@ -6794,32 +6805,6 @@ async function runDeploy(root, options) {
|
|
|
6794
6805
|
const deployTargets = {
|
|
6795
6806
|
cloudflare: {
|
|
6796
6807
|
target: "cloudflare",
|
|
6797
|
-
capabilities: {
|
|
6798
|
-
managedProjects: false,
|
|
6799
|
-
skipBuild: true,
|
|
6800
|
-
appTypes: {
|
|
6801
|
-
void: "supported",
|
|
6802
|
-
spa: "supported",
|
|
6803
|
-
static: "supported",
|
|
6804
|
-
framework: "supported"
|
|
6805
|
-
},
|
|
6806
|
-
features: {
|
|
6807
|
-
auth: "supported",
|
|
6808
|
-
cron: "supported",
|
|
6809
|
-
queues: "supported",
|
|
6810
|
-
durableState: "supported",
|
|
6811
|
-
webSockets: "supported",
|
|
6812
|
-
live: "supported",
|
|
6813
|
-
sandbox: "supported",
|
|
6814
|
-
isr: "supported",
|
|
6815
|
-
remoteDevelopment: "unsupported",
|
|
6816
|
-
deploymentHistory: "supported",
|
|
6817
|
-
rollback: "supported",
|
|
6818
|
-
secrets: "supported",
|
|
6819
|
-
domains: "supported",
|
|
6820
|
-
logs: "partial"
|
|
6821
|
-
}
|
|
6822
|
-
},
|
|
6823
6808
|
async deploy(root, options, cliLog) {
|
|
6824
6809
|
if (options.projectSlug !== void 0) throw new Error("deploy: --project is not supported with platform cloudflare — this platform deploys to your own Cloudflare account and no Void project is involved.");
|
|
6825
6810
|
assertInstalledVoidMatchesCli(root);
|
|
@@ -6829,32 +6814,6 @@ const deployTargets = {
|
|
|
6829
6814
|
},
|
|
6830
6815
|
void: {
|
|
6831
6816
|
target: "void",
|
|
6832
|
-
capabilities: {
|
|
6833
|
-
managedProjects: true,
|
|
6834
|
-
skipBuild: true,
|
|
6835
|
-
appTypes: {
|
|
6836
|
-
void: "supported",
|
|
6837
|
-
spa: "supported",
|
|
6838
|
-
static: "supported",
|
|
6839
|
-
framework: "supported"
|
|
6840
|
-
},
|
|
6841
|
-
features: {
|
|
6842
|
-
auth: "supported",
|
|
6843
|
-
cron: "supported",
|
|
6844
|
-
queues: "supported",
|
|
6845
|
-
durableState: "unsupported",
|
|
6846
|
-
webSockets: "supported",
|
|
6847
|
-
live: "supported",
|
|
6848
|
-
sandbox: "supported",
|
|
6849
|
-
isr: "supported",
|
|
6850
|
-
remoteDevelopment: "supported",
|
|
6851
|
-
deploymentHistory: "supported",
|
|
6852
|
-
rollback: "supported",
|
|
6853
|
-
secrets: "supported",
|
|
6854
|
-
domains: "supported",
|
|
6855
|
-
logs: "supported"
|
|
6856
|
-
}
|
|
6857
|
-
},
|
|
6858
6817
|
deploy: runManagedDeploy
|
|
6859
6818
|
}
|
|
6860
6819
|
};
|