void 1.8.0 → 1.9.1
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-CZKntRH2.mjs → account-cmd-BEMOdwtl.mjs} +3 -3
- package/dist/{application-analysis-CyTagJQM.mjs → application-analysis-3VVsflWZ.mjs} +5 -5
- package/dist/{application-routing-BLrMVpqi.mjs → application-routing-CJRlXCc2.mjs} +1 -1
- package/dist/{auth-Bk9VGtQW.d.mts → auth-CV9kXHKe.d.mts} +3 -1
- package/dist/{auth-DyWp-fSo.mjs → auth-aMuFOZeI.mjs} +8 -2
- package/dist/{auth-link-BOaQWMKw.mjs → auth-link-B1IynRW5.mjs} +3 -3
- package/dist/{auth-router-D0-VcmDs.mjs → auth-router-DVaWJdRB.mjs} +2 -2
- package/dist/{better-auth-shared-CdVyCUou.mjs → better-auth-shared-C7LHvF4L.mjs} +1 -1
- package/dist/{better-auth-shared-CQFdtguU.d.mts → better-auth-shared-ajs3LNrY.d.mts} +1 -1
- package/dist/{build-cmd-JTsXXf2F.mjs → build-cmd-Dq8tdqQG.mjs} +1 -1
- package/dist/{cache-D0m3Z_Xf.mjs → cache-DGMnskX7.mjs} +1 -1
- package/dist/{cancel-deploy-Ce6Os4fa.mjs → cancel-deploy-96S5hD1E.mjs} +1 -1
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/env-schema-probe.mjs +3 -3
- package/dist/{cli-main-rkrJy2Ge.mjs → cli-main-CQRLxZAu.mjs} +28 -28
- package/dist/client-66c0RLDM.mjs +1 -0
- package/dist/{client-SZPyj4X_.mjs → client-D6w5x7hM.mjs} +7 -7
- package/dist/{cloudflare-auth-7jTqy9Bx.mjs → cloudflare-auth-pNvmT6kL.mjs} +1 -1
- package/dist/{cloudflare-cmd-ChPLQcTP.mjs → cloudflare-cmd-BuuHUM4z.mjs} +3 -3
- package/dist/{cloudflare-config-DtOGAbeB.mjs → cloudflare-config-PxbinLLE.mjs} +2 -2
- package/dist/{cloudflare-connect-Co93VYTo.mjs → cloudflare-connect-D1QOosLd.mjs} +2 -2
- package/dist/{cloudflare-operations-CXaDKYj2.mjs → cloudflare-operations-G5AObYzF.mjs} +5 -5
- package/dist/{cloudflare-operations-DATekLwI.mjs → cloudflare-operations-I4t3mt4R.mjs} +1 -1
- package/dist/{cloudflare-process-DmTxZR-N.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-DlvXt1JR.mjs → connect-4uImOwut.mjs} +4 -4
- package/dist/{create-project-CC_7hmYJ.mjs → create-project-BaUzZnLZ.mjs} +1 -1
- package/dist/{create-project-DzY05xqC.mjs → create-project-CQMyzTvK.mjs} +1 -1
- package/dist/{db-FhyYGcJJ.mjs → db-DEpDeDsi.mjs} +19 -19
- package/dist/{db-types-sVwEpyPR.mjs → db-types-BpPYAx0B.mjs} +1 -1
- package/dist/{delete-CModjyOC.mjs → delete-BVD2kI82.mjs} +1 -1
- package/dist/deploy-Dr_Qamzw.mjs +2 -0
- package/dist/{deploy-Cz9TEzZy.mjs → deploy-Dyeo5soA.mjs} +24 -75
- package/dist/{deploy-managed-static-DlxxXkAM.mjs → deploy-managed-static-Kn73R83A.mjs} +20 -20
- package/dist/{deploy-transport-DUvm6-CR.mjs → deploy-transport-BpKBs_KR.mjs} +2 -2
- 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-CCiaAnSK.mjs → dispatch-BBfb519j.mjs} +5 -5
- package/dist/{domain-DvdZPA50.mjs → domain-BTIdyUVk.mjs} +2 -2
- package/dist/{email-ASpNrfLd.mjs → email-DvrS-I0U.mjs} +7 -7
- package/dist/{email-cloudflare-kqoN9jst.mjs → email-cloudflare-DAGpgzY1.mjs} +3 -3
- package/dist/{entry-BweGTCgj.mjs → entry-DMgR7XOf.mjs} +1 -1
- package/dist/{env-Bpkg3G5i.mjs → env-D7vORwpn.mjs} +4 -4
- package/dist/{env-types-Dz9qkiOn.mjs → env-types-WEZw5D-r.mjs} +1 -1
- package/dist/{env-validation-CN386Utu.mjs → env-validation-DKDcpxbt.mjs} +1 -1
- package/dist/{env-validation-BpCCQE_6.mjs → env-validation-DeYNRp1d.mjs} +3 -3
- package/dist/{gen-upKJChvd.mjs → gen-DimkGNve.mjs} +4 -4
- package/dist/gen-DmEeVEs4.mjs +1 -0
- package/dist/{github-cmd-BvMOlb8Z.mjs → github-cmd-D-zs6VQr.mjs} +1 -1
- package/dist/{handler-BO7Od-z9.d.mts → handler-6fzr_ikp.d.mts} +3 -3
- package/dist/{head-5XPcnG-j.mjs → head-0o0QoREY.mjs} +63 -4
- package/dist/{head-MeF_5M_3.d.mts → head-CVO92KEx.d.mts} +14 -3
- package/dist/{headers-COGEDoMN.mjs → headers-Q0kZDpk8.mjs} +1 -1
- package/dist/{help-TPCjTu6e.mjs → help-Cgdcd-SG.mjs} +4 -4
- package/dist/help-Cp3K5m1w.mjs +1 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +29 -24
- package/dist/{info-EsDyihwf.mjs → info-BbxQ34kk.mjs} +4 -4
- package/dist/{init-a4lVagrb.mjs → init-zyRj3QRw.mjs} +14 -14
- package/dist/{link-CE55DDzS.mjs → link-DAFXuIER.mjs} +2 -2
- package/dist/{list-CxRthQks.mjs → list-BTIcC3W9.mjs} +2 -2
- package/dist/{live-Kc55iuOQ.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-AfcSGSmE.mjs → login-DOE-MkeK.mjs} +2 -2
- package/dist/{logs-BgRJuvb1.mjs → logs-CUsjihc3.mjs} +2 -2
- package/dist/migrate-BYhoIK9R.mjs +1 -0
- package/dist/{migrate-BNAh6m_C.mjs → migrate-DtoKdGas.mjs} +4 -4
- package/dist/nitro.mjs +3 -3
- package/dist/{node-CXFUw0Uz.mjs → node-D9dPyUr0.mjs} +2 -2
- package/dist/operator-ai-logging-DFTEp81Z.mjs +121 -0
- package/dist/{operator-args-DGTuCdSE.mjs → operator-args-BCCohcz3.mjs} +3 -2
- package/dist/{operator-cmd-C-viB7Si.mjs → operator-cmd-CQOQrUiO.mjs} +26 -6
- package/dist/operator-cmd-xCACDtT1.mjs +1 -0
- package/dist/pages/client.d.mts +1 -1
- package/dist/pages/client.mjs +15 -13
- package/dist/pages/head.d.mts +2 -2
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +2 -2
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +5 -1
- package/dist/pages/islands-plugin.mjs +6 -2
- 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-CiYeZmc5.mjs → platform-args-DtpHS_75.mjs} +1 -1
- package/dist/{platform-auth-config-Dt2qEc2w.mjs → platform-auth-config-fLwIS5VG.mjs} +3 -3
- package/dist/{platform-auth-protection-B7TaF-PZ.mjs → platform-auth-protection-BTRI_YwD.mjs} +2 -2
- package/dist/{platform-auth-recovery-suXSteJ6.mjs → platform-auth-recovery-DPK2Mvmo.mjs} +2 -2
- package/dist/{platform-cmd-DuAsIxbU.mjs → platform-cmd-BLy5uCa-.mjs} +1 -1
- package/dist/{platform-cmd-9rvYBBtr.mjs → platform-cmd-HS_FSthn.mjs} +5 -5
- package/dist/{platform-domain-DhH_vDr6.mjs → platform-domain-CHpcq_qg.mjs} +2 -2
- package/dist/{platform-lifecycle-3uI-E2bF.mjs → platform-lifecycle-B6LUBwjS.mjs} +1 -1
- package/dist/{platform-lifecycle-CXmXe2xt.mjs → platform-lifecycle-D2RS7DE0.mjs} +236 -26
- package/dist/{platform-management-PdrgDQTe.mjs → platform-management-C-T0ch4y.mjs} +1 -1
- package/dist/{platform-management-BBCHfwji.mjs → platform-management-d3ETv3Dw.mjs} +14 -14
- package/dist/{platform-plans-config-BGwkXYDM.mjs → platform-plans-config-B7yJQKf7.mjs} +114 -30
- package/dist/{platform-recovery-C8NxXGRR.mjs → platform-recovery-DS5CAsly.mjs} +2 -2
- package/dist/{plugin-inference-CErfTgEx.mjs → plugin-inference-DZHmVe1f.mjs} +3 -3
- package/dist/{prepare-BDKWZgfL.mjs → prepare-AVM4Hj3T.mjs} +8 -8
- package/dist/prepare-BSXKz6m8.mjs +1 -0
- package/dist/{prepare-BLrzXjIl.mjs → prepare-DMk8NAO-.mjs} +1 -1
- package/dist/{project-cmd-DzGvxXKH.mjs → project-cmd-TQKAOTMV.mjs} +15 -15
- package/dist/{project-paths-G0yut6Zz.mjs → project-paths-CUhCPMpK.mjs} +33 -2
- package/dist/{project-team-C5XtHbZk.mjs → project-team-B1OKeb-T.mjs} +1 -1
- package/dist/{project-token-B4D5yhHQ.mjs → project-token-RW_wpmN-.mjs} +1 -1
- package/dist/{project-tsconfig-nhnTWO_Y.mjs → project-tsconfig-MyRJgufB.mjs} +1 -1
- package/dist/{project-zero-trust--0LvktDg.mjs → project-zero-trust-TNc66p0_.mjs} +1 -1
- package/dist/{protocol-Cg2I81NA.d.mts → protocol-YS3tbxWE.d.mts} +2 -2
- package/dist/{protocol-B1Tvc9-x.mjs → protocol-a3ZUQq5W.mjs} +56 -20
- package/dist/{provision-CAcrauvr.mjs → provision-BLdkpFT4.mjs} +1 -1
- package/dist/{provision-C3yiHdld.mjs → provision-bgQTi5QZ.mjs} +2 -2
- package/dist/redirect-Dqb4fEc5.mjs +80 -0
- package/dist/{requests-CrRiTgQA.mjs → requests-Cj15-yrI.mjs} +1 -1
- package/dist/{rollback-BsmQyj-Q.mjs → rollback-CYnkng7B.mjs} +2 -2
- package/dist/{route-types-CgtlFCDz.mjs → route-types-C6eAOmOj.mjs} +1 -1
- 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/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 +2 -2
- package/dist/runtime/routing.mjs +6 -5
- 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-BJ3bj6aP.mjs → scan-4YOxDaw2.mjs} +2 -2
- package/dist/{secret-D0g5oBsP.mjs → secret-BSf7dgg_.mjs} +3 -3
- package/dist/{action-key-ByZ6DDld.mjs → url-DaehRGKR.mjs} +43 -1
- 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-CVMZarxf.mjs → wrapper-xJ4LP5A7.mjs} +3 -3
- package/dist/{ws--U7QicYy.d.mts → ws-C2zy0QBf.d.mts} +2 -2
- package/docs/guide/ai.md +1 -1
- package/docs/guide/app-types.md +1 -1
- package/docs/guide/auth.md +24 -27
- package/docs/guide/database/d1.md +4 -2
- package/docs/guide/database.md +29 -27
- package/docs/guide/deployment.md +2 -2
- package/docs/guide/edge/headers.md +3 -3
- package/docs/guide/edge/prerendering.md +5 -5
- package/docs/guide/edge/redirects.md +1 -1
- package/docs/guide/edge/revalidation.md +4 -2
- package/docs/guide/edge/rewrites.md +1 -1
- package/docs/guide/edge/static-assets.md +4 -0
- package/docs/guide/email/sending.md +4 -2
- package/docs/guide/live.md +1 -1
- package/docs/guide/pages-routing/actions-and-forms.md +25 -7
- package/docs/guide/pages-routing/errors.md +17 -9
- package/docs/guide/pages-routing/head.md +44 -1
- package/docs/guide/pages-routing/islands.md +3 -1
- package/docs/guide/pages-routing/layouts.md +2 -2
- package/docs/guide/pages-routing/loaders.md +3 -1
- package/docs/guide/pages-routing/markdown.md +5 -3
- package/docs/guide/pages-routing/overview.md +14 -21
- package/docs/guide/platform/administration/connected-apps.md +10 -3
- package/docs/guide/platform/administration/email.md +1 -1
- package/docs/guide/platform/administration/plans.md +34 -1
- package/docs/guide/platform/administration/projects.md +6 -2
- package/docs/guide/platform/installation/credentials.md +12 -10
- package/docs/guide/platform/installation/maintenance.md +7 -1
- package/docs/guide/platform/installation/setup.md +8 -7
- package/docs/guide/queues.md +1 -1
- package/docs/guide/server-routing.md +2 -2
- package/docs/guide/sse.md +1 -1
- package/docs/guide/ssg.md +17 -6
- package/docs/guide/storage.md +1 -1
- package/docs/guide/testing.md +9 -7
- package/docs/guide/type-safety.md +23 -21
- package/docs/integrations/cloudflare.md +6 -2
- package/docs/integrations/frameworks/nuxt.md +1 -1
- package/docs/integrations/hono.md +21 -0
- package/docs/integrations/nodejs-bun-deno.md +4 -4
- package/docs/reference/api/auth.md +22 -4
- package/docs/reference/api/database.md +2 -2
- package/docs/reference/api/pages.md +17 -13
- package/docs/reference/api/resources.md +1 -1
- package/docs/reference/api/rewrites.md +8 -4
- package/docs/reference/api.md +1 -1
- package/docs/reference/cli/deploy.md +4 -2
- package/docs/reference/cli/platform-config.md +3 -3
- package/docs/reference/cli/platform-users.md +58 -11
- package/docs/reference/cli.md +1 -1
- package/docs/reference/config.md +7 -3
- package/package.json +7 -7
- package/skills/void/SKILL.md +1 -1
- package/dist/client-D1Vz1Zep.mjs +0 -1
- package/dist/deploy-DMieisRu.mjs +0 -2
- package/dist/discover-1DJD4YXD.mjs +0 -1
- package/dist/gen-M5fNQKfH.mjs +0 -1
- package/dist/help-CItQVDL4.mjs +0 -1
- package/dist/load-user-env-CSwdofj0.mjs +0 -48
- package/dist/login-ZHsAm-I6.mjs +0 -1
- package/dist/migrate-BflbbZQK.mjs +0 -1
- package/dist/operator-cmd-D6qNuJ_z.mjs +0 -1
- package/dist/platform-args-DJvF1-kl.mjs +0 -1
- package/dist/prepare-a1_5usAn.mjs +0 -1
- package/dist/url-CuoEn0o3.mjs +0 -43
- package/dist/wrangler-R3kMdJfw.mjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
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
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-
|
|
13
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
14
|
+
import { n as formatTimestamp } from "./gen-DimkGNve.mjs";
|
|
15
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";
|
|
@@ -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,5 +1,5 @@
|
|
|
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
5
|
const DRIZZLE_TYPES = "AnyColumn, SQL, SQLWrapper, BatchItem";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
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
6
|
import { a as resolveProjectBySlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import { n as __toESM, t as __commonJSMin } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
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
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
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-
|
|
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
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
53
|
import { t as getRequestedProjectSlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
54
54
|
import { createRequire } from "node:module";
|
|
@@ -4068,6 +4068,7 @@ async function prepareCloudflareFrameworkArtifact(options) {
|
|
|
4068
4068
|
...ai,
|
|
4069
4069
|
gateway: voidConfig.ai?.gateway
|
|
4070
4070
|
} } : {},
|
|
4071
|
+
runWorkerFirst: voidConfig.cloudflare?.assets?.run_worker_first ?? [...VOID_INTERNAL_WORKER_FIRST],
|
|
4071
4072
|
...preset.workerDir === preset.assetsDir ? { assetsIgnore: [
|
|
4072
4073
|
preset.workerMain,
|
|
4073
4074
|
"_routes.json",
|
|
@@ -6804,32 +6805,6 @@ async function runDeploy(root, options) {
|
|
|
6804
6805
|
const deployTargets = {
|
|
6805
6806
|
cloudflare: {
|
|
6806
6807
|
target: "cloudflare",
|
|
6807
|
-
capabilities: {
|
|
6808
|
-
managedProjects: false,
|
|
6809
|
-
skipBuild: true,
|
|
6810
|
-
appTypes: {
|
|
6811
|
-
void: "supported",
|
|
6812
|
-
spa: "supported",
|
|
6813
|
-
static: "supported",
|
|
6814
|
-
framework: "supported"
|
|
6815
|
-
},
|
|
6816
|
-
features: {
|
|
6817
|
-
auth: "supported",
|
|
6818
|
-
cron: "supported",
|
|
6819
|
-
queues: "supported",
|
|
6820
|
-
durableState: "supported",
|
|
6821
|
-
webSockets: "supported",
|
|
6822
|
-
live: "supported",
|
|
6823
|
-
sandbox: "supported",
|
|
6824
|
-
isr: "supported",
|
|
6825
|
-
remoteDevelopment: "unsupported",
|
|
6826
|
-
deploymentHistory: "supported",
|
|
6827
|
-
rollback: "supported",
|
|
6828
|
-
secrets: "supported",
|
|
6829
|
-
domains: "supported",
|
|
6830
|
-
logs: "partial"
|
|
6831
|
-
}
|
|
6832
|
-
},
|
|
6833
6808
|
async deploy(root, options, cliLog) {
|
|
6834
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.");
|
|
6835
6810
|
assertInstalledVoidMatchesCli(root);
|
|
@@ -6839,32 +6814,6 @@ const deployTargets = {
|
|
|
6839
6814
|
},
|
|
6840
6815
|
void: {
|
|
6841
6816
|
target: "void",
|
|
6842
|
-
capabilities: {
|
|
6843
|
-
managedProjects: true,
|
|
6844
|
-
skipBuild: true,
|
|
6845
|
-
appTypes: {
|
|
6846
|
-
void: "supported",
|
|
6847
|
-
spa: "supported",
|
|
6848
|
-
static: "supported",
|
|
6849
|
-
framework: "supported"
|
|
6850
|
-
},
|
|
6851
|
-
features: {
|
|
6852
|
-
auth: "supported",
|
|
6853
|
-
cron: "supported",
|
|
6854
|
-
queues: "supported",
|
|
6855
|
-
durableState: "unsupported",
|
|
6856
|
-
webSockets: "supported",
|
|
6857
|
-
live: "supported",
|
|
6858
|
-
sandbox: "supported",
|
|
6859
|
-
isr: "supported",
|
|
6860
|
-
remoteDevelopment: "supported",
|
|
6861
|
-
deploymentHistory: "supported",
|
|
6862
|
-
rollback: "supported",
|
|
6863
|
-
secrets: "supported",
|
|
6864
|
-
domains: "supported",
|
|
6865
|
-
logs: "supported"
|
|
6866
|
-
}
|
|
6867
|
-
},
|
|
6868
6817
|
deploy: runManagedDeploy
|
|
6869
6818
|
}
|
|
6870
6819
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname, r as extname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { h as needsApplicationDatabase } from "./plugin-inference-
|
|
3
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
4
|
-
import { t as discoverSchema } from "./discover-
|
|
5
|
-
import { u as isNodeTarget } from "./config-
|
|
2
|
+
import { h as needsApplicationDatabase } from "./plugin-inference-DZHmVe1f.mjs";
|
|
3
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
4
|
+
import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
5
|
+
import { u as isNodeTarget } from "./config-CzFdJYNA.mjs";
|
|
6
6
|
import { t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
7
|
-
import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-
|
|
7
|
+
import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-Q0kZDpk8.mjs";
|
|
8
8
|
import { s as shouldLinkDeployProject, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
9
|
-
import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-
|
|
9
|
+
import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-B1gkT_wC.mjs";
|
|
10
10
|
import { n as buildMigrationPlanBundle } from "./plan-BOD70XGS.mjs";
|
|
11
11
|
import { l as getTokenSource } from "./auth-CCk9Seol.mjs";
|
|
12
|
-
import { t as findEnvFile } from "./env-types-
|
|
12
|
+
import { t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
13
13
|
import { i as collectFiles, t as collectPages } from "./isr-config-Czzb4mIq.mjs";
|
|
14
|
-
import { a as buildEnv } from "./version-metadata-
|
|
15
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-
|
|
14
|
+
import { a as buildEnv } from "./version-metadata-CeftH0fQ.mjs";
|
|
15
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DlWQ_hIJ.mjs";
|
|
16
16
|
import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
17
17
|
import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
18
18
|
import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-zEwuGrEJ.mjs";
|
|
19
|
-
import { c as
|
|
19
|
+
import { c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError } from "./client-D6w5x7hM.mjs";
|
|
20
20
|
import { f as import_picocolors, h as sanitizeTerminalText, m as printSuccess, o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-DNVILSz2.mjs";
|
|
21
|
-
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-
|
|
22
|
-
import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-
|
|
23
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-
|
|
24
|
-
import { a as needsWrapper, i as generateWrapper } from "./wrapper-
|
|
21
|
+
import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-BaUzZnLZ.mjs";
|
|
22
|
+
import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
23
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-DeYNRp1d.mjs";
|
|
24
|
+
import { a as needsWrapper, i as generateWrapper } from "./wrapper-xJ4LP5A7.mjs";
|
|
25
25
|
import { n as drizzleKitBin } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
26
|
-
import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-
|
|
26
|
+
import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-BpKBs_KR.mjs";
|
|
27
27
|
import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync } from "node:fs";
|
|
28
28
|
import { createDeployArtifact, createDeployUploadPayload } from "@void/deploy-core";
|
|
29
29
|
import { createHash } from "node:crypto";
|
|
@@ -595,11 +595,11 @@ function formatStreamDeployError(err, deploymentId, logPath) {
|
|
|
595
595
|
}
|
|
596
596
|
/**
|
|
597
597
|
* Maximum retry attempts for a single R2 PUT before giving up. Matched to
|
|
598
|
-
* the design doc 0068 spec
|
|
598
|
+
* the design doc 0068 spec, with rate limits retried alongside 5xx errors.
|
|
599
599
|
*/
|
|
600
600
|
const MAX_R2_PUT_RETRIES = 3;
|
|
601
601
|
/**
|
|
602
|
-
* Retry backoff delays in milliseconds. After attempt `i` fails
|
|
602
|
+
* Retry backoff delays in milliseconds. After transient attempt `i` fails we
|
|
603
603
|
* sleep `RETRY_BACKOFF_MS[i]` before retrying. Indexed from 0; once the
|
|
604
604
|
* array is exhausted we surface the error.
|
|
605
605
|
*/
|
|
@@ -630,7 +630,7 @@ var DirectR2PutError = class extends Error {
|
|
|
630
630
|
/**
|
|
631
631
|
* Issue direct-to-R2 PUTs for every item in `items` (assets or Worker
|
|
632
632
|
* modules), bounded to `R2_PUT_CONCURRENCY`. Surfaces the first failure
|
|
633
|
-
* (
|
|
633
|
+
* (429/5xx after retry exhaustion, other 4xx immediately) as a `DirectR2PutError`
|
|
634
634
|
* carrying the item path and hash so the user can correlate against the
|
|
635
635
|
* JSONL log.
|
|
636
636
|
*
|
|
@@ -714,7 +714,7 @@ async function uploadOne(item, cliLog, fetchImpl) {
|
|
|
714
714
|
return;
|
|
715
715
|
}
|
|
716
716
|
const errBody = await safeReadText(res);
|
|
717
|
-
if (res.status >= 500 && attempt < MAX_R2_PUT_RETRIES) {
|
|
717
|
+
if ((res.status === 429 || res.status >= 500) && attempt < MAX_R2_PUT_RETRIES) {
|
|
718
718
|
cliLog?.warn("r2_put_retry", {
|
|
719
719
|
hash: item.hash,
|
|
720
720
|
path: item.path,
|
|
@@ -722,7 +722,7 @@ async function uploadOne(item, cliLog, fetchImpl) {
|
|
|
722
722
|
status: res.status,
|
|
723
723
|
body: truncate(errBody)
|
|
724
724
|
});
|
|
725
|
-
await sleep(RETRY_BACKOFF_MS[attempt]);
|
|
725
|
+
await sleep(res.status === 429 ? Math.max(1e3, RETRY_BACKOFF_MS[attempt]) : RETRY_BACKOFF_MS[attempt]);
|
|
726
726
|
attempt++;
|
|
727
727
|
continue;
|
|
728
728
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
3
3
|
import { t as CLOUDFLARE_DEPLOY_BUILD_ENV } from "./env-UqS-21xi.mjs";
|
|
4
|
-
import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-
|
|
5
|
-
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-
|
|
4
|
+
import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-CeftH0fQ.mjs";
|
|
5
|
+
import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-bgQTi5QZ.mjs";
|
|
6
6
|
import { readWranglerTopLevelString } from "@void/deploy-cloudflare";
|
|
7
7
|
// src/cli/deploy-transport.ts
|
|
8
8
|
/**
|
package/dist/deploy.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as join, c as resolve } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { t as analyzeApplication } from "./application-routing-
|
|
3
|
-
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-
|
|
2
|
+
import { t as analyzeApplication } from "./application-routing-CJRlXCc2.mjs";
|
|
3
|
+
import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-Q0kZDpk8.mjs";
|
|
4
4
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName } from "./isr-config-Czzb4mIq.mjs";
|
|
5
5
|
import { t as prepareCfBuildOutput$1 } from "./cf-build-output-CWNOH-KA.mjs";
|
|
6
|
-
import { I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, R as validateDeployMigrations, a as collectAndHashAssets, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, i as buildStaticManifest, o as collectWorkerFiles, t as assembleVoidManifest, x as assertWorkerMainUploaded } from "./deploy-managed-static-
|
|
7
|
-
import { o as detectPreset } from "./cloudflare-process-
|
|
8
|
-
import { p as readConfig, u as isNodeTarget } from "./config-
|
|
6
|
+
import { I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, R as validateDeployMigrations, a as collectAndHashAssets, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, i as buildStaticManifest, o as collectWorkerFiles, t as assembleVoidManifest, x as assertWorkerMainUploaded } from "./deploy-managed-static-Kn73R83A.mjs";
|
|
7
|
+
import { o as detectPreset } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
8
|
+
import { p as readConfig, u as isNodeTarget } from "./config-CzFdJYNA.mjs";
|
|
9
9
|
import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
|
|
10
|
-
import { o as validateSsrEntry } from "./entry-
|
|
10
|
+
import { o as validateSsrEntry } from "./entry-DMgR7XOf.mjs";
|
|
11
11
|
import { existsSync } from "node:fs";
|
|
12
12
|
import { createDeployArtifact } from "@void/deploy-core";
|
|
13
13
|
// src/deploy.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
2
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
3
3
|
import { existsSync, statSync } from "node:fs";
|
|
4
4
|
// src/drizzle/discover.ts
|
|
5
5
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as join, i as isAbsolute, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-
|
|
3
|
-
import { t as discoverSchema } from "./discover-
|
|
4
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-
|
|
2
|
+
import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
3
|
+
import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
|
|
4
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
5
5
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
6
|
-
import { n as ensureProjectTsconfig } from "./project-tsconfig-
|
|
6
|
+
import { n as ensureProjectTsconfig } from "./project-tsconfig-MyRJgufB.mjs";
|
|
7
7
|
import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV } from "./env-UqS-21xi.mjs";
|
|
8
|
-
import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-
|
|
8
|
+
import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-BpPYAx0B.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
11
11
|
import { normalizePath } from "vite";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as log } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
3
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
4
|
import { f as import_picocolors, m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
5
5
|
import { n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
|
|
6
6
|
import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
|
|
@@ -25,7 +25,7 @@ async function runDomainCommand(root, args) {
|
|
|
25
25
|
}
|
|
26
26
|
async function runCloudflareDomainCommand(root, args) {
|
|
27
27
|
if (args.projectSlug) throw new Error("domain: --project selects a Void platform project and is not used for direct Cloudflare apps.");
|
|
28
|
-
const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-
|
|
28
|
+
const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
29
29
|
if (args.subcommand === "add") {
|
|
30
30
|
const result = await changeCloudflareDomain(root, args.hostname, "add");
|
|
31
31
|
note("Cloudflare Custom Domains manages the DNS record and TLS certificate in the zone on your account.", "Cloudflare Domain");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { A as confirm, L as log, U as password, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { p as readConfig } from "./config-
|
|
4
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
3
|
+
import { p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
4
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
5
5
|
import { i as scanEmailHandlersSync } from "./email-BHY72ixO.mjs";
|
|
6
6
|
import { c as getToken, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
7
|
-
import { n as PlatformApiError, r as PlatformClient } from "./client-
|
|
8
|
-
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-
|
|
9
|
-
import { a as emailConfigInputs, c as renderAddressMap, i as createNodeEmailDns, l as renderEmailChecklist, o as preflightEmail, r as applyEmailSetup, s as probeMx } from "./email-cloudflare-
|
|
7
|
+
import { n as PlatformApiError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
8
|
+
import { a as discoverRootWranglerConfig, c as runWranglerAuthToken, l as deriveWorkerName, o as createDeployWranglerRunner, s as isWranglerNonInteractiveOrCI } from "./deploy-Dyeo5soA.mjs";
|
|
9
|
+
import { a as emailConfigInputs, c as renderAddressMap, i as createNodeEmailDns, l as renderEmailChecklist, o as preflightEmail, r as applyEmailSetup, s as probeMx } from "./email-cloudflare-DAGpgzY1.mjs";
|
|
10
10
|
import { f as import_picocolors, l as formatUrl, m as printSuccess, p as note, r as createSpinner } from "./output-DNVILSz2.mjs";
|
|
11
11
|
import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
|
|
12
|
-
import { o as resolveDeployTransport } from "./deploy-transport-
|
|
13
|
-
import { M as writeProvisionedWranglerConfig } from "./wrangler-
|
|
12
|
+
import { o as resolveDeployTransport } from "./deploy-transport-BpKBs_KR.mjs";
|
|
13
|
+
import { M as writeProvisionedWranglerConfig } from "./wrangler-B1gkT_wC.mjs";
|
|
14
14
|
import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
15
15
|
import { tmpdir } from "node:os";
|
|
16
16
|
import { execSync } from "node:child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
3
3
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
4
|
-
import { p as readConfig } from "./config-
|
|
4
|
+
import { p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
5
5
|
import { i as voidWarn, r as voidLog } from "./log-D9hwSySP.mjs";
|
|
6
6
|
import { i as readProjectIdField } from "./project-CLwxcEdq.mjs";
|
|
7
|
-
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-
|
|
7
|
+
import { p as findBindingNameOwner, u as ensureWranglerCompat } from "./wrangler-B1gkT_wC.mjs";
|
|
8
8
|
import { n as scopedAccessCredentials } from "./cf-access-pejlJmuy.mjs";
|
|
9
9
|
import { n as ensurePlatformProxyAccess } from "./cf-access-Dnyw8KFY.mjs";
|
|
10
10
|
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
@@ -12,7 +12,7 @@ import { d as stripInternalEnvKeys } from "./env-UqS-21xi.mjs";
|
|
|
12
12
|
import { i as collectFiles } from "./isr-config-Czzb4mIq.mjs";
|
|
13
13
|
import { a as renderPrerenderPaths, i as renderBoundary404, n as outputFileForPath, r as readPrerenderPathsResponse } from "./prerender-render-BAdYhivW.mjs";
|
|
14
14
|
import { t as renderDefaultErrorPage } from "./error-pages-COVBnzK7.mjs";
|
|
15
|
-
import { a as buildEnv } from "./version-metadata-
|
|
15
|
+
import { a as buildEnv } from "./version-metadata-CeftH0fQ.mjs";
|
|
16
16
|
import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
|
|
17
17
|
import { isRecord } from "@void/deploy-core";
|
|
18
18
|
import { execFile } from "node:child_process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
2
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
3
3
|
import { a as unwrapStaticExpression, o as bindingNames, s as bindingResolver } from "./static-exports-DFkzL-NX.mjs";
|
|
4
4
|
import { n as isIdentifier, o as moduleExportName } from "./ast-Cv0JwXqb.mjs";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { H as outro, L as log } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-
|
|
3
|
+
import { r as generateEnvTypes, t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
4
4
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
5
|
-
import { r as PlatformClient } from "./client-
|
|
6
|
-
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-
|
|
5
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
6
|
+
import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-DeYNRp1d.mjs";
|
|
7
7
|
import { m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
8
8
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
9
9
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -25,7 +25,7 @@ async function runCheck(root, useRemoteSecrets) {
|
|
|
25
25
|
const platform = readDeploymentPlatform(root);
|
|
26
26
|
if (platform === "none") throw new Error("env: Deployment is disabled. Run `void init` to choose a platform.");
|
|
27
27
|
if (platform === "cloudflare") {
|
|
28
|
-
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-
|
|
28
|
+
const { listCloudflareSecrets, resolveCloudflareOperationContext } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
29
29
|
remoteSecrets = await listCloudflareSecrets(resolveCloudflareOperationContext(root));
|
|
30
30
|
} else {
|
|
31
31
|
const token = getToken(root);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
2
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
3
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
3
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
// src/codegen/env-types.ts
|
|
6
6
|
/** Roots already warned about duplicate env.ts files — dedupes noisy repeat calls. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-
|
|
1
|
+
export { r as SelfHostSchemaError, a as computeInvalidEmittedKeys, c as deriveSelfHostSchemaFacts, p as readEmittedWorkerVars } from "./env-validation-DeYNRp1d.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as join, c as resolve, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { t as findEnvFile } from "./env-types-
|
|
3
|
-
import { t as loadUserEnvFile } from "./load-user-env-
|
|
2
|
+
import { t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
3
|
+
import { t as loadUserEnvFile } from "./load-user-env-ztmIyiLx.mjs";
|
|
4
4
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
5
5
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
6
6
|
import { a as findReservedEnvKeys, c as loadLocalEnv, i as findLegacyEnvFiles, l as reservedEnvKeysMessage, o as isClientEnvKey, r as LOCAL_ENV_FILE, s as legacyEnvExampleHint } from "./env-UqS-21xi.mjs";
|
|
7
|
-
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-
|
|
7
|
+
import { l as resolveCloudflareOperationArgv, n as decodeCloudflareOperationResult, r as encodeCloudflareOperation } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
8
8
|
import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
9
9
|
import { existsSync, readFileSync } from "node:fs";
|
|
10
10
|
import { spawn } from "node:child_process";
|