void 1.8.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-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-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-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 +23 -23
- 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-B1Tvc9-x.mjs → protocol-IPSWHolJ.mjs} +54 -19
- package/dist/{protocol-Cg2I81NA.d.mts → protocol-YS3tbxWE.d.mts} +2 -2
- 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 +22 -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,11 +1,11 @@
|
|
|
1
1
|
import { K as select, L as log, O as cancel, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { l as getDatabaseDialect, p as readConfig } from "./config-
|
|
4
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-
|
|
3
|
+
import { l as getDatabaseDialect, p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
4
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DlWQ_hIJ.mjs";
|
|
5
5
|
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
6
6
|
import { n as readJournal, t as collectMigrations } from "./collect-C6Blu9yw.mjs";
|
|
7
7
|
import { t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
|
|
8
|
-
import { n as readProjectPaths } from "./project-paths-
|
|
8
|
+
import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
|
|
9
9
|
import { m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
10
10
|
import { n as drizzleKitBin, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
@@ -329,7 +329,7 @@ async function runModel(root, name, columns) {
|
|
|
329
329
|
const existing = readFileSync(barrelPath, "utf-8");
|
|
330
330
|
if (!existing.includes(exportLine)) writeFileSync(barrelPath, existing.trimEnd() + "\n" + exportLine + "\n");
|
|
331
331
|
} else writeFileSync(barrelPath, exportLine + "\n");
|
|
332
|
-
const { prepareProject } = await import("./prepare-
|
|
332
|
+
const { prepareProject } = await import("./prepare-BSXKz6m8.mjs");
|
|
333
333
|
await prepareProject(root);
|
|
334
334
|
log.step(`Created ${relative(root, modelPath)}`);
|
|
335
335
|
log.step(`Updated ${relative(root, barrelPath)}`);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runGenCommand } from "./gen-DimkGNve.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { c as platformErrorMessage, n as PlatformApiError, r as PlatformClient
|
|
3
|
+
import { c as parsePlatformErrorBody, l as platformErrorMessage, n as PlatformApiError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
4
|
import { t as collectGitDeployMetadata } from "./git-metadata-Cukp5kV5.mjs";
|
|
5
5
|
import { f as import_picocolors, l as formatUrl, m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
6
6
|
import { r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as VoidPlatformSandbox } from "./sandbox-DE1WsxuB.mjs";
|
|
2
|
-
import { n as HeadDescriptor } from "./head-
|
|
3
|
-
import { i as AuthUser, n as AuthSession } from "./auth-
|
|
2
|
+
import { n as HeadDescriptor, t as HeadConfig } from "./head-CVO92KEx.mjs";
|
|
3
|
+
import { i as AuthUser, n as AuthSession } from "./auth-CV9kXHKe.mjs";
|
|
4
4
|
import { u as TypedRoutes } from "./route-url-C3JwYrER.mjs";
|
|
5
5
|
import { t as DevCssAsset } from "./types-IPut3_Yx.mjs";
|
|
6
6
|
import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
|
|
@@ -146,7 +146,7 @@ type RewritePath = TypedRoutes extends true ? RouteUrl : RewriteDestination;
|
|
|
146
146
|
interface CloudContextVariables {
|
|
147
147
|
user: AuthUser | null;
|
|
148
148
|
session: AuthSession | null;
|
|
149
|
-
headDefaults?:
|
|
149
|
+
headDefaults?: HeadConfig;
|
|
150
150
|
[key: string]: unknown;
|
|
151
151
|
}
|
|
152
152
|
declare global {
|
|
@@ -28,16 +28,27 @@ type HeadConfig = HeadDescriptor & {
|
|
|
28
28
|
/**
|
|
29
29
|
* Merge head descriptors with precedence: page > middleware > config.
|
|
30
30
|
*
|
|
31
|
-
* - `title`: page wins; `titleTemplate` from config wraps it (`%s` replaced)
|
|
31
|
+
* - `title`: page wins; `titleTemplate` from middleware, else config, wraps it (`%s` replaced)
|
|
32
32
|
* - `meta`: page overrides entries with same `name`/`property`; others appended
|
|
33
33
|
* - `link`/`script`: concatenated (config first, then middleware, then page)
|
|
34
34
|
* - `htmlAttrs`/`bodyAttrs`: shallow merge, page wins conflicts
|
|
35
35
|
*/
|
|
36
|
-
declare function resolveHead(configHead: HeadConfig | undefined, middlewareHead:
|
|
36
|
+
declare function resolveHead(configHead: HeadConfig | undefined, middlewareHead: HeadConfig | undefined, pageHead: HeadDescriptor | undefined): HeadDescriptor | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Resolve relative values of the meta tags that must be absolute against the
|
|
39
|
+
* request URL. Config, middleware and page layers all end up here after
|
|
40
|
+
* merging, so a root-relative `og:image` becomes a URL social crawlers accept
|
|
41
|
+
* without the app having to know its own origin.
|
|
42
|
+
*
|
|
43
|
+
* `requestUrl` is undefined while prerendering, which runs on a placeholder
|
|
44
|
+
* origin: baking that origin into the built HTML would be worse than the
|
|
45
|
+
* relative value, so the tags stay as written.
|
|
46
|
+
*/
|
|
47
|
+
declare function absolutizeHead(head: HeadDescriptor | undefined, requestUrl: string | undefined): HeadDescriptor | undefined;
|
|
37
48
|
/** Serialize a HeadDescriptor to HTML tags for injection into `<head>`. */
|
|
38
49
|
declare function renderHeadToString(head: HeadDescriptor): string;
|
|
39
50
|
/** Serialize htmlAttrs to an attribute string (includes leading space). */
|
|
40
51
|
declare function renderHtmlAttrs(head: HeadDescriptor): string;
|
|
41
52
|
/** Serialize bodyAttrs to an attribute string (includes leading space). */
|
|
42
53
|
declare function renderBodyAttrs(head: HeadDescriptor): string;
|
|
43
|
-
export {
|
|
54
|
+
export { renderHeadToString as a, renderBodyAttrs as i, HeadDescriptor as n, renderHtmlAttrs as o, absolutizeHead as r, resolveHead as s, HeadConfig as t };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Merge head descriptors with precedence: page > middleware > config.
|
|
4
4
|
*
|
|
5
|
-
* - `title`: page wins; `titleTemplate` from config wraps it (`%s` replaced)
|
|
5
|
+
* - `title`: page wins; `titleTemplate` from middleware, else config, wraps it (`%s` replaced)
|
|
6
6
|
* - `meta`: page overrides entries with same `name`/`property`; others appended
|
|
7
7
|
* - `link`/`script`: concatenated (config first, then middleware, then page)
|
|
8
8
|
* - `htmlAttrs`/`bodyAttrs`: shallow merge, page wins conflicts
|
|
@@ -17,7 +17,7 @@ function resolveHead(configHead, middlewareHead, pageHead) {
|
|
|
17
17
|
const result = {};
|
|
18
18
|
const title = pageHead?.title ?? middlewareHead?.title ?? configHead?.title;
|
|
19
19
|
if (title !== void 0) {
|
|
20
|
-
const template = configHead?.titleTemplate;
|
|
20
|
+
const template = middlewareHead?.titleTemplate ?? configHead?.titleTemplate;
|
|
21
21
|
result.title = template ? template.replace("%s", title) : title;
|
|
22
22
|
}
|
|
23
23
|
const metaMap = /* @__PURE__ */ new Map();
|
|
@@ -55,6 +55,65 @@ function escapeHtml(s) {
|
|
|
55
55
|
function serializeAttrs(attrs) {
|
|
56
56
|
return Object.entries(attrs).filter(([, value]) => value != null).map(([key, value]) => `${key}="${escapeHtml(value)}"`).join(" ");
|
|
57
57
|
}
|
|
58
|
+
/** Meta tags that only work as an absolute URL, so crawlers can read them. */
|
|
59
|
+
const ABSOLUTE_URL_META = /* @__PURE__ */ new Set([
|
|
60
|
+
"og:image",
|
|
61
|
+
"og:image:url",
|
|
62
|
+
"og:image:secure_url",
|
|
63
|
+
"og:video",
|
|
64
|
+
"og:video:url",
|
|
65
|
+
"og:video:secure_url",
|
|
66
|
+
"og:audio",
|
|
67
|
+
"og:audio:url",
|
|
68
|
+
"og:audio:secure_url",
|
|
69
|
+
"og:url",
|
|
70
|
+
"twitter:image"
|
|
71
|
+
]);
|
|
72
|
+
/** Any scheme, or a protocol-relative `//host/path`, is already absolute. */
|
|
73
|
+
function isAbsoluteUrl(value) {
|
|
74
|
+
return value.startsWith("//") || /^[a-z][a-z\d+.-]*:/i.test(value);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Resolve relative values of the meta tags that must be absolute against the
|
|
78
|
+
* request URL. Config, middleware and page layers all end up here after
|
|
79
|
+
* merging, so a root-relative `og:image` becomes a URL social crawlers accept
|
|
80
|
+
* without the app having to know its own origin.
|
|
81
|
+
*
|
|
82
|
+
* `requestUrl` is undefined while prerendering, which runs on a placeholder
|
|
83
|
+
* origin: baking that origin into the built HTML would be worse than the
|
|
84
|
+
* relative value, so the tags stay as written.
|
|
85
|
+
*/
|
|
86
|
+
function absolutizeHead(head, requestUrl) {
|
|
87
|
+
const entries = head?.meta;
|
|
88
|
+
if (!entries?.length || requestUrl === void 0) return head;
|
|
89
|
+
let base;
|
|
90
|
+
try {
|
|
91
|
+
base = new URL(requestUrl);
|
|
92
|
+
} catch {
|
|
93
|
+
return head;
|
|
94
|
+
}
|
|
95
|
+
let meta;
|
|
96
|
+
for (const [index, entry] of entries.entries()) {
|
|
97
|
+
const key = entry.property ?? entry.name;
|
|
98
|
+
const content = entry.content;
|
|
99
|
+
if (!key || !content || !ABSOLUTE_URL_META.has(key) || isAbsoluteUrl(content)) continue;
|
|
100
|
+
let resolved;
|
|
101
|
+
try {
|
|
102
|
+
resolved = new URL(content, base).href;
|
|
103
|
+
} catch {
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
meta ??= [...entries];
|
|
107
|
+
meta[index] = {
|
|
108
|
+
...entry,
|
|
109
|
+
content: resolved
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
return meta ? {
|
|
113
|
+
...head,
|
|
114
|
+
meta
|
|
115
|
+
} : head;
|
|
116
|
+
}
|
|
58
117
|
/** Serialize a HeadDescriptor to HTML tags for injection into `<head>`. */
|
|
59
118
|
function renderHeadToString(head) {
|
|
60
119
|
const parts = [];
|
|
@@ -86,4 +145,4 @@ function renderBodyAttrs(head) {
|
|
|
86
145
|
const attrs = head.bodyAttrs ? serializeAttrs(head.bodyAttrs) : "";
|
|
87
146
|
return attrs ? " " + attrs : "";
|
|
88
147
|
}
|
|
89
|
-
export { resolveHead as i,
|
|
148
|
+
export { resolveHead as a, renderHtmlAttrs as i, renderBodyAttrs as n, renderHeadToString as r, absolutizeHead as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as join } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-
|
|
2
|
+
import { a as convertRewritesConfig, d as isProtocolRelative, f as parseHostPrefixedSource, i as convertRedirectsConfig, n as convertFallbacksConfig, o as countSplats, r as convertHeadersConfig, t as VALID_REDIRECT_STATUSES } from "./config-CzFdJYNA.mjs";
|
|
3
3
|
import { i as voidWarn } from "./log-D9hwSySP.mjs";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
// src/asset-routing.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as outro } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { n as getOwnVersion } from "./agents-DRo8gzni.mjs";
|
|
3
|
-
import { n as operatorGroups, t as operatorCommands } from "./operator-args-
|
|
3
|
+
import { n as operatorGroups, t as operatorCommands } from "./operator-args-BCCohcz3.mjs";
|
|
4
4
|
import { d as helpLine, f as import_picocolors, g as sectionTitle, l as formatUrl, p as note, t as categoryTitle } from "./output-DNVILSz2.mjs";
|
|
5
5
|
// src/cli/ascii.ts
|
|
6
6
|
const asciiArts = [
|
|
@@ -404,7 +404,7 @@ const HELP_TREE = {
|
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
command: "set <id>",
|
|
407
|
-
description: "Edit a plan name, limits, or
|
|
407
|
+
description: "Edit a plan name, limits, build size, or AI Gateway logging default"
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
command: "reset <id>",
|
|
@@ -428,7 +428,7 @@ const HELP_TREE = {
|
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
command: "sync",
|
|
431
|
-
description: "Continue pending account limit updates"
|
|
431
|
+
description: "Continue pending account limit and AI logging updates"
|
|
432
432
|
}
|
|
433
433
|
],
|
|
434
434
|
options: [
|
|
@@ -438,7 +438,7 @@ const HELP_TREE = {
|
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
command: "--file <path>",
|
|
441
|
-
description: "Read plan settings
|
|
441
|
+
description: "Read plan settings, partial limits, and aiLogging from JSON"
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
command: "--name <name>",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as printHelpPage } from "./help-Cgdcd-SG.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./handler-
|
|
2
|
-
import { i as AuthUser } from "./auth-
|
|
1
|
+
import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./handler-6fzr_ikp.mjs";
|
|
2
|
+
import { i as AuthUser } from "./auth-CV9kXHKe.mjs";
|
|
3
3
|
import { t as QueueMap } from "./queues-DdM42xXW.mjs";
|
|
4
|
-
import { n as HeadDescriptor } from "./head-
|
|
4
|
+
import { n as HeadDescriptor, t as HeadConfig } from "./head-CVO92KEx.mjs";
|
|
5
5
|
import { l as RouteEnvironment } from "./types-IPut3_Yx.mjs";
|
|
6
6
|
import { Plugin } from "vite";
|
|
7
7
|
import { convertToWranglerConfig } from "@cloudflare/config";
|
|
@@ -63,4 +63,4 @@ export declare function voidPlugin(options?: {
|
|
|
63
63
|
persistTo?: string;
|
|
64
64
|
auxiliaryWorkers?: Array<AuxiliaryWorkerConfig>;
|
|
65
65
|
}): Array<Plugin>;
|
|
66
|
-
export { type AuthUser, type BasicAuthOptions, type CloudBindings, type CloudContext, type CloudContextVariables, type CloudEnv, type Deferred, type DeferredState, type HandlerInput, type HeadDescriptor, type InferProps, type QueueBatch, type QueueMap, type QueueMessage, type QueueRetryOptions, type RenderAssetTags, type TypedHandler, type TypedQueueHandler, type ValidatorSlots, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|
|
66
|
+
export { type AuthUser, type BasicAuthOptions, type CloudBindings, type CloudContext, type CloudContextVariables, type CloudEnv, type Deferred, type DeferredState, type HandlerInput, type HeadConfig, type HeadDescriptor, type InferProps, type QueueBatch, type QueueMap, type QueueMessage, type QueueRetryOptions, type RenderAssetTags, type TypedHandler, type TypedQueueHandler, type ValidatorSlots, VoidAssetRewriteError, basicAuth, defer, defineHandler, defineHead, defineMiddleware, defineQueue, defineRender, defineScheduled };
|
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
2
|
import { a as join, c as resolve, i as isAbsolute, n as dirname, o as normalize, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
3
3
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
4
|
-
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, n as DEFAULT_SANDBOX_CLASS_NAME, p as scanJobsSync, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync, u as scanQueuesSync } from "./application-analysis-
|
|
5
|
-
import { l as inferBindingsFromSource, m as applyBindingOverrides, n as FRAMEWORK_SCAN_DIRS, t as DEFAULT_SCAN_DIRS, u as staticModuleReferences } from "./plugin-inference-
|
|
6
|
-
import { a as isAssetBypassRule, d as hasDocumentRoutes, l as edgeRulesNeedWorker, n as mergeRoutingRules, o as isGeneratedAssetHeaders, p as resolveAssetRoutingPolicy, s as resolveAssetWorkerBypass, t as lintRoutingPhases, u as hasApiRoutes } from "./headers-
|
|
4
|
+
import { a as hasSandboxSqliteMigration, c as sandboxContainerConfig, i as assertSandboxNamespaceConfig, n as DEFAULT_SANDBOX_CLASS_NAME, p as scanJobsSync, r as SANDBOX_MIGRATION_TAG, s as resolveSandboxConfig, t as analyzeApplicationSync, u as scanQueuesSync } from "./application-analysis-3VVsflWZ.mjs";
|
|
5
|
+
import { l as inferBindingsFromSource, m as applyBindingOverrides, n as FRAMEWORK_SCAN_DIRS, t as DEFAULT_SCAN_DIRS, u as staticModuleReferences } from "./plugin-inference-DZHmVe1f.mjs";
|
|
6
|
+
import { a as isAssetBypassRule, d as hasDocumentRoutes, l as edgeRulesNeedWorker, n as mergeRoutingRules, o as isGeneratedAssetHeaders, p as resolveAssetRoutingPolicy, s as resolveAssetWorkerBypass, t as lintRoutingPhases, u as hasApiRoutes } from "./headers-Q0kZDpk8.mjs";
|
|
7
7
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
8
|
-
import { A as syncWranglerWebSockets, E as resolveLiveBindingConfig, O as syncWranglerBindings, T as readWranglerWebSocketTombstones, a as LIVE_MIGRATION_TAG, b as readRootWranglerConfig, d as ensureWranglerCompatibilityDate, f as ensureWranglerNodejsAlsFlag, g as normalizeWranglerCompatibilityFlags, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, p as findBindingNameOwner, u as ensureWranglerCompat, v as readExistingLiveBindingConfig, x as readWranglerCompat } from "./wrangler-
|
|
9
|
-
import { c as stashCloudflareDeployPointer, i as materializeCloudflareConfig, l as ensureGitignoreLines, o as restoreCloudflarePreviewPointer } from "./cloudflare-config-
|
|
10
|
-
import { a as syncAuthTypesFile, i as removeAuthTypesIfPresent, n as generateQueueTypes, s as syncBindingTypes, t as generateRouteTypes } from "./route-types-
|
|
11
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, p as readConfig, u as isNodeTarget } from "./config-
|
|
12
|
-
import { n as writeLocalD1PersistState, t as resolveLocalD1Target } from "./local-d1-
|
|
8
|
+
import { A as syncWranglerWebSockets, E as resolveLiveBindingConfig, O as syncWranglerBindings, T as readWranglerWebSocketTombstones, a as LIVE_MIGRATION_TAG, b as readRootWranglerConfig, d as ensureWranglerCompatibilityDate, f as ensureWranglerNodejsAlsFlag, g as normalizeWranglerCompatibilityFlags, h as nextDurableObjectMigrationTag, k as syncWranglerDurableObjects, m as hasDurableObjectSqliteMigration, p as findBindingNameOwner, u as ensureWranglerCompat, v as readExistingLiveBindingConfig, x as readWranglerCompat } from "./wrangler-B1gkT_wC.mjs";
|
|
9
|
+
import { c as stashCloudflareDeployPointer, i as materializeCloudflareConfig, l as ensureGitignoreLines, o as restoreCloudflarePreviewPointer } from "./cloudflare-config-PxbinLLE.mjs";
|
|
10
|
+
import { a as syncAuthTypesFile, i as removeAuthTypesIfPresent, n as generateQueueTypes, s as syncBindingTypes, t as generateRouteTypes } from "./route-types-C6eAOmOj.mjs";
|
|
11
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, p as readConfig, u as isNodeTarget } from "./config-CzFdJYNA.mjs";
|
|
12
|
+
import { n as writeLocalD1PersistState, t as resolveLocalD1Target } from "./local-d1-BnVb7Fem.mjs";
|
|
13
13
|
import { i as voidWarn, n as voidError, r as voidLog, t as setShowTimestamp } from "./log-D9hwSySP.mjs";
|
|
14
14
|
import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
|
|
15
15
|
import { n as ensurePlatformProxyAccess } from "./cf-access-Dnyw8KFY.mjs";
|
|
@@ -18,27 +18,27 @@ import { n as readGeneratedWranglerConfigFile } from "./generated-wrangler-confi
|
|
|
18
18
|
import { t as migrateBuiltWranglerConfig } from "./cf-config-migrate-Bb-EdAQq.mjs";
|
|
19
19
|
import { t as writeFileAtomic } from "./atomic-write-DA6eD1Kp.mjs";
|
|
20
20
|
import { a as findReservedEnvKeys, c as loadLocalEnv, i as findLegacyEnvFiles, l as reservedEnvKeysMessage, o as isClientEnvKey, r as LOCAL_ENV_FILE, s as legacyEnvExampleHint, u as resolveRemoteMode } from "./env-UqS-21xi.mjs";
|
|
21
|
-
import { n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-
|
|
22
|
-
import { a as readDeployBuildQueueNames, r as cloudflareQueueName, s as drizzlePlugin, t as generateQueueResolverSource } from "./dispatch-
|
|
21
|
+
import { n as readProjectPaths, t as assertNoRootSourceConventionConflicts } from "./project-paths-CUhCPMpK.mjs";
|
|
22
|
+
import { a as readDeployBuildQueueNames, r as cloudflareQueueName, s as drizzlePlugin, t as generateQueueResolverSource } from "./dispatch-BBfb519j.mjs";
|
|
23
23
|
import { _ as parseCapturedMessage, a as DEV_INBOX_ENV_VAR, c as DEV_INBOX_TOKEN_ENV_VAR, f as clearDevBuffer, g as listDevMessages, l as DEV_INBOX_TOKEN_HEADER, m as findDevMessage, n as DEV_INBOX_ACK_VALUE, o as DEV_INBOX_MAX_CAPTURE_BYTES, s as DEV_INBOX_PREFIX, t as DEV_INBOX_ACK_HEADER, u as DEV_INBOX_TOKEN_QUERY, v as pushToDevBuffer } from "./dev-inbox-CUUS6iUg.mjs";
|
|
24
24
|
import { t as MagicString } from "./dist-B6eN80gc.mjs";
|
|
25
25
|
import { s as bindingResolver } from "./static-exports-DFkzL-NX.mjs";
|
|
26
26
|
import { i as isMemberExpression, n as isIdentifier, r as isLiteral } from "./ast-Cv0JwXqb.mjs";
|
|
27
|
-
import { n as findEnvFileForPaths, r as generateEnvTypes, t as findEnvFile } from "./env-types-
|
|
28
|
-
import { i as writeFileIfChanged, r as syncAuthTypesInProjectTsconfig } from "./project-tsconfig-
|
|
29
|
-
import { t as loadUserEnvFile } from "./load-user-env-
|
|
27
|
+
import { n as findEnvFileForPaths, r as generateEnvTypes, t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
|
|
28
|
+
import { i as writeFileIfChanged, r as syncAuthTypesInProjectTsconfig } from "./project-tsconfig-MyRJgufB.mjs";
|
|
29
|
+
import { t as loadUserEnvFile } from "./load-user-env-ztmIyiLx.mjs";
|
|
30
30
|
import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
|
|
31
|
-
import { _ as isRouteEnabledForEnvironment, a as createBoundaryManifest, c as resolveLayoutIds, h as invalidateSourceAnalysis, i as patternToRegex } from "./scan-
|
|
31
|
+
import { _ as isRouteEnabledForEnvironment, a as createBoundaryManifest, c as resolveLayoutIds, h as invalidateSourceAnalysis, i as patternToRegex } from "./scan-4YOxDaw2.mjs";
|
|
32
32
|
import { n as INTERNAL_BINDING_PREFIXES, t as INTERNAL_BINDING_EXACT_NAMES } from "./env-raw-e8qgqAzQ.mjs";
|
|
33
33
|
import { t as ASSET_EXTENSIONS } from "./routing-assets-DJIVOrCh.mjs";
|
|
34
|
-
import { i as loadVoidAuthConfig, n as devAuthConfigImporter, o as viteAuthConfigImporter, t as AUTH_CONFIG_ENVIRONMENT } from "./config-
|
|
34
|
+
import { i as loadVoidAuthConfig, n as devAuthConfigImporter, o as viteAuthConfigImporter, t as AUTH_CONFIG_ENVIRONMENT } from "./config-Do7gJI3T.mjs";
|
|
35
35
|
import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName, r as hasRevalidate, t as collectPages } from "./isr-config-Czzb4mIq.mjs";
|
|
36
36
|
import { t as assertNoPrerenderFailures } from "./prerender-render-BAdYhivW.mjs";
|
|
37
|
-
import { f as prerenderPages, n as SEND_EMAIL_BINDING, p as prerenderPagesNode } from "./email-cloudflare-
|
|
38
|
-
import { i as safeJsonStringify } from "./protocol-
|
|
39
|
-
import { n as completeApplicationAnalysis } from "./application-routing-
|
|
40
|
-
import { a as validateSsrEntries, n as SSR_SERVER_ENTRY_RELATIVE_PATHS, o as validateSsrEntry, t as SSR_CLIENT_ENTRY_RELATIVE_PATHS } from "./entry-
|
|
41
|
-
import { r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-
|
|
37
|
+
import { f as prerenderPages, n as SEND_EMAIL_BINDING, p as prerenderPagesNode } from "./email-cloudflare-DAGpgzY1.mjs";
|
|
38
|
+
import { i as safeJsonStringify } from "./protocol-IPSWHolJ.mjs";
|
|
39
|
+
import { n as completeApplicationAnalysis } from "./application-routing-CJRlXCc2.mjs";
|
|
40
|
+
import { a as validateSsrEntries, n as SSR_SERVER_ENTRY_RELATIVE_PATHS, o as validateSsrEntry, t as SSR_CLIENT_ENTRY_RELATIVE_PATHS } from "./entry-DMgR7XOf.mjs";
|
|
41
|
+
import { r as selectNativeVersionMetadataBinding, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-CeftH0fQ.mjs";
|
|
42
42
|
import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
|
|
43
43
|
import { a as defineMiddleware, c as defineScheduled, i as defineHead, n as basicAuth, o as defineQueue, r as defineHandler, s as defineRender, t as VoidAssetRewriteError } from "./handler-C9SnmeW1.mjs";
|
|
44
44
|
import { r as defer } from "./validation-error-uAAjlsiW.mjs";
|
|
@@ -496,7 +496,7 @@ function readVoidDevCredentials(root) {
|
|
|
496
496
|
*/
|
|
497
497
|
async function runAiSetupPrompt(root, token, apiUrl, server) {
|
|
498
498
|
const { select, text, isCancel, log } = await import("./dist-Cp4b1_T9.mjs");
|
|
499
|
-
const { PlatformClient } = await import("./client-
|
|
499
|
+
const { PlatformClient } = await import("./client-66c0RLDM.mjs");
|
|
500
500
|
const { attachSelectedPlatform, writeProjectConfig } = await import("./project-DVsTAWFh.mjs");
|
|
501
501
|
const { inferDefaultSlug } = await import("./resolve-project-C5wC-Hoi.mjs");
|
|
502
502
|
const { printSuccess } = await import("./output-BsdnNpxa.mjs");
|
|
@@ -526,7 +526,7 @@ async function runAiSetupPrompt(root, token, apiUrl, server) {
|
|
|
526
526
|
let slug;
|
|
527
527
|
if (result === "__create__") {
|
|
528
528
|
const { validateProjectSlug } = await import("./project-slug-BUy0lmyR.mjs");
|
|
529
|
-
const { createProjectWithSlugRetry } = await import("./create-project-
|
|
529
|
+
const { createProjectWithSlugRetry } = await import("./create-project-CQMyzTvK.mjs");
|
|
530
530
|
let created;
|
|
531
531
|
try {
|
|
532
532
|
created = await createProjectWithSlugRetry(client, inferDefaultSlug(root), async (defaultSlug) => {
|
|
@@ -3651,7 +3651,7 @@ function migrationPlugin(root, dialect, databaseId = "local", persistRoot = join
|
|
|
3651
3651
|
const hasSqlMigrations = existsSync(migrationsDir);
|
|
3652
3652
|
if (!hasSqlMigrations && !auth?.enabled) return;
|
|
3653
3653
|
const migrateAuth = async (databaseUrl) => {
|
|
3654
|
-
const { runLocalVoidAuthMigrations } = await import("./node-
|
|
3654
|
+
const { runLocalVoidAuthMigrations } = await import("./node-D9dPyUr0.mjs");
|
|
3655
3655
|
await runLocalVoidAuthMigrations(root, dialect, persistRoot, databaseId, auth?.configPath, databaseUrl, devAuthConfigImporter(server));
|
|
3656
3656
|
};
|
|
3657
3657
|
const mysqlAuth = dialect === "mysql" && auth?.enabled === true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { d as deriveDurableResourceIdentity, f as inferDurableResourceName, t as analyzeApplicationSync } from "./application-analysis-
|
|
3
|
-
import { n as VOID_LOCK_FILE } from "./cloudflare-config-
|
|
4
|
-
import { p as readConfig } from "./config-
|
|
5
|
-
import { a as deriveWebSocketClassNameFromName, o as inferWebSocketResourceName } from "./plugin-inference-
|
|
2
|
+
import { d as deriveDurableResourceIdentity, f as inferDurableResourceName, t as analyzeApplicationSync } from "./application-analysis-3VVsflWZ.mjs";
|
|
3
|
+
import { n as VOID_LOCK_FILE } from "./cloudflare-config-PxbinLLE.mjs";
|
|
4
|
+
import { p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
5
|
+
import { a as deriveWebSocketClassNameFromName, o as inferWebSocketResourceName } from "./plugin-inference-DZHmVe1f.mjs";
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
7
7
|
import { isRecord } from "@void/deploy-core";
|
|
8
8
|
// src/cli/info.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
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
2
|
import { a as join, c as resolve, i as isAbsolute, n as dirname, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { i as materializeCloudflareConfig, l as ensureGitignoreLines } from "./cloudflare-config-
|
|
4
|
-
import { n as ensureProjectTsconfig, t as createProjectTsconfig } from "./project-tsconfig-
|
|
5
|
-
import { n as readProjectPaths, o as TYPED_CONFIG_FILE } from "./project-paths-
|
|
6
|
-
import { F as canRewriteVoidProjectConfig, I as renderVoidConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-
|
|
7
|
-
import { c as getDatabaseCasing, l as getDatabaseDialect, p as readConfig, s as databaseConfigValue } from "./config-
|
|
8
|
-
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-
|
|
3
|
+
import { i as materializeCloudflareConfig, l as ensureGitignoreLines } from "./cloudflare-config-PxbinLLE.mjs";
|
|
4
|
+
import { n as ensureProjectTsconfig, t as createProjectTsconfig } from "./project-tsconfig-MyRJgufB.mjs";
|
|
5
|
+
import { n as readProjectPaths, o as TYPED_CONFIG_FILE } from "./project-paths-CUhCPMpK.mjs";
|
|
6
|
+
import { F as canRewriteVoidProjectConfig, I as renderVoidConfig, L as writeVoidProjectConfig, M as writeProvisionedWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-B1gkT_wC.mjs";
|
|
7
|
+
import { c as getDatabaseCasing, l as getDatabaseDialect, p as readConfig, s as databaseConfigValue } from "./config-CzFdJYNA.mjs";
|
|
8
|
+
import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DlWQ_hIJ.mjs";
|
|
9
9
|
import { n as snapshotDrizzleOutputs } from "./generate-CWb8aOsm.mjs";
|
|
10
|
-
import { r as detectFramework } from "./plugin-inference-
|
|
10
|
+
import { r as detectFramework } from "./plugin-inference-DZHmVe1f.mjs";
|
|
11
11
|
import { i as readPackageJson, n as hasPackageDependency } from "./package-json-DvS6IFRv.mjs";
|
|
12
12
|
import { n as getOwnVersion, r as getPackageDir, t as detectAgents } from "./agents-DRo8gzni.mjs";
|
|
13
|
-
import { t as connectCloudflare } from "./cloudflare-connect-
|
|
13
|
+
import { t as connectCloudflare } from "./cloudflare-connect-D1QOosLd.mjs";
|
|
14
14
|
import { c as getToken } from "./auth-CCk9Seol.mjs";
|
|
15
|
-
import { r as PlatformClient } from "./client-
|
|
16
|
-
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-
|
|
17
|
-
import { t as promptForLoginToken } from "./login-
|
|
15
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
16
|
+
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-BaUzZnLZ.mjs";
|
|
17
|
+
import { t as promptForLoginToken } from "./login-DOE-MkeK.mjs";
|
|
18
18
|
import { c as writeDeploymentPlatform, n as readDeploymentPlatform, r as readProjectConfig, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
19
19
|
import { t as parseDotenvFile } from "./dotenv-CEI8hapP.mjs";
|
|
20
|
-
import { i as migrateFrameworkAdapterPaths, t as migrateLegacyVoidConfig } from "./migrate-
|
|
20
|
+
import { i as migrateFrameworkAdapterPaths, t as migrateLegacyVoidConfig } from "./migrate-DtoKdGas.mjs";
|
|
21
21
|
import { l as formatUrl, m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
|
|
22
|
-
import { i as saveDiscoveredPlatform, t as discoverPlatform } from "./platform-cmd-
|
|
23
|
-
import { s as formatProjectCommand } from "./cloudflare-process-
|
|
22
|
+
import { i as saveDiscoveredPlatform, t as discoverPlatform } from "./platform-cmd-HS_FSthn.mjs";
|
|
23
|
+
import { s as formatProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
|
|
24
24
|
import { t as MagicString } from "./dist-B6eN80gc.mjs";
|
|
25
25
|
import { i as hasLocalLockfile, n as drizzleKitBin, r as findInstalledYarnPnpRuntime, t as buildDrizzleKitSpawnEnv } from "./yarn-pnp-DgWbE7z5.mjs";
|
|
26
26
|
import { createRequire } from "node:module";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { H as outro, L as log, O as cancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { c as getToken, s as getSiteDomain } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
4
|
-
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-
|
|
3
|
+
import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
|
+
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-BaUzZnLZ.mjs";
|
|
5
5
|
import { f as import_picocolors, m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
6
6
|
import { r as readProjectConfig, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
7
7
|
import { a as resolveProjectBySlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as outro, 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 { _ as tablePrefix, c as formatRelativeTime, f as import_picocolors, h as sanitizeTerminalText, i as dim, o as formatCount } from "./output-DNVILSz2.mjs";
|
|
5
5
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
6
6
|
import { a as resolveProjectBySlug } from "./resolve-project-Da3OgCU1.mjs";
|
|
@@ -42,7 +42,7 @@ async function runListCommand(root, slug) {
|
|
|
42
42
|
}
|
|
43
43
|
async function showCloudflareDeployments(root, slug) {
|
|
44
44
|
if (slug) throw new Error("project: A project name selects a Void platform project and is not used for direct Cloudflare apps.");
|
|
45
|
-
const { readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-
|
|
45
|
+
const { readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
46
46
|
const status = await readCloudflareWorkerStatus(resolveCloudflareOperationContext(root));
|
|
47
47
|
if (status.versions.length === 0) {
|
|
48
48
|
outro(`No deployments for ${status.workerName}.`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as AuthUser } from "./auth-
|
|
2
|
-
import { a as CloudEnv, r as CloudContext } from "./handler-
|
|
1
|
+
import { i as AuthUser } from "./auth-CV9kXHKe.mjs";
|
|
2
|
+
import { a as CloudEnv, r as CloudContext } from "./handler-6fzr_ikp.mjs";
|
|
3
3
|
type MaybePromise<T> = T | Promise<T>;
|
|
4
4
|
type LiveControlRequest = {
|
|
5
5
|
connectionId: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { l as aliasHint } from "./project-paths-CUhCPMpK.mjs";
|
|
2
|
+
import { pathToFileURL } from "node:url";
|
|
3
|
+
// src/host/load-user-env.ts
|
|
4
|
+
/**
|
|
5
|
+
* Loader for the user's `env.ts`.
|
|
6
|
+
*
|
|
7
|
+
* Uses Node's native `import()` (type-stripping is on by default in the
|
|
8
|
+
* supported Node version), so only relative imports and bare package
|
|
9
|
+
* specifiers resolve. tsconfig path aliases (`@/foo`, `~/foo`) are NOT
|
|
10
|
+
* supported — if the user writes one, we detect the resulting resolution
|
|
11
|
+
* error and re-throw with guidance pointing at the offending specifier.
|
|
12
|
+
*
|
|
13
|
+
* Side-effect contract: loading the file evaluates the user's `defineEnv`
|
|
14
|
+
* call, which registers the schema in the singleton state in
|
|
15
|
+
* `runtime/env-public.ts`. Callers read the result from there.
|
|
16
|
+
*
|
|
17
|
+
* Node-only (lives under `host/`). Must not be imported from anything
|
|
18
|
+
* that ships in worker bundles.
|
|
19
|
+
*/
|
|
20
|
+
let loadCounter = 0;
|
|
21
|
+
async function loadUserEnvFile(envFile) {
|
|
22
|
+
const url = pathToFileURL(envFile).href + `?t=${Date.now()}-${++loadCounter}`;
|
|
23
|
+
try {
|
|
24
|
+
await import(
|
|
25
|
+
/* @vite-ignore */
|
|
26
|
+
url
|
|
27
|
+
);
|
|
28
|
+
} catch (err) {
|
|
29
|
+
const base = `env: Failed to load '${envFile}': '${err.message}'.`;
|
|
30
|
+
const hint = aliasHint(err, "env.ts");
|
|
31
|
+
throw new Error(hint ? `${base}\n\n${hint}` : base);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export { loadUserEnvFile as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as join, c as resolve, i as isAbsolute } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { b as readRootWranglerConfig } from "./wrangler-
|
|
2
|
+
import { b as readRootWranglerConfig } from "./wrangler-B1gkT_wC.mjs";
|
|
3
3
|
import { r as getMiniflareDatabasePath } from "./runner-CMZb7jNU.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as selectPlatformLoginMethod } from "./login-DOE-MkeK.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as outro, K as select, L as log, O as cancel, tt as isCancel } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as getApiUrl, c as getToken, f as removeToken, l as getTokenSource, m as savePlatformToken, p as runPlatformLogin } from "./auth-CCk9Seol.mjs";
|
|
3
|
-
import { a as isExpiredTokenError, r as PlatformClient } from "./client-
|
|
3
|
+
import { a as isExpiredTokenError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
|
|
4
4
|
import { f as import_picocolors, l as formatUrl, m as printSuccess, r as createSpinner } from "./output-DNVILSz2.mjs";
|
|
5
5
|
// src/cli/login.ts
|
|
6
6
|
async function selectPlatformLoginMethod(platform, requestedId) {
|
|
@@ -30,7 +30,7 @@ async function selectPlatformLoginMethod(platform, requestedId) {
|
|
|
30
30
|
}
|
|
31
31
|
async function promptForLoginToken(root = process.cwd(), platform) {
|
|
32
32
|
const apiUrl = platform?.apiUrl ?? getApiUrl(root);
|
|
33
|
-
const { id: provider, label: providerName } = await selectPlatformLoginMethod(platform ?? await (await import("./platform-cmd-
|
|
33
|
+
const { id: provider, label: providerName } = await selectPlatformLoginMethod(platform ?? await (await import("./platform-cmd-BLy5uCa-.mjs")).discoverPlatform(apiUrl));
|
|
34
34
|
const s = createSpinner();
|
|
35
35
|
s.start(`Opening browser for ${providerName} login...`);
|
|
36
36
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as wrapTextWithPrefix, H as outro, 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 { a as errorStackFrames, f as import_picocolors, i as dim, o as formatCount } from "./output-DNVILSz2.mjs";
|
|
5
5
|
import { t as MINIMAL_RUNTIME_LOGS_NOTE } from "./platform-runtime-logs-CdJGnk3f.mjs";
|
|
6
6
|
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
|
|
@@ -10,7 +10,7 @@ async function runLogsCommand(root, filter, range, deployment, level) {
|
|
|
10
10
|
console.log();
|
|
11
11
|
const platform = readDeploymentPlatform(root);
|
|
12
12
|
if (platform === "cloudflare") {
|
|
13
|
-
const { resolveCloudflareOperationContext, tailCloudflareWorker } = await import("./cloudflare-operations-
|
|
13
|
+
const { resolveCloudflareOperationContext, tailCloudflareWorker } = await import("./cloudflare-operations-I4t3mt4R.mjs");
|
|
14
14
|
if (range !== "1h") log.warn("Cloudflare tail streams live logs; --range does not select historical entries.");
|
|
15
15
|
if (level && level !== "all" && level !== "error") log.warn("Cloudflare tail cannot filter individual console levels; showing all invocation logs.");
|
|
16
16
|
await tailCloudflareWorker(resolveCloudflareOperationContext(root), {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runMigrateCommand } from "./migrate-DtoKdGas.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { L as log } from "./dist-STQXl8ck.mjs";
|
|
2
2
|
import { a as join, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { c as stashCloudflareDeployPointer, l as ensureGitignoreLines, n as VOID_LOCK_FILE, r as ignoreMaterializedCloudflareConfig, s as seedCloudflareConfig } from "./cloudflare-config-
|
|
4
|
-
import { o as TYPED_CONFIG_FILE, s as loadTypedVoidConfigFile } from "./project-paths-
|
|
5
|
-
import { I as renderVoidConfig, P as GENERATED_MARKERS } from "./wrangler-
|
|
6
|
-
import { h as validateConfig } from "./config-
|
|
3
|
+
import { c as stashCloudflareDeployPointer, l as ensureGitignoreLines, n as VOID_LOCK_FILE, r as ignoreMaterializedCloudflareConfig, s as seedCloudflareConfig } from "./cloudflare-config-PxbinLLE.mjs";
|
|
4
|
+
import { o as TYPED_CONFIG_FILE, s as loadTypedVoidConfigFile } from "./project-paths-CUhCPMpK.mjs";
|
|
5
|
+
import { I as renderVoidConfig, P as GENERATED_MARKERS } from "./wrangler-B1gkT_wC.mjs";
|
|
6
|
+
import { h as validateConfig } from "./config-CzFdJYNA.mjs";
|
|
7
7
|
import { t as parseJsoncObject } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
8
8
|
import { m as printSuccess } from "./output-DNVILSz2.mjs";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
package/dist/nitro.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as bundleWorkerSqlDriver } from "./wrapper-
|
|
3
|
-
import { l as getDatabaseDialect, p as readConfig } from "./config-
|
|
4
|
-
import { c as voidDbBundlerPlugin } from "./dispatch-
|
|
2
|
+
import { n as bundleWorkerSqlDriver } from "./wrapper-xJ4LP5A7.mjs";
|
|
3
|
+
import { l as getDatabaseDialect, p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
4
|
+
import { c as voidDbBundlerPlugin } from "./dispatch-BBfb519j.mjs";
|
|
5
5
|
import { normalizePath } from "vite";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import { resolve } from "node:path/win32";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { p as readConfig } from "./config-
|
|
2
|
+
import { p as readConfig } from "./config-CzFdJYNA.mjs";
|
|
3
3
|
import { r as getMiniflareDatabasePath } from "./runner-CMZb7jNU.mjs";
|
|
4
4
|
import { a as pgMigrationRunner, i as mysqlMigrationRunner, n as applyPgAuthMigrations, r as applySqliteAuthMigrations, t as applyMySqlAuthMigrations } from "./auth-migrations-DDeifS3v.mjs";
|
|
5
5
|
import { c as loadLocalEnv } from "./env-UqS-21xi.mjs";
|
|
6
|
-
import { a as projectAuthConfigImporter, i as loadVoidAuthConfig, r as findVoidAuthConfig } from "./config-
|
|
6
|
+
import { a as projectAuthConfigImporter, i as loadVoidAuthConfig, r as findVoidAuthConfig } from "./config-Do7gJI3T.mjs";
|
|
7
7
|
import { r as resolveVoidAuthMigrationSchema } from "./drizzle-DBSpPpU1.mjs";
|
|
8
8
|
import { mkdirSync } from "node:fs";
|
|
9
9
|
// src/auth/node.ts
|