@geekmidas/cli 10.0.0-alpha.169 → 10.0.0-alpha.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/{GoDaddyProvider-Cvmy2SPq.mjs → GoDaddyProvider-Cf4MIuaD.mjs} +2 -2
  2. package/dist/{GoDaddyProvider-Cvmy2SPq.mjs.map → GoDaddyProvider-Cf4MIuaD.mjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-KmdZlFSL.cjs → GoDaddyProvider-DK9_Jw9d.cjs} +2 -2
  4. package/dist/{GoDaddyProvider-KmdZlFSL.cjs.map → GoDaddyProvider-DK9_Jw9d.cjs.map} +1 -1
  5. package/dist/{HostingerProvider-DYf1XT_W.mjs → HostingerProvider-CQebZrz3.mjs} +2 -2
  6. package/dist/{HostingerProvider-DYf1XT_W.mjs.map → HostingerProvider-CQebZrz3.mjs.map} +1 -1
  7. package/dist/{HostingerProvider--IyQKlIC.cjs → HostingerProvider-qQzo4MYp.cjs} +2 -2
  8. package/dist/{HostingerProvider--IyQKlIC.cjs.map → HostingerProvider-qQzo4MYp.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-8GVMHI12.cjs → LegacyStateStore-BeMRGXRi.cjs} +2 -2
  10. package/dist/{LegacyStateStore-8GVMHI12.cjs.map → LegacyStateStore-BeMRGXRi.cjs.map} +1 -1
  11. package/dist/{LegacyStateStore-BOZj8nj1.mjs → LegacyStateStore-DXPHKdMk.mjs} +2 -2
  12. package/dist/{LegacyStateStore-BOZj8nj1.mjs.map → LegacyStateStore-DXPHKdMk.mjs.map} +1 -1
  13. package/dist/{LocalStateStore-D3wY7Qkb.mjs → LocalStateStore-BYQ9lPje.mjs} +2 -2
  14. package/dist/{LocalStateStore-D3wY7Qkb.mjs.map → LocalStateStore-BYQ9lPje.mjs.map} +1 -1
  15. package/dist/{LocalStateStore-CfBABk6G.cjs → LocalStateStore-E_sa5GR2.cjs} +2 -2
  16. package/dist/{LocalStateStore-CfBABk6G.cjs.map → LocalStateStore-E_sa5GR2.cjs.map} +1 -1
  17. package/dist/{S3StateStore-CO92LBQI.mjs → S3StateStore-BQaGVNRf.mjs} +4 -4
  18. package/dist/{S3StateStore-CO92LBQI.mjs.map → S3StateStore-BQaGVNRf.mjs.map} +1 -1
  19. package/dist/{S3StateStore-C-Fs7CWD.cjs → S3StateStore-Cjr4Rtsf.cjs} +4 -4
  20. package/dist/{S3StateStore-C-Fs7CWD.cjs.map → S3StateStore-Cjr4Rtsf.cjs.map} +1 -1
  21. package/dist/{SSMStateStore-Ns7FpnmB.mjs → SSMStateStore-Bq_S7x5_.mjs} +2 -2
  22. package/dist/{SSMStateStore-Ns7FpnmB.mjs.map → SSMStateStore-Bq_S7x5_.mjs.map} +1 -1
  23. package/dist/{SSMStateStore-t6mkXQew.cjs → SSMStateStore-Cnfwdlme.cjs} +2 -2
  24. package/dist/{SSMStateStore-t6mkXQew.cjs.map → SSMStateStore-Cnfwdlme.cjs.map} +1 -1
  25. package/dist/{add-C3oUiBAc.cjs → add-3_IHpF5F.cjs} +4 -4
  26. package/dist/{add-C3oUiBAc.cjs.map → add-3_IHpF5F.cjs.map} +1 -1
  27. package/dist/{add-Byp8-rRf.mjs → add-CNQFnG0C.mjs} +4 -4
  28. package/dist/{add-Byp8-rRf.mjs.map → add-CNQFnG0C.mjs.map} +1 -1
  29. package/dist/{apps-D_-DXV0H.cjs → apps-BGu47YRF.cjs} +42 -5
  30. package/dist/apps-BGu47YRF.cjs.map +1 -0
  31. package/dist/{apps-C21-TXqR.mjs → apps-DGod3aS9.mjs} +38 -7
  32. package/dist/apps-DGod3aS9.mjs.map +1 -0
  33. package/dist/{bundler-D43S2YTJ.cjs → bundler-DWGxNGSB.cjs} +6 -6
  34. package/dist/{bundler-D43S2YTJ.cjs.map → bundler-DWGxNGSB.cjs.map} +1 -1
  35. package/dist/{bundler-DjfpJ0mX.mjs → bundler-Dm0mB7EK.mjs} +6 -6
  36. package/dist/{bundler-DjfpJ0mX.mjs.map → bundler-Dm0mB7EK.mjs.map} +1 -1
  37. package/dist/{cli-CYBb8rgx.cjs → cli-CYeZF85I.cjs} +4 -4
  38. package/dist/{cli-CYBb8rgx.cjs.map → cli-CYeZF85I.cjs.map} +1 -1
  39. package/dist/{cli-00fMnBFk.mjs → cli-Qm-8tG46.mjs} +4 -4
  40. package/dist/{cli-00fMnBFk.mjs.map → cli-Qm-8tG46.mjs.map} +1 -1
  41. package/dist/{compose-MwgjPj_A.mjs → compose-BVeevJO_.mjs} +7 -7
  42. package/dist/{compose-MwgjPj_A.mjs.map → compose-BVeevJO_.mjs.map} +1 -1
  43. package/dist/{compose-rn_DWcup.mjs → compose-CXgwCuqv.mjs} +4 -4
  44. package/dist/{compose-rn_DWcup.mjs.map → compose-CXgwCuqv.mjs.map} +1 -1
  45. package/dist/{compose-Dgd-yfJT.cjs → compose-CshnO-Th.cjs} +4 -4
  46. package/dist/{compose-Dgd-yfJT.cjs.map → compose-CshnO-Th.cjs.map} +1 -1
  47. package/dist/{compose-D9ksPt5H.cjs → compose-IsvqY6iX.cjs} +7 -7
  48. package/dist/{compose-D9ksPt5H.cjs.map → compose-IsvqY6iX.cjs.map} +1 -1
  49. package/dist/{credentials-kK0X754I.mjs → credentials-CKIeLL7T.mjs} +5 -5
  50. package/dist/{credentials-kK0X754I.mjs.map → credentials-CKIeLL7T.mjs.map} +1 -1
  51. package/dist/{credentials-C6n_kdu4.cjs → credentials-DzR2j8h1.cjs} +5 -5
  52. package/dist/{credentials-C6n_kdu4.cjs.map → credentials-DzR2j8h1.cjs.map} +1 -1
  53. package/dist/deploy/public.cjs +10 -10
  54. package/dist/deploy/public.mjs +10 -10
  55. package/dist/{deploy-CFuDCbTq.mjs → deploy-CjubyZlP.mjs} +11 -11
  56. package/dist/{deploy-CFuDCbTq.mjs.map → deploy-CjubyZlP.mjs.map} +1 -1
  57. package/dist/{deploy-C1gf4bT-.cjs → deploy-DQjEjUfB.cjs} +11 -11
  58. package/dist/{deploy-C1gf4bT-.cjs.map → deploy-DQjEjUfB.cjs.map} +1 -1
  59. package/dist/{destroy-CMz0BPEe.cjs → destroy-D1375m8C.cjs} +7 -7
  60. package/dist/{destroy-CMz0BPEe.cjs.map → destroy-D1375m8C.cjs.map} +1 -1
  61. package/dist/{destroy-UTWZmaGn.mjs → destroy-D4m5aO9k.mjs} +7 -7
  62. package/dist/{destroy-UTWZmaGn.mjs.map → destroy-D4m5aO9k.mjs.map} +1 -1
  63. package/dist/{docker-BIuidyEB.mjs → docker-C27YUUMQ.mjs} +4 -4
  64. package/dist/{docker-BIuidyEB.mjs.map → docker-C27YUUMQ.mjs.map} +1 -1
  65. package/dist/{docker-BrdCdNwm.cjs → docker-CSEAKwFr.cjs} +4 -4
  66. package/dist/{docker-BrdCdNwm.cjs.map → docker-CSEAKwFr.cjs.map} +1 -1
  67. package/dist/{dokploy--ndQ72iu.mjs → dokploy-CSqDsvY-.mjs} +2 -2
  68. package/dist/{dokploy--ndQ72iu.mjs.map → dokploy-CSqDsvY-.mjs.map} +1 -1
  69. package/dist/{dokploy-D7ZChrtZ.cjs → dokploy-DJDdiFz6.cjs} +2 -2
  70. package/dist/{dokploy-D7ZChrtZ.cjs.map → dokploy-DJDdiFz6.cjs.map} +1 -1
  71. package/dist/{eas-BCcpBC4k.mjs → eas-DC3F8cy0.mjs} +2 -2
  72. package/dist/{eas-BCcpBC4k.mjs.map → eas-DC3F8cy0.mjs.map} +1 -1
  73. package/dist/{eas-DCvA907G.cjs → eas-DryGYjFk.cjs} +2 -2
  74. package/dist/{eas-DCvA907G.cjs.map → eas-DryGYjFk.cjs.map} +1 -1
  75. package/dist/{encryption-8TklMCh2.cjs → encryption-8qZGm15p.cjs} +2 -2
  76. package/dist/{encryption-8TklMCh2.cjs.map → encryption-8qZGm15p.cjs.map} +1 -1
  77. package/dist/{encryption-C2LzfQp8.mjs → encryption-C8Y8Ly6n.mjs} +2 -2
  78. package/dist/{encryption-C2LzfQp8.mjs.map → encryption-C8Y8Ly6n.mjs.map} +1 -1
  79. package/dist/{engine-D-_nkxQL.mjs → engine-C9E0MeLm.mjs} +8 -8
  80. package/dist/{engine-D-_nkxQL.mjs.map → engine-C9E0MeLm.mjs.map} +1 -1
  81. package/dist/{engine-BMoNLayn.cjs → engine-DI7JAyiD.cjs} +8 -8
  82. package/dist/{engine-BMoNLayn.cjs.map → engine-DI7JAyiD.cjs.map} +1 -1
  83. package/dist/{github-B_zfStMR.mjs → github-DdaV-Gll.mjs} +6 -6
  84. package/dist/{github-B_zfStMR.mjs.map → github-DdaV-Gll.mjs.map} +1 -1
  85. package/dist/{github-CZjNDPAp.cjs → github-g3nRZlli.cjs} +6 -6
  86. package/dist/{github-CZjNDPAp.cjs.map → github-g3nRZlli.cjs.map} +1 -1
  87. package/dist/{googlePlay-Btn0lut5.cjs → googlePlay-BHJ_iThq.cjs} +4 -4
  88. package/dist/{googlePlay-Btn0lut5.cjs.map → googlePlay-BHJ_iThq.cjs.map} +1 -1
  89. package/dist/{googlePlay-BcVRYMh4.mjs → googlePlay-BmeR1kY4.mjs} +4 -4
  90. package/dist/{googlePlay-BcVRYMh4.mjs.map → googlePlay-BmeR1kY4.mjs.map} +1 -1
  91. package/dist/index.cjs +61 -61
  92. package/dist/index.cjs.map +1 -1
  93. package/dist/index.mjs +61 -61
  94. package/dist/index.mjs.map +1 -1
  95. package/dist/{local-B9Vniy-F.mjs → local-Bkv-e8uM.mjs} +2 -2
  96. package/dist/{local-B9Vniy-F.mjs.map → local-Bkv-e8uM.mjs.map} +1 -1
  97. package/dist/{local-DxfqOu7A.cjs → local-DTidpa-a.cjs} +2 -2
  98. package/dist/{local-DxfqOu7A.cjs.map → local-DTidpa-a.cjs.map} +1 -1
  99. package/dist/{migrate-blnmh2Tm.mjs → migrate-BZRsJwni.mjs} +2 -2
  100. package/dist/{migrate-blnmh2Tm.mjs.map → migrate-BZRsJwni.mjs.map} +1 -1
  101. package/dist/{migrate-C1u7Tl7D.cjs → migrate-CXLhrHwu.cjs} +4 -4
  102. package/dist/{migrate-C1u7Tl7D.cjs.map → migrate-CXLhrHwu.cjs.map} +1 -1
  103. package/dist/{migrate-b5rcr4sw.mjs → migrate-DNOI23QA.mjs} +4 -4
  104. package/dist/{migrate-b5rcr4sw.mjs.map → migrate-DNOI23QA.mjs.map} +1 -1
  105. package/dist/{migrate-CcYfCpMe.cjs → migrate-DU4MtKxz.cjs} +2 -2
  106. package/dist/{migrate-CcYfCpMe.cjs.map → migrate-DU4MtKxz.cjs.map} +1 -1
  107. package/dist/{notes-CT1jNLDC.mjs → notes-1TM_Vzi7.mjs} +2 -2
  108. package/dist/{notes-CT1jNLDC.mjs.map → notes-1TM_Vzi7.mjs.map} +1 -1
  109. package/dist/{notes-Cw3JQ0Y_.cjs → notes-BpaXOAkA.cjs} +2 -2
  110. package/dist/{notes-Cw3JQ0Y_.cjs.map → notes-BpaXOAkA.cjs.map} +1 -1
  111. package/dist/{projectBucket-DJNi2yJL.mjs → projectBucket-BRgsSv2P.mjs} +2 -2
  112. package/dist/{projectBucket-DJNi2yJL.mjs.map → projectBucket-BRgsSv2P.mjs.map} +1 -1
  113. package/dist/{projectBucket-8hJmCusk.cjs → projectBucket-DbEWuLGX.cjs} +2 -2
  114. package/dist/{projectBucket-8hJmCusk.cjs.map → projectBucket-DbEWuLGX.cjs.map} +1 -1
  115. package/dist/{publish-Dlb-rrc5.cjs → publish-BN1l3tPF.cjs} +2 -2
  116. package/dist/{publish-Dlb-rrc5.cjs.map → publish-BN1l3tPF.cjs.map} +1 -1
  117. package/dist/{publish-CMaPsMsT.mjs → publish-DjFgxu2v.mjs} +2 -2
  118. package/dist/{publish-CMaPsMsT.mjs.map → publish-DjFgxu2v.mjs.map} +1 -1
  119. package/dist/{resolve-BKn4TTn3.cjs → resolve-BHVyg4Hg.cjs} +4 -4
  120. package/dist/{resolve-BKn4TTn3.cjs.map → resolve-BHVyg4Hg.cjs.map} +1 -1
  121. package/dist/{resolve-DrFS2Ivb.mjs → resolve-NEKsqNAw.mjs} +4 -4
  122. package/dist/{resolve-DrFS2Ivb.mjs.map → resolve-NEKsqNAw.mjs.map} +1 -1
  123. package/dist/{rollback-B3lHgwkj.mjs → rollback-BVgyLE7B.mjs} +5 -5
  124. package/dist/{rollback-B3lHgwkj.mjs.map → rollback-BVgyLE7B.mjs.map} +1 -1
  125. package/dist/{rollback-6ZeoByXd.cjs → rollback-CUjvOIDE.cjs} +5 -5
  126. package/dist/{rollback-6ZeoByXd.cjs.map → rollback-CUjvOIDE.cjs.map} +1 -1
  127. package/dist/{s3-DfAM0soB.mjs → s3-BO4yr61G.mjs} +2 -2
  128. package/dist/{s3-DfAM0soB.mjs.map → s3-BO4yr61G.mjs.map} +1 -1
  129. package/dist/{s3-Cq1_F2J8.cjs → s3-DnPbDfQN.cjs} +2 -2
  130. package/dist/{s3-Cq1_F2J8.cjs.map → s3-DnPbDfQN.cjs.map} +1 -1
  131. package/dist/{serverSetup-lZ7tYUZJ.mjs → serverSetup-BxnCM11A.mjs} +5 -5
  132. package/dist/{serverSetup-lZ7tYUZJ.mjs.map → serverSetup-BxnCM11A.mjs.map} +1 -1
  133. package/dist/{serverSetup-DMNKsLKq.cjs → serverSetup-DScJ7tQs.cjs} +5 -5
  134. package/dist/{serverSetup-DMNKsLKq.cjs.map → serverSetup-DScJ7tQs.cjs.map} +1 -1
  135. package/dist/{sniffer-DcT9RrAj.mjs → sniffer-9smKtb86.mjs} +6 -6
  136. package/dist/{sniffer-DcT9RrAj.mjs.map → sniffer-9smKtb86.mjs.map} +1 -1
  137. package/dist/{sniffer-CUImZsQL.cjs → sniffer-DHcxlSJF.cjs} +6 -6
  138. package/dist/{sniffer-CUImZsQL.cjs.map → sniffer-DHcxlSJF.cjs.map} +1 -1
  139. package/dist/{snsSubscriptions-1lX1ze3u.cjs → snsSubscriptions-B8TYeAM-.cjs} +3 -3
  140. package/dist/{snsSubscriptions-1lX1ze3u.cjs.map → snsSubscriptions-B8TYeAM-.cjs.map} +1 -1
  141. package/dist/{snsSubscriptions-DFWhEgiA.mjs → snsSubscriptions-CygsiXhb.mjs} +3 -3
  142. package/dist/{snsSubscriptions-DFWhEgiA.mjs.map → snsSubscriptions-CygsiXhb.mjs.map} +1 -1
  143. package/dist/{sst-CB6rX5Zs.mjs → sst-Bgb3WWEl.mjs} +4 -4
  144. package/dist/{sst-CB6rX5Zs.mjs.map → sst-Bgb3WWEl.mjs.map} +1 -1
  145. package/dist/{sst-ct0Vhta9.cjs → sst-DiHVSku5.cjs} +4 -4
  146. package/dist/{sst-ct0Vhta9.cjs.map → sst-DiHVSku5.cjs.map} +1 -1
  147. package/dist/{stack-CkdkfmpN.cjs → stack-A3evQgbk.cjs} +12 -7
  148. package/dist/stack-A3evQgbk.cjs.map +1 -0
  149. package/dist/{stack-Dsl0l3fi.mjs → stack-Cy2FwO3Z.mjs} +12 -7
  150. package/dist/stack-Cy2FwO3Z.mjs.map +1 -0
  151. package/dist/{stage-Cmn0dCV2.cjs → stage-Bm1x9Anp.cjs} +5 -5
  152. package/dist/{stage-Cmn0dCV2.cjs.map → stage-Bm1x9Anp.cjs.map} +1 -1
  153. package/dist/{stage-DfdUf2sj.mjs → stage-Dgy08WVL.mjs} +5 -5
  154. package/dist/{stage-DfdUf2sj.mjs.map → stage-Dgy08WVL.mjs.map} +1 -1
  155. package/dist/target/public.cjs +1 -1
  156. package/dist/target/public.mjs +1 -1
  157. package/dist/{terminal-CFeiyJxJ.cjs → terminal-BDRxzEZD.cjs} +2 -2
  158. package/dist/{terminal-CFeiyJxJ.cjs.map → terminal-BDRxzEZD.cjs.map} +1 -1
  159. package/dist/{terminal-BDKhPIBA.mjs → terminal-BRAIvH83.mjs} +2 -2
  160. package/dist/{terminal-BDKhPIBA.mjs.map → terminal-BRAIvH83.mjs.map} +1 -1
  161. package/package.json +15 -15
  162. package/dist/apps-C21-TXqR.mjs.map +0 -1
  163. package/dist/apps-D_-DXV0H.cjs.map +0 -1
  164. package/dist/stack-CkdkfmpN.cjs.map +0 -1
  165. package/dist/stack-Dsl0l3fi.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
2
2
  import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
3
- import { E as providerOf, R as externalsManifestName, T as eventsBackendFor, bt as gkmHome, w as cacheBackendFor } from "./credentials-kK0X754I.mjs";
3
+ import { E as providerOf, R as externalsManifestName, T as eventsBackendFor, bt as gkmHome, w as cacheBackendFor } from "./credentials-CKIeLL7T.mjs";
4
4
  import { It as isReservedStageKey, Mt as checkStageBackups, R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as protectedSubdomains, j as TEST_STAGE, ot as appKey, ut as fileServerLabel, z as telemetryEnv } from "./workspace-_aoe8v6u.mjs";
5
- import { $ as otlpHeaders, B as fakeKey, D as HOST_GATEWAY$1, F as emulatorEndpoint, G as serviceAddresses, H as portsOf, I as emulatorQueueUrl, J as LOGS_ORG, L as emulatorTopicArn, M as watchedBuckets, O as NOTIFICATION_RULE_PREFIX, P as EMULATOR_REGION, U as postgresImage, V as portKeys, W as primaryPortKey, Y as LOGS_PASSWORD_KEY, b as REDIS_PASSWORD_KEY, f as savePortState, h as postgresRoleSlug, j as objectsWebhookToken, k as minioNotificationRule, l as loadPortState, m as loadLocalCredentials, n as composeFor, ot as rootSite, q as LOGS_EMAIL_KEY, r as toYaml, t as CLUSTER_DATABASE, v as saveLocalCredentials } from "./compose-rn_DWcup.mjs";
5
+ import { $ as otlpHeaders, B as fakeKey, D as HOST_GATEWAY$1, F as emulatorEndpoint, G as serviceAddresses, H as portsOf, I as emulatorQueueUrl, J as LOGS_ORG, L as emulatorTopicArn, M as watchedBuckets, O as NOTIFICATION_RULE_PREFIX, P as EMULATOR_REGION, U as postgresImage, V as portKeys, W as primaryPortKey, Y as LOGS_PASSWORD_KEY, b as REDIS_PASSWORD_KEY, f as savePortState, h as postgresRoleSlug, j as objectsWebhookToken, k as minioNotificationRule, l as loadPortState, m as loadLocalCredentials, n as composeFor, ot as rootSite, q as LOGS_EMAIL_KEY, r as toYaml, t as CLUSTER_DATABASE, v as saveLocalCredentials } from "./compose-CXgwCuqv.mjs";
6
6
  import { c as INBOX_RELAY_TOKEN_KEY, d as inboxWebhookUrl, i as readFakes, l as inboxRelayToken, o as objectsRoute, r as readCredentialFakes, u as inboxRelayWorker } from "./SubscriberGenerator-CfZWX0lT.mjs";
7
7
  import { i as holdsEveryCache, t as DEFAULT_CACHE } from "./types-Y1NfWlyG.mjs";
8
8
  import { u as telemetryArgs } from "./EndpointGenerator-CSKhAD6W.mjs";
@@ -15,7 +15,7 @@ import { hostname, networkInterfaces, userInfo } from "node:os";
15
15
  import { execFile, spawn } from "node:child_process";
16
16
  import { createServer } from "node:net";
17
17
  import { createHash, createPrivateKey, createPublicKey, generateKeyPairSync, randomBytes } from "node:crypto";
18
- import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, EDGE_TOKEN_HEADER, EDGE_TOKEN_KEY, IMAGE_ORIGINS_KEY, PUBLIC_PREFIX, TELEMETRY_KEYS, WILDCARD_SUBDOMAIN, bucketExpiry, cacheTable, cookieDomain, dependenciesOf, dependentsOf, drawSecret, environmentCase, externalApiUrl, hostLabels, imageOriginSources, imageOrigins, isHostedDeclaration, isPublicDeclaration, isWildcardSite, kebabCase, mobileOrigins, providedKeyFor, provisionOrder, publicEnvFor, schemeBase, senderAddress, wildcardDomainOf } from "@geekmidas/manifest";
18
+ import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, EDGE_TOKEN_HEADER, EDGE_TOKEN_KEY, IMAGE_ORIGINS_KEY, PUBLIC_PREFIX, TELEMETRY_KEYS, WILDCARD_SUBDOMAIN, bucketExpiry, cacheTable, cookieDomain, dependenciesOf, dependentsOf, drawSecret, environmentCase, externalApiUrl, hostLabels, imageOriginSources, imageOrigins, isHostedDeclaration, isPublicDeclaration, isWildcardSite, kebabCase, mobileOrigins, providedKeyFor, provisionOrder, publicEnvFor, publicValues, schemeBase, senderAddress, wildcardDomainOf } from "@geekmidas/manifest";
19
19
  import { fileURLToPath } from "node:url";
20
20
  import { formatKeyring } from "@geekmidas/constructs/encryption";
21
21
  import { ownerRole, readerRole, roleStatements } from "@geekmidas/db/pg/roles";
@@ -2381,6 +2381,26 @@ function isUnder(file, dir) {
2381
2381
  //#endregion
2382
2382
  //#region src/compose/siteBuild.ts
2383
2383
  /**
2384
+ * A site's build inlines where it loads files from — a file server's URL, a
2385
+ * bucket's signed origin — and the stage has not resolved it yet: a provider
2386
+ * writes it on the stage's first deploy. Built anyway, the bundle would ship
2387
+ * without its own asset host, and every image from it would be refused.
2388
+ */
2389
+ var SiteBuildValueUnresolved = class extends GkmError {
2390
+ site;
2391
+ key;
2392
+ stage;
2393
+ from;
2394
+ constructor(site, key, stage, from) {
2395
+ super(`'${site}' inlines ${key} into its build, and the stage '${stage}' has ${from ? `no ${from} to derive it from` : "no value for it"} yet. A provider writes it on the stage's first deploy: deploy the stage first (gkm deploy --stage ${stage}), then build. Or set it: gkm secrets:set ${from ?? key} '…' --stage ${stage}`);
2396
+ this.site = site;
2397
+ this.key = key;
2398
+ this.stage = stage;
2399
+ this.from = from;
2400
+ this.name = "SiteBuildValueUnresolved";
2401
+ }
2402
+ };
2403
+ /**
2384
2404
  * What a site's image is built with — or a mobile app's EAS build: every
2385
2405
  * value its build reads, resolved for the stage, and so every `ARG` a site's
2386
2406
  * Dockerfile declares.
@@ -2398,11 +2418,12 @@ function isUnder(file, dir) {
2398
2418
  * declared public by whoever named it, so it is passed. Anything else is
2399
2419
  * not: a secret without the prefix never reaches a site's build.
2400
2420
  *
2401
- * A value the stage resolves to nothing is left out rather than passed empty.
2421
+ * A value the stage resolves to nothing is left out rather than passed empty
2422
+ * — except, with `requireFileOrigins`, where its pages load files from.
2402
2423
  * A derived value wins over a stage secret of the same name: the site's
2403
2424
  * addresses are the construct's, not a copy someone set.
2404
2425
  */
2405
- function publicBuildValues(site, manifest, resolve, secrets) {
2426
+ function publicBuildValues(site, manifest, resolve, secrets, options = {}) {
2406
2427
  const args = {};
2407
2428
  const own = providedKeyFor(site.id, site.kind, site.kind === "site" ? "url" : "scheme");
2408
2429
  const ownValue = resolve(own);
@@ -2413,6 +2434,16 @@ function publicBuildValues(site, manifest, resolve, secrets) {
2413
2434
  if (value) args[key] = value;
2414
2435
  }
2415
2436
  const prefix = PUBLIC_PREFIX[site.variant];
2437
+ const required = options.requireFileOrigins;
2438
+ if (required) for (const value of publicValues(site, manifest)) {
2439
+ if (value.kind === "file-server" && value.role === "url") {
2440
+ if (!resolve(value.key)) throw new SiteBuildValueUnresolved(site.id, value.key, required.stage);
2441
+ }
2442
+ if (value.kind === "objects" && value.role === "signedOrigin") {
2443
+ const connection = providedKeyFor(value.id, "objects", "connectionString");
2444
+ if (!resolve(value.key) && !resolve(connection)) throw new SiteBuildValueUnresolved(site.id, value.key, required.stage, connection);
2445
+ }
2446
+ }
2416
2447
  const origins = imageOrigins(imageOriginSources(site, manifest), (source) => resolve(source) ?? derived[source]);
2417
2448
  if (origins) args[`${prefix}${IMAGE_ORIGINS_KEY}`] = origins;
2418
2449
  for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
@@ -5729,6 +5760,6 @@ function healthcheck(port, path) {
5729
5760
  };
5730
5761
  }
5731
5762
  //#endregion
5732
- export { imageBuildCredentials as $, originSecretKey as A, TELEMETRY_CONTAINER as At, WORKER_PORT as B, LOCAL_TLD as Bt, ensureLocalCertificate as C, postgresDatabaseNames as Ct, ORIGIN_VERIFY_HEADER as D, envFor as Dt, readLocalAuthority as E, mergeLifecycle as Et, imageLayout as F, scopeTelemetryEnv as Ft, generateEntryDockerfile as G, backupDatabases as Gt, findBuildRoot as H, hostFor$1 as Ht, LOCAL_CA_BUILD_SECRET as I, siteClientTelemetry as It, generateProcessorDockerfile as J, backupsPrefix as Jt, generateNextjsDockerfile as K, backupExpiries as Kt, PRERENDER_RUN_ARG as L, surfaceClientTraced as Lt, appImageOptions as M, resourceName as Mt, composeBuildPaths as N, appTelemetry as Nt, PROCESSOR_ORIGIN_SECRET_ENV as O, localRolePassword as Ot, fromBuildRoot as P, isTelemetryKey as Pt, resolveDockerConfig as Q, PROCESSOR_PORT as R, telemetryOf as Rt, ensureLocalAuthority as S, bucketPolicies as St, localCertificateNames as T, quoteIdentifier as Tt, generateBackendDockerfile as U, hostsFor as Ut, detectPackageManager as V, clientIpRule as Vt, generateDockerignore as W, PROCESSORS_DEV_PREFIX as Wt, generateWorkerDockerfile as X, stageBackups as Xt, generateViteStaticDockerfile as Y, runTime as Yt, nextPrerenderManifest as Z, deploysWithCompose as Zt, forgetState as _, applyLifecycles as _t, networkEnv as a, siteOfflineHosts as at, bucketClient as b, applyPostgres as bt, processorEnvKeys as c, processorUnits as ct, backendsOf as d, BACKUPS_URL_KEY as dt, isImageBuild as et, constructGlobs as f, RUNNER_PATH as ft, COMPOSE_PATH as g, applyBuckets as gt, workspace_exports as h, stackBackups as ht, dockerfileOf as i, runsServer as it, processorOriginHost as j, planFor as jt, newOriginSecret as k, stageEnv as kt, workerEnvKeys as l, workerUnits as lt, reconcileWorkspace as m, backupsService as mt, appProcess as n, offlineBuildHosts as nt, processEnv as o, isUnder as ot, derivedContainers as p, backupsRoleStatements as pt, generateNodeWebDockerfile as q, backupFile as qt, apps_exports as r, publicBuildValues as rt, processEnvKeys as s, processorUnitName as st, appEnvKeys as t, OFFLINE_BUILD_ADDRESS as tt, FAKE_ENV as u, BACKUPS_SERVICE as ut, LEGACY_LOCAL_LOGIN as v, applyNotifications as vt, localAuthorityPaths as w, postgresStatements as wt, pgClient as x, bucketLifecycles as xt, ensurePostgresLogin as y, applyPolicies as yt, TURBO_VERSION as z, usesTelemetry as zt };
5763
+ export { imageBuildCredentials as $, originSecretKey as A, signedOrigins as At, WORKER_PORT as B, usesTelemetry as Bt, ensureLocalCertificate as C, postgresDatabaseNames as Ct, ORIGIN_VERIFY_HEADER as D, envFor as Dt, readLocalAuthority as E, mergeLifecycle as Et, imageLayout as F, isTelemetryKey as Ft, generateEntryDockerfile as G, PROCESSORS_DEV_PREFIX as Gt, findBuildRoot as H, clientIpRule as Ht, LOCAL_CA_BUILD_SECRET as I, scopeTelemetryEnv as It, generateProcessorDockerfile as J, backupFile as Jt, generateNextjsDockerfile as K, backupDatabases as Kt, PRERENDER_RUN_ARG as L, siteClientTelemetry as Lt, appImageOptions as M, planFor as Mt, composeBuildPaths as N, resourceName as Nt, PROCESSOR_ORIGIN_SECRET_ENV as O, localRolePassword as Ot, fromBuildRoot as P, appTelemetry as Pt, resolveDockerConfig as Q, deploysWithCompose as Qt, PROCESSOR_PORT as R, surfaceClientTraced as Rt, ensureLocalAuthority as S, bucketPolicies as St, localCertificateNames as T, quoteIdentifier as Tt, generateBackendDockerfile as U, hostFor$1 as Ut, detectPackageManager as V, LOCAL_TLD as Vt, generateDockerignore as W, hostsFor as Wt, generateWorkerDockerfile as X, runTime as Xt, generateViteStaticDockerfile as Y, backupsPrefix as Yt, nextPrerenderManifest as Z, stageBackups as Zt, forgetState as _, applyLifecycles as _t, networkEnv as a, siteOfflineHosts as at, bucketClient as b, applyPostgres as bt, processorEnvKeys as c, processorUnits as ct, backendsOf as d, BACKUPS_URL_KEY as dt, isImageBuild as et, constructGlobs as f, RUNNER_PATH as ft, COMPOSE_PATH as g, applyBuckets as gt, workspace_exports as h, stackBackups as ht, dockerfileOf as i, runsServer as it, processorOriginHost as j, TELEMETRY_CONTAINER as jt, newOriginSecret as k, stageEnv as kt, workerEnvKeys as l, workerUnits as lt, reconcileWorkspace as m, backupsService as mt, appProcess as n, offlineBuildHosts as nt, processEnv as o, isUnder as ot, derivedContainers as p, backupsRoleStatements as pt, generateNodeWebDockerfile as q, backupExpiries as qt, apps_exports as r, publicBuildValues as rt, processEnvKeys as s, processorUnitName as st, appEnvKeys as t, OFFLINE_BUILD_ADDRESS as tt, FAKE_ENV as u, BACKUPS_SERVICE as ut, LEGACY_LOCAL_LOGIN as v, applyNotifications as vt, localAuthorityPaths as w, postgresStatements as wt, pgClient as x, bucketLifecycles as xt, ensurePostgresLogin as y, applyPolicies as yt, TURBO_VERSION as z, telemetryOf as zt };
5733
5764
 
5734
- //# sourceMappingURL=apps-C21-TXqR.mjs.map
5765
+ //# sourceMappingURL=apps-DGod3aS9.mjs.map