@geekmidas/cli 10.0.0-alpha.136 → 10.0.0-alpha.138
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/{EndpointGenerator-D3p5WQOv.cjs → EndpointGenerator-BGKb_Ie6.cjs} +2 -2
- package/dist/{EndpointGenerator-D3p5WQOv.cjs.map → EndpointGenerator-BGKb_Ie6.cjs.map} +1 -1
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs → EndpointGenerator-DDfPq2AZ.mjs} +2 -2
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs.map → EndpointGenerator-DDfPq2AZ.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BZJtRv5p.cjs → GoDaddyProvider-DA0rzRQt.cjs} +2 -2
- package/dist/{GoDaddyProvider-BZJtRv5p.cjs.map → GoDaddyProvider-DA0rzRQt.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-CDTSKt1k.mjs → GoDaddyProvider-baMIwhIy.mjs} +2 -2
- package/dist/{GoDaddyProvider-CDTSKt1k.mjs.map → GoDaddyProvider-baMIwhIy.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CfhOur9W.mjs → LegacyStateStore-BSrw1yNS.mjs} +3 -3
- package/dist/{LegacyStateStore-CfhOur9W.mjs.map → LegacyStateStore-BSrw1yNS.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CmQbzQGC.cjs → LegacyStateStore-h1u5xlpb.cjs} +3 -3
- package/dist/{LegacyStateStore-CmQbzQGC.cjs.map → LegacyStateStore-h1u5xlpb.cjs.map} +1 -1
- package/dist/{LocalStateStore-k3i8wp2q.mjs → LocalStateStore-BlH6Eanc.mjs} +2 -2
- package/dist/{LocalStateStore-k3i8wp2q.mjs.map → LocalStateStore-BlH6Eanc.mjs.map} +1 -1
- package/dist/{LocalStateStore-3ZT4-yUX.cjs → LocalStateStore-HmKqUWkF.cjs} +2 -2
- package/dist/{LocalStateStore-3ZT4-yUX.cjs.map → LocalStateStore-HmKqUWkF.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs → OpenApiTsGenerator-DoLFZu4i.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs.map → OpenApiTsGenerator-DoLFZu4i.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs → OpenApiTsGenerator-l1DUhgLV.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs.map → OpenApiTsGenerator-l1DUhgLV.mjs.map} +1 -1
- package/dist/{S3StateStore-Cf2DoRBZ.cjs → S3StateStore-Ccz7J7Cf.cjs} +2 -2
- package/dist/{S3StateStore-Cf2DoRBZ.cjs.map → S3StateStore-Ccz7J7Cf.cjs.map} +1 -1
- package/dist/{S3StateStore-D71GhBoc.mjs → S3StateStore-CwVWjNXJ.mjs} +2 -2
- package/dist/{S3StateStore-D71GhBoc.mjs.map → S3StateStore-CwVWjNXJ.mjs.map} +1 -1
- package/dist/{SSMStateStore-B40DvAuy.mjs → SSMStateStore-CASt-lob.mjs} +2 -2
- package/dist/{SSMStateStore-B40DvAuy.mjs.map → SSMStateStore-CASt-lob.mjs.map} +1 -1
- package/dist/{SSMStateStore-agvlAonC.cjs → SSMStateStore-CAxcx0U2.cjs} +2 -2
- package/dist/{SSMStateStore-agvlAonC.cjs.map → SSMStateStore-CAxcx0U2.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs → SubscriberGenerator-DDCqRTbq.cjs} +3 -3
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs.map → SubscriberGenerator-DDCqRTbq.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-CI7roxx9.mjs → SubscriberGenerator-zUd87wvg.mjs} +3 -3
- package/dist/{SubscriberGenerator-CI7roxx9.mjs.map → SubscriberGenerator-zUd87wvg.mjs.map} +1 -1
- package/dist/{add-Cj6yp560.mjs → add-6tyL4tWq.mjs} +9 -15
- package/dist/add-6tyL4tWq.mjs.map +1 -0
- package/dist/{add-BpJ40b1f.cjs → add-Cq7B_VSJ.cjs} +9 -15
- package/dist/add-Cq7B_VSJ.cjs.map +1 -0
- package/dist/{bundler-BjIag8nr.mjs → bundler-CXuVyqXY.mjs} +5 -5
- package/dist/{bundler-BjIag8nr.mjs.map → bundler-CXuVyqXY.mjs.map} +1 -1
- package/dist/{bundler-D0YmORqs.cjs → bundler-DRmdcbXx.cjs} +5 -5
- package/dist/{bundler-D0YmORqs.cjs.map → bundler-DRmdcbXx.cjs.map} +1 -1
- package/dist/{cli-ffQmsXua.cjs → cli-DYru-gjk.cjs} +3 -3
- package/dist/{cli-ffQmsXua.cjs.map → cli-DYru-gjk.cjs.map} +1 -1
- package/dist/{cli-CJwPXzWW.mjs → cli-DxtrQdRa.mjs} +3 -3
- package/dist/{cli-CJwPXzWW.mjs.map → cli-DxtrQdRa.mjs.map} +1 -1
- package/dist/{compose-D6L79YLV.mjs → compose-Bdx2rqtO.mjs} +59 -34
- package/dist/compose-Bdx2rqtO.mjs.map +1 -0
- package/dist/{compose-Diz_QC7m.cjs → compose-DJMHSSDI.cjs} +59 -34
- package/dist/compose-DJMHSSDI.cjs.map +1 -0
- package/dist/{config-CnrwEcSa.d.mts → config-B7HaIfYM.d.mts} +3 -3
- package/dist/{config-CnrwEcSa.d.mts.map → config-B7HaIfYM.d.mts.map} +1 -1
- package/dist/{config-DlKOvs3Y.d.cts → config-DySjXKd2.d.cts} +3 -3
- package/dist/{config-DlKOvs3Y.d.cts.map → config-DySjXKd2.d.cts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/{credentialSchemas-CM0rxWmS.cjs → credentialSchemas-BJMvQlks.cjs} +2 -2
- package/dist/{credentialSchemas-CM0rxWmS.cjs.map → credentialSchemas-BJMvQlks.cjs.map} +1 -1
- package/dist/{credentialSchemas-DPOGqOrU.mjs → credentialSchemas-DYzO2_yG.mjs} +2 -2
- package/dist/{credentialSchemas-DPOGqOrU.mjs.map → credentialSchemas-DYzO2_yG.mjs.map} +1 -1
- package/dist/deploy/public.cjs +8 -8
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.mjs +8 -8
- package/dist/deploy/sniffer-routes-worker.cjs +2 -2
- package/dist/deploy/sniffer-routes-worker.mjs +2 -2
- package/dist/{deploy-CZHTReh1.cjs → deploy-88E_1bHW.cjs} +26 -40
- package/dist/deploy-88E_1bHW.cjs.map +1 -0
- package/dist/{deploy-D6wCG-OQ.mjs → deploy-o5n6l4MO.mjs} +26 -40
- package/dist/deploy-o5n6l4MO.mjs.map +1 -0
- package/dist/{derive-Bsnm81mg.mjs → derive-Cd7Hl3r2.mjs} +4 -4
- package/dist/derive-Cd7Hl3r2.mjs.map +1 -0
- package/dist/{derive-ClMgyPzp.cjs → derive-CgZfoBU2.cjs} +3 -3
- package/dist/derive-CgZfoBU2.cjs.map +1 -0
- package/dist/{discover-DEOspD9M.cjs → discover-B3G8eyWX.cjs} +181 -43
- package/dist/discover-B3G8eyWX.cjs.map +1 -0
- package/dist/{discover-DOhYSKY_.mjs → discover-DWtHjc1x.mjs} +177 -39
- package/dist/discover-DWtHjc1x.mjs.map +1 -0
- package/dist/{dokploy-Dad-f6mO.mjs → dokploy-C1QCPJ1t.mjs} +2 -2
- package/dist/{dokploy-Dad-f6mO.mjs.map → dokploy-C1QCPJ1t.mjs.map} +1 -1
- package/dist/{dokploy-BeqMm-aL.cjs → dokploy-al6V2P9s.cjs} +2 -2
- package/dist/{dokploy-BeqMm-aL.cjs.map → dokploy-al6V2P9s.cjs.map} +1 -1
- package/dist/{eas-CamaGWDL.mjs → eas-D0jmXv7F.mjs} +3 -3
- package/dist/{eas-CamaGWDL.mjs.map → eas-D0jmXv7F.mjs.map} +1 -1
- package/dist/{eas-DWYhlJCr.cjs → eas-DAsdU35R.cjs} +3 -3
- package/dist/{eas-DWYhlJCr.cjs.map → eas-DAsdU35R.cjs.map} +1 -1
- package/dist/emit-Bj6XSivk.mjs +136 -0
- package/dist/emit-Bj6XSivk.mjs.map +1 -0
- package/dist/emit-CDC__ubE.cjs +147 -0
- package/dist/emit-CDC__ubE.cjs.map +1 -0
- package/dist/{encryption-UjD4kDRB.cjs → encryption-C5c50qvt.cjs} +2 -2
- package/dist/{encryption-UjD4kDRB.cjs.map → encryption-C5c50qvt.cjs.map} +1 -1
- package/dist/{encryption-DmDnVYe4.mjs → encryption-G8Ouiy55.mjs} +2 -2
- package/dist/{encryption-DmDnVYe4.mjs.map → encryption-G8Ouiy55.mjs.map} +1 -1
- package/dist/{engine-BaRuSjJf.cjs → engine-9C68_A78.cjs} +9 -14
- package/dist/engine-9C68_A78.cjs.map +1 -0
- package/dist/{engine-BxHQrByl.mjs → engine-bEuItjJN.mjs} +9 -14
- package/dist/engine-bEuItjJN.mjs.map +1 -0
- package/dist/{github-Fvg_6wTt.mjs → github-Buh2ldNN.mjs} +5 -5
- package/dist/{github-Fvg_6wTt.mjs.map → github-Buh2ldNN.mjs.map} +1 -1
- package/dist/{github-BO-bu8kf.cjs → github-R-Pot7QV.cjs} +5 -5
- package/dist/{github-BO-bu8kf.cjs.map → github-R-Pot7QV.cjs.map} +1 -1
- package/dist/{googlePlay-C5TgJQcS.mjs → googlePlay-B_X_DJp0.mjs} +3 -3
- package/dist/{googlePlay-C5TgJQcS.mjs.map → googlePlay-B_X_DJp0.mjs.map} +1 -1
- package/dist/{googlePlay-Dnlvz3rE.cjs → googlePlay-Bi5qneXA.cjs} +3 -3
- package/dist/{googlePlay-Dnlvz3rE.cjs.map → googlePlay-Bi5qneXA.cjs.map} +1 -1
- package/dist/{index-BYJMHnMt.d.cts → index-BymyHYdL.d.mts} +2 -2
- package/dist/{index-BYJMHnMt.d.cts.map → index-BymyHYdL.d.mts.map} +1 -1
- package/dist/{index-CBCGDhD6.d.mts → index-CTKfBwU3.d.cts} +2 -2
- package/dist/{index-CBCGDhD6.d.mts.map → index-CTKfBwU3.d.cts.map} +1 -1
- package/dist/index.cjs +69 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +69 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-BYvhE1Ek.cjs → migrate-Bv4AqxYP.cjs} +5 -7
- package/dist/migrate-Bv4AqxYP.cjs.map +1 -0
- package/dist/{migrate-SLRDSOkN.mjs → migrate-C9abovJK.mjs} +2 -2
- package/dist/{migrate-SLRDSOkN.mjs.map → migrate-C9abovJK.mjs.map} +1 -1
- package/dist/{migrate-DYncKsiF.cjs → migrate-DjCvZL4P.cjs} +2 -2
- package/dist/{migrate-DYncKsiF.cjs.map → migrate-DjCvZL4P.cjs.map} +1 -1
- package/dist/{migrate-Qe7kNf7P.mjs → migrate-WkC0pay4.mjs} +5 -7
- package/dist/migrate-WkC0pay4.mjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{publish-CZ7650El.mjs → publish-BVsLFs-n.mjs} +2 -2
- package/dist/{publish-CZ7650El.mjs.map → publish-BVsLFs-n.mjs.map} +1 -1
- package/dist/{publish-CdgAuHGF.cjs → publish-BbJ7Ols2.cjs} +2 -2
- package/dist/{publish-CdgAuHGF.cjs.map → publish-BbJ7Ols2.cjs.map} +1 -1
- package/dist/{ready-DhkmqsOH.cjs → ready-D0u7jGFV.cjs} +5 -5
- package/dist/{ready-DhkmqsOH.cjs.map → ready-D0u7jGFV.cjs.map} +1 -1
- package/dist/{ready-AcAH2WL6.mjs → ready-DyvWvbiq.mjs} +5 -5
- package/dist/{ready-AcAH2WL6.mjs.map → ready-DyvWvbiq.mjs.map} +1 -1
- package/dist/reconcile/public.cjs +3 -3
- package/dist/reconcile/public.d.cts +24 -29
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +24 -29
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +3 -3
- package/dist/{resolve-jB0LX21y.cjs → resolve-CBEFNYca.cjs} +4 -4
- package/dist/{resolve-jB0LX21y.cjs.map → resolve-CBEFNYca.cjs.map} +1 -1
- package/dist/{resolve-MoZFp8BC.mjs → resolve-CTYtfl0x.mjs} +4 -4
- package/dist/{resolve-MoZFp8BC.mjs.map → resolve-CTYtfl0x.mjs.map} +1 -1
- package/dist/{rollback-BpM_ekEG.mjs → rollback-BT6oPcnZ.mjs} +4 -4
- package/dist/{rollback-BpM_ekEG.mjs.map → rollback-BT6oPcnZ.mjs.map} +1 -1
- package/dist/{rollback-CTkBmEzm.cjs → rollback-RzUJ728z.cjs} +4 -4
- package/dist/{rollback-CTkBmEzm.cjs.map → rollback-RzUJ728z.cjs.map} +1 -1
- package/dist/{runtime-CBro-1N4.d.cts → runtime-Dl601UcU.d.cts} +2 -2
- package/dist/{runtime-CBro-1N4.d.cts.map → runtime-Dl601UcU.d.cts.map} +1 -1
- package/dist/{runtime-f9aiOHxq.d.mts → runtime-mR2O0z64.d.mts} +2 -2
- package/dist/{runtime-f9aiOHxq.d.mts.map → runtime-mR2O0z64.d.mts.map} +1 -1
- package/dist/sandbox/credentials-worker.cjs +2 -2
- package/dist/sandbox/credentials-worker.mjs +2 -2
- package/dist/sandbox/discover-worker.cjs +1 -4
- package/dist/sandbox/discover-worker.cjs.map +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -4
- package/dist/sandbox/discover-worker.mjs.map +1 -1
- package/dist/sandbox/migrate-worker.cjs +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{seeds-D4qjzFDF.mjs → seeds-CSNYLc4p.mjs} +48 -31
- package/dist/seeds-CSNYLc4p.mjs.map +1 -0
- package/dist/{seeds-6IhH9esB.cjs → seeds-CcK_C30B.cjs} +53 -30
- package/dist/seeds-CcK_C30B.cjs.map +1 -0
- package/dist/{serverSetup-CRJvE-KF.cjs → serverSetup-C2U4-2i0.cjs} +5 -5
- package/dist/{serverSetup-CRJvE-KF.cjs.map → serverSetup-C2U4-2i0.cjs.map} +1 -1
- package/dist/{serverSetup-23Jmihhj.mjs → serverSetup-DiJPhPOz.mjs} +5 -5
- package/dist/{serverSetup-23Jmihhj.mjs.map → serverSetup-DiJPhPOz.mjs.map} +1 -1
- package/dist/{sniffer-Ve5oNbHX.cjs → sniffer-B1iineXX.cjs} +7 -7
- package/dist/{sniffer-Ve5oNbHX.cjs.map → sniffer-B1iineXX.cjs.map} +1 -1
- package/dist/{sniffer-DbGKPWFo.mjs → sniffer-z-p2lTtc.mjs} +7 -7
- package/dist/{sniffer-DbGKPWFo.mjs.map → sniffer-z-p2lTtc.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Cr6pcIgx.cjs → snsSubscriptions-C7wClS6U.cjs} +3 -3
- package/dist/{snsSubscriptions-Cr6pcIgx.cjs.map → snsSubscriptions-C7wClS6U.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CUi0Wtto.mjs → snsSubscriptions-CYy7Faid.mjs} +3 -3
- package/dist/{snsSubscriptions-CUi0Wtto.mjs.map → snsSubscriptions-CYy7Faid.mjs.map} +1 -1
- package/dist/{sst-WPkIfa64.mjs → sst-Bz2HJlqc.mjs} +2 -2
- package/dist/{sst-WPkIfa64.mjs.map → sst-Bz2HJlqc.mjs.map} +1 -1
- package/dist/{sst-CHOp2-qt.cjs → sst-lvCHdYsY.cjs} +2 -2
- package/dist/{sst-CHOp2-qt.cjs.map → sst-lvCHdYsY.cjs.map} +1 -1
- package/dist/{stage-BiLP7bXI.cjs → stage-Cn3EEIB9.cjs} +5 -8
- package/dist/stage-Cn3EEIB9.cjs.map +1 -0
- package/dist/{stage-DrHKRHLN.mjs → stage-Cx1KKX_o.mjs} +5 -8
- package/dist/stage-Cx1KKX_o.mjs.map +1 -0
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-DBwedwSS.cjs → terminal-BIZRxV-e.cjs} +2 -2
- package/dist/{terminal-DBwedwSS.cjs.map → terminal-BIZRxV-e.cjs.map} +1 -1
- package/dist/{terminal-CebFDhWQ.mjs → terminal-PEvt24kO.mjs} +2 -2
- package/dist/{terminal-CebFDhWQ.mjs.map → terminal-PEvt24kO.mjs.map} +1 -1
- package/dist/{types-C5Zvkpc_.d.mts → types-C-uwKr3O.d.mts} +1 -18
- package/dist/types-C-uwKr3O.d.mts.map +1 -0
- package/dist/{types-CSOoemtk.d.cts → types-DOYYfQme.d.cts} +1 -18
- package/dist/types-DOYYfQme.d.cts.map +1 -0
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/package.json +15 -15
- package/dist/add-BpJ40b1f.cjs.map +0 -1
- package/dist/add-Cj6yp560.mjs.map +0 -1
- package/dist/compose-D6L79YLV.mjs.map +0 -1
- package/dist/compose-Diz_QC7m.cjs.map +0 -1
- package/dist/deploy-CZHTReh1.cjs.map +0 -1
- package/dist/deploy-D6wCG-OQ.mjs.map +0 -1
- package/dist/derive-Bsnm81mg.mjs.map +0 -1
- package/dist/derive-ClMgyPzp.cjs.map +0 -1
- package/dist/discover-DEOspD9M.cjs.map +0 -1
- package/dist/discover-DOhYSKY_.mjs.map +0 -1
- package/dist/emit-CYloptRS.cjs +0 -243
- package/dist/emit-CYloptRS.cjs.map +0 -1
- package/dist/emit-CiJGdy_f.mjs +0 -226
- package/dist/emit-CiJGdy_f.mjs.map +0 -1
- package/dist/engine-BaRuSjJf.cjs.map +0 -1
- package/dist/engine-BxHQrByl.mjs.map +0 -1
- package/dist/migrate-BYvhE1Ek.cjs.map +0 -1
- package/dist/migrate-Qe7kNf7P.mjs.map +0 -1
- package/dist/seeds-6IhH9esB.cjs.map +0 -1
- package/dist/seeds-D4qjzFDF.mjs.map +0 -1
- package/dist/stage-BiLP7bXI.cjs.map +0 -1
- package/dist/stage-DrHKRHLN.mjs.map +0 -1
- package/dist/types-C5Zvkpc_.d.mts.map +0 -1
- package/dist/types-CSOoemtk.d.cts.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
2
2
|
import { r as storedCredentials, x as gkmHome } from "./credentials-DpfnUvIR.mjs";
|
|
3
3
|
import { $ as IamUserNotOwned, G as checkS3Config, J as BucketNameUnavailable, K as AccessKeyLimit, L as resolveStageTelemetry, N as assertDeployedStage, Q as BucketRegionUnknown, U as stageProvider, W as S3_PROVISIONING, X as BucketProbeFailed, Y as BucketOwnedByAnotherProject, Z as BucketRegionMismatch, et as ProvisionedBucketUnreachable, ht as isReservedStageKey, nt as RotationInProgress, q as BucketKeySetElsewhere, rt as S3RegionRequired, tt as RecordedBucketUnreachable, u as getAppBuildOrder } from "./workspace-aiDQZMje.mjs";
|
|
4
|
-
import { E as BACKUPS_URL_KEY, I as stageBackups, L as deploysWithCompose, M as backupExpiries, P as backupsPrefix, S as assertSitePasswords, T as BACKUPS_SERVICE, _ as stageDnsDomains, a as subscriptionKey, b as awsEndpoint, d as recordTtl, l as dnsCredentials, m as settleStackDns, o as subscriptionResource, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
4
|
+
import { E as BACKUPS_URL_KEY, I as stageBackups, L as deploysWithCompose, M as backupExpiries, P as backupsPrefix, S as assertSitePasswords, T as BACKUPS_SERVICE, _ as stageDnsDomains, a as subscriptionKey, b as awsEndpoint, d as recordTtl, l as dnsCredentials, m as settleStackDns, o as subscriptionResource, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-CYy7Faid.mjs";
|
|
5
5
|
import { o as builtinTarget } from "./define-6poNqm5O.mjs";
|
|
6
|
-
import { $ as ORIGIN_VERIFY_HEADER, En as mergeLifecycle, N as stageProviderNotes, P as PROVIDER_KINDS, Qt as initStageSecrets, Yt as secretsStoreFor, _t as appEnvKeys, b as createComposeState, br as
|
|
7
|
-
import { n as derivedApps, t as appKey } from "./derive-
|
|
6
|
+
import { $ as ORIGIN_VERIFY_HEADER, En as mergeLifecycle, N as stageProviderNotes, P as PROVIDER_KINDS, Qt as initStageSecrets, Yt as secretsStoreFor, _t as appEnvKeys, b as createComposeState, br as isMainFrontendApp, ct as ExternalServicesNotConfigured, d as DeployJournal, dt as devServicesUsed, f as extractSubdomain, ft as externalServices, ht as stageServiceDeclarations, j as assertStageProvidersEnabled, m as normalizeDnsConfig, nt as originSecretKey, p as findRootDomain, pt as reportDevServices, rt as processorOriginHost, st as DevServicesNeedServerTarget, tr as usesTelemetry, tt as newOriginSecret, wt as constructGlobs, x as createEmptyState, xr as resolveHost, yr as NoDomainForStage } from "./seeds-CSNYLc4p.mjs";
|
|
7
|
+
import { n as derivedApps, t as appKey } from "./derive-Cd7Hl3r2.mjs";
|
|
8
8
|
import { n as deployIdentity, t as applicationName } from "./identity-CBXr4wNi.mjs";
|
|
9
|
-
import { i as discover,
|
|
9
|
+
import { i as discover, p as withOutput } from "./discover-DWtHjc1x.mjs";
|
|
10
10
|
import { c as withSandbox } from "./sandbox-CbVB7uOD.mjs";
|
|
11
11
|
import { findWorkspaceRoot, loadWorkspaceConfig } from "./config.mjs";
|
|
12
|
-
import { s as subscriberRoute } from "./SubscriberGenerator-
|
|
13
|
-
import { a as parseTargetOptions, o as resolveTarget } from "./resolve-
|
|
12
|
+
import { s as subscriberRoute } from "./SubscriberGenerator-zUd87wvg.mjs";
|
|
13
|
+
import { a as parseTargetOptions, o as resolveTarget } from "./resolve-CTYtfl0x.mjs";
|
|
14
14
|
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
15
|
-
import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-
|
|
15
|
+
import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-z-p2lTtc.mjs";
|
|
16
16
|
import { a as findProjectBucket, i as ensureProjectBucket, o as projectBucketName, r as callerAccountId, s as reconcileProjectBucketLifecycle } from "./projectBucket-C_DN4WzF.mjs";
|
|
17
|
-
import { n as assertStageCredentials } from "./credentialSchemas-
|
|
17
|
+
import { n as assertStageCredentials } from "./credentialSchemas-DYzO2_yG.mjs";
|
|
18
18
|
import { resolve } from "node:path";
|
|
19
19
|
import { randomInt } from "node:crypto";
|
|
20
20
|
import { bucketExpiry, dependentsOf, kebabCase, provideKey, providedKeyFor } from "@geekmidas/manifest";
|
|
@@ -1543,25 +1543,22 @@ async function ensureDistribution(ctx, clients, input) {
|
|
|
1543
1543
|
/** What S3 tells the topic about: every object written, and every removed. */
|
|
1544
1544
|
const BUCKET_EVENTS = ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"];
|
|
1545
1545
|
/**
|
|
1546
|
-
* Each bucket a subscriber watches, with the subscribers
|
|
1546
|
+
* Each bucket a subscriber watches, with the subscribers watching it: the
|
|
1547
|
+
* worker that runs each, and its export — what its route is named after.
|
|
1547
1548
|
*
|
|
1548
|
-
*
|
|
1549
|
-
*
|
|
1550
|
-
* subscriber in its declaration. Only a named subscriber can be subscribed: a
|
|
1551
|
-
* route is named after its export.
|
|
1549
|
+
* Read off the bucket's own node, where discovery nests every subscriber
|
|
1550
|
+
* bound to it with the worker that owns it.
|
|
1552
1551
|
*/
|
|
1553
|
-
function bucketWatchers(manifest
|
|
1552
|
+
function bucketWatchers(manifest) {
|
|
1554
1553
|
const watched = /* @__PURE__ */ new Map();
|
|
1555
1554
|
for (const [id, declaration] of Object.entries(manifest)) {
|
|
1556
1555
|
if (declaration.kind !== "objects") continue;
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
const declared = (declaration.subscribers?.length ?? 0) > 0;
|
|
1564
|
-
if (named.length > 0 || edged || declared) watched.set(id, named);
|
|
1556
|
+
const subscribers = declaration.subscribers ?? [];
|
|
1557
|
+
if (subscribers.length === 0) continue;
|
|
1558
|
+
watched.set(id, subscribers.flatMap((s) => s.owner ? [{
|
|
1559
|
+
worker: s.owner,
|
|
1560
|
+
name: s.id
|
|
1561
|
+
}] : []).sort((a, b) => `${a.worker}/${a.name}`.localeCompare(`${b.worker}/${b.name}`)));
|
|
1565
1562
|
}
|
|
1566
1563
|
return watched;
|
|
1567
1564
|
}
|
|
@@ -1928,7 +1925,7 @@ function bucketOrigins(input) {
|
|
|
1928
1925
|
const { manifest, workspace, stage } = input;
|
|
1929
1926
|
const keys = bucketKeys(manifest, input.bucket);
|
|
1930
1927
|
const readers = Object.entries(manifest).filter(([, d]) => d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site").filter(([id]) => {
|
|
1931
|
-
const env = appEnvKeys(manifest, appKey(id)
|
|
1928
|
+
const env = appEnvKeys(manifest, appKey(id));
|
|
1932
1929
|
return env !== void 0 && keys.some((key) => env.has(key));
|
|
1933
1930
|
});
|
|
1934
1931
|
const sites = /* @__PURE__ */ new Set();
|
|
@@ -2104,7 +2101,7 @@ let makeClients = defaultClients;
|
|
|
2104
2101
|
async function ensureS3(ctx) {
|
|
2105
2102
|
const region = s3Region(ctx);
|
|
2106
2103
|
const clients = await makeClients(ctx.credential, region);
|
|
2107
|
-
const watched = bucketWatchers(ctx.manifest
|
|
2104
|
+
const watched = bucketWatchers(ctx.manifest);
|
|
2108
2105
|
for (const construct of bucketConstructs(ctx.manifest)) await ensureBucket(ctx, clients, construct, watched.get(construct.id));
|
|
2109
2106
|
}
|
|
2110
2107
|
async function ensureBucket(ctx, stageClients, construct, watchers) {
|
|
@@ -2130,7 +2127,6 @@ async function ensureBucket(ctx, stageClients, construct, watchers) {
|
|
|
2130
2127
|
origins: bucketOrigins({
|
|
2131
2128
|
workspace: ctx.workspace,
|
|
2132
2129
|
manifest: ctx.manifest,
|
|
2133
|
-
runnables: ctx.runnables,
|
|
2134
2130
|
stage: ctx.stage,
|
|
2135
2131
|
bucket: id
|
|
2136
2132
|
}).origins
|
|
@@ -2384,7 +2380,6 @@ async function ensureBucketSettings(ctx, clients, input) {
|
|
|
2384
2380
|
const { origins, unresolved } = bucketOrigins({
|
|
2385
2381
|
workspace: ctx.workspace,
|
|
2386
2382
|
manifest: ctx.manifest,
|
|
2387
|
-
runnables: ctx.runnables,
|
|
2388
2383
|
stage: ctx.stage,
|
|
2389
2384
|
bucket: id
|
|
2390
2385
|
});
|
|
@@ -2481,8 +2476,8 @@ const BUILTIN_PROVIDERS = { objects: { s3: {
|
|
|
2481
2476
|
check: checkS3Config,
|
|
2482
2477
|
provisioning: S3_PROVISIONING,
|
|
2483
2478
|
credentials: awsProvisioningCredentials,
|
|
2484
|
-
runtimeKeys(manifest
|
|
2485
|
-
const watched = bucketWatchers(manifest
|
|
2479
|
+
runtimeKeys(manifest) {
|
|
2480
|
+
const watched = bucketWatchers(manifest);
|
|
2486
2481
|
return bucketConstructs(manifest).flatMap((b) => [
|
|
2487
2482
|
provideKey(b.id, "url"),
|
|
2488
2483
|
...watched.has(b.id) ? [provideKey(b.id, "eventsConnectionString")] : [],
|
|
@@ -2565,7 +2560,6 @@ async function provisionStage(options) {
|
|
|
2565
2560
|
const dryRun = options.dryRun === true;
|
|
2566
2561
|
const env = options.env ?? process.env;
|
|
2567
2562
|
const log = options.log ?? ((line) => console.log(line));
|
|
2568
|
-
const runnables = options.runnables ?? {};
|
|
2569
2563
|
const reports = [];
|
|
2570
2564
|
const configured = [];
|
|
2571
2565
|
for (const kind of PROVIDER_KINDS) {
|
|
@@ -2612,7 +2606,7 @@ async function provisionStage(options) {
|
|
|
2612
2606
|
}
|
|
2613
2607
|
const identity = deployIdentity(workspace, stage);
|
|
2614
2608
|
let secrets = (await options.secrets.read())?.custom ?? {};
|
|
2615
|
-
for (const entry of configured) entry.report.planned = entry.provider.runtimeKeys(manifest
|
|
2609
|
+
for (const entry of configured) entry.report.planned = entry.provider.runtimeKeys(manifest).filter((key) => secrets[key] === void 0);
|
|
2616
2610
|
const state = dryRun ? await readOnlyState(options.state, stage) : journalState(await DeployJournal.open(options.state, stage, () => deploysWithCompose(workspace) ? createComposeState(stage) : createEmptyState(stage, "", "")));
|
|
2617
2611
|
const writeSecrets = async (values) => {
|
|
2618
2612
|
if (dryRun) return;
|
|
@@ -2633,7 +2627,6 @@ async function provisionStage(options) {
|
|
|
2633
2627
|
await entry.provider.ensure({
|
|
2634
2628
|
workspace,
|
|
2635
2629
|
manifest,
|
|
2636
|
-
runnables,
|
|
2637
2630
|
...options.subscribers ? { subscribers: options.subscribers } : {},
|
|
2638
2631
|
stage,
|
|
2639
2632
|
identity,
|
|
@@ -2854,10 +2847,7 @@ async function assertStageReady(ctx) {
|
|
|
2854
2847
|
const domain = workspace.domains?.[stage];
|
|
2855
2848
|
const services = externalServices({
|
|
2856
2849
|
stage,
|
|
2857
|
-
declarations: stageServiceDeclarations({
|
|
2858
|
-
manifest,
|
|
2859
|
-
...ctx.runnables ? { runnables: ctx.runnables } : {}
|
|
2860
|
-
}),
|
|
2850
|
+
declarations: stageServiceDeclarations({ manifest }),
|
|
2861
2851
|
supplied,
|
|
2862
2852
|
allow: ctx.allowDevServices,
|
|
2863
2853
|
...domain ? { domain } : {},
|
|
@@ -3097,7 +3087,6 @@ async function provisionResources(phaseCtx, request, ctx, store, emit) {
|
|
|
3097
3087
|
workspace: phaseCtx.workspace,
|
|
3098
3088
|
stage: phaseCtx.stage,
|
|
3099
3089
|
manifest: phaseCtx.manifest,
|
|
3100
|
-
runnables: phaseCtx.runnables ?? {},
|
|
3101
3090
|
...phaseCtx.subscribers ? { subscribers: phaseCtx.subscribers } : {},
|
|
3102
3091
|
secrets: phaseCtx.secrets,
|
|
3103
3092
|
state: store,
|
|
@@ -3191,13 +3180,11 @@ async function prepare(source, request, ctx, emit, redactor) {
|
|
|
3191
3180
|
const options = await parseTargetOptions(resolved);
|
|
3192
3181
|
const allowDevServices = request.allowDevServices === true;
|
|
3193
3182
|
if (allowDevServices && resolved.target.runtime === "aws") throw new DevServicesNeedServerTarget(targetName);
|
|
3194
|
-
const runnables = {};
|
|
3195
3183
|
const background = {};
|
|
3196
3184
|
const subscribers = {};
|
|
3197
3185
|
const manifest = await discover({
|
|
3198
3186
|
patterns: constructGlobs(configured),
|
|
3199
3187
|
cwd: configured.root,
|
|
3200
|
-
runnables,
|
|
3201
3188
|
background,
|
|
3202
3189
|
subscribers
|
|
3203
3190
|
});
|
|
@@ -3279,7 +3266,6 @@ async function prepare(source, request, ctx, emit, redactor) {
|
|
|
3279
3266
|
identity,
|
|
3280
3267
|
workspace,
|
|
3281
3268
|
manifest,
|
|
3282
|
-
runnables,
|
|
3283
3269
|
background,
|
|
3284
3270
|
subscribers,
|
|
3285
3271
|
options,
|
|
@@ -3436,4 +3422,4 @@ async function load(input, sandbox) {
|
|
|
3436
3422
|
//#endregion
|
|
3437
3423
|
export { UnknownDeployApps as a, bucketName as c, TargetBuildsNothing as i, iamUserName as l, NoDeployableApps as n, backupsUserName as o, RollbackFailed as r, IAM_USER_PATH as s, deploy as t };
|
|
3438
3424
|
|
|
3439
|
-
//# sourceMappingURL=deploy-
|
|
3425
|
+
//# sourceMappingURL=deploy-o5n6l4MO.mjs.map
|