@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
|
@@ -2,14 +2,14 @@ import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
|
2
2
|
import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
3
3
|
import { s as run$1, x as gkmHome } from "./credentials-DpfnUvIR.mjs";
|
|
4
4
|
import { B as LOGS_PORT, H as provisioningOf, R as stageSampleRate, U as stageProvider, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as UnknownSecretsStoreProvider, ft as SERVER_IPV4_KEY, ht as isReservedStageKey, j as TEST_STAGE, pt as SERVER_IPV6_KEY, ut as s3SecretsLocation, v as getPublicEnvPrefix, z as telemetryEnv } from "./workspace-aiDQZMje.mjs";
|
|
5
|
-
import { r as protectedSubdomains, t as appKey } from "./derive-
|
|
5
|
+
import { r as protectedSubdomains, t as appKey } from "./derive-Cd7Hl3r2.mjs";
|
|
6
6
|
import { c as DEFAULT_STORAGE, l as holdsEveryCache, o as DEFAULT_CACHE, s as DEFAULT_EVENTS$1 } from "./drivers-CDjpjakg.mjs";
|
|
7
7
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
8
|
-
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-
|
|
9
|
-
import { d as ConstructGenerator, f as output,
|
|
8
|
+
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-DDfPq2AZ.mjs";
|
|
9
|
+
import { _ as workerEdges, d as ConstructGenerator, f as output, i as discover, m as eventsEdgeBucket } from "./discover-DWtHjc1x.mjs";
|
|
10
10
|
import { ConfigNotFound, NotInAnApp, loadWorkspaceAppInfo, loadWorkspaceConfig } from "./config.mjs";
|
|
11
|
-
import { i as readFakes, o as objectsRoute, r as readCredentialFakes, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
12
|
-
import { c as runtimeOf } from "./resolve-
|
|
11
|
+
import { i as readFakes, o as objectsRoute, r as readCredentialFakes, t as SubscriberGenerator } from "./SubscriberGenerator-zUd87wvg.mjs";
|
|
12
|
+
import { c as runtimeOf } from "./resolve-CTYtfl0x.mjs";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
|
|
14
14
|
import { constants, existsSync, readFileSync } from "node:fs";
|
|
15
15
|
import { appendFile, chmod, copyFile, mkdir, readFile, readdir, rm, stat, writeFile } from "node:fs/promises";
|
|
@@ -1386,6 +1386,26 @@ function credentialOf(options) {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
}
|
|
1388
1388
|
/**
|
|
1389
|
+
* What project code run against a stage is handed — a migration, a seed, an
|
|
1390
|
+
* app under `gkm dev`, `gkm exec`'s command, `gkm compose`'s seeds: the
|
|
1391
|
+
* stage's stored secrets, under every value the stage resolved.
|
|
1392
|
+
*
|
|
1393
|
+
* One merge for every command, so a seed sees the same keys whichever one
|
|
1394
|
+
* runs it. Each command supplies only what is its own — the ports it reaches
|
|
1395
|
+
* the containers on, their logins — as inputs to {@link envFor}.
|
|
1396
|
+
*
|
|
1397
|
+
* The resolved values win: they are the statement of what exists, and a
|
|
1398
|
+
* stored URL naming an old port is the drift resolution replaces. A command
|
|
1399
|
+
* whose stage says a value by hand (a deployed stack's) leaves that key out
|
|
1400
|
+
* of `resolved`.
|
|
1401
|
+
*/
|
|
1402
|
+
function stageEnv(stored, resolved) {
|
|
1403
|
+
return {
|
|
1404
|
+
...stored,
|
|
1405
|
+
...resolved
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1389
1409
|
* Every env key a reconciled plan resolves, and its value.
|
|
1390
1410
|
*
|
|
1391
1411
|
* Keys come from the declaration rather than being re-derived, so what the build
|
|
@@ -1530,7 +1550,9 @@ function deviceBuckets(plan) {
|
|
|
1530
1550
|
if (caller?.kind === "mobile-app") return true;
|
|
1531
1551
|
return (caller?.kind === "rest-api" || caller?.kind === "websocket-api") && (caller.callers ?? []).some((c) => byId.get(c)?.kind === "mobile-app");
|
|
1532
1552
|
};
|
|
1533
|
-
|
|
1553
|
+
const buckets = new Set(plan.resources.filter((r) => r.kind === "objects" || r.kind === "file-server").filter((r) => (r.callers ?? []).some(fromApp)).map((r) => r.id));
|
|
1554
|
+
for (const r of plan.resources) if (r.kind === "file-server" && r.of && buckets.has(r.of)) buckets.add(r.id);
|
|
1555
|
+
return buckets;
|
|
1534
1556
|
}
|
|
1535
1557
|
/**
|
|
1536
1558
|
* Where a WebSocket surface's publisher meets its sockets: the local Redis,
|
|
@@ -1670,6 +1692,8 @@ function urlFor(resource, plan, ports, project, addresses, credential, lan) {
|
|
|
1670
1692
|
case "file-server": {
|
|
1671
1693
|
const origin = plan.resources.find((r) => r.id === resource.of);
|
|
1672
1694
|
if (!origin) return void 0;
|
|
1695
|
+
const placed = addresses?.[resource.id];
|
|
1696
|
+
if (placed) return placed;
|
|
1673
1697
|
const objects = origin.container ? ports[primaryPortKey(origin.container)] : void 0;
|
|
1674
1698
|
if (lan && !resource.processors?.length && objects !== void 0) return `http://${lan}:${objects}/${origin.name}`;
|
|
1675
1699
|
return plan.containers.includes("caddy") ? `https://${hostFor$1(resource, project)}:${port}` : `http://${LOCAL_HOST}:${port}/${origin.name}`;
|
|
@@ -3101,7 +3125,7 @@ function hostApps(workspace, manifest) {
|
|
|
3101
3125
|
return {
|
|
3102
3126
|
name,
|
|
3103
3127
|
root: isAbsolute(app.path) ? app.path : join(workspace.root, app.path),
|
|
3104
|
-
generated: !(surface?.kind === "websocket-api" || surface?.kind === "rest-api" && surface.
|
|
3128
|
+
generated: !(surface?.kind === "websocket-api" || surface?.kind === "rest-api" && surface.servesItself === true)
|
|
3105
3129
|
};
|
|
3106
3130
|
}).sort((a, b) => a.name.localeCompare(b.name));
|
|
3107
3131
|
}
|
|
@@ -6183,13 +6207,11 @@ function fakesApply(stage, fake, env = process.env) {
|
|
|
6183
6207
|
* stays a pure-ish function of its inputs and the store keeps its single owner.
|
|
6184
6208
|
*/
|
|
6185
6209
|
async function reconcileWorkspace(workspace, options) {
|
|
6186
|
-
const runnables = {};
|
|
6187
6210
|
const background = {};
|
|
6188
6211
|
const subscribers = {};
|
|
6189
6212
|
const discovered = await discover({
|
|
6190
6213
|
patterns: constructGlobs(workspace),
|
|
6191
6214
|
cwd: workspace.root,
|
|
6192
|
-
runnables,
|
|
6193
6215
|
background,
|
|
6194
6216
|
subscribers
|
|
6195
6217
|
});
|
|
@@ -6219,7 +6241,7 @@ async function reconcileWorkspace(workspace, options) {
|
|
|
6219
6241
|
fakes,
|
|
6220
6242
|
credentialFakes,
|
|
6221
6243
|
...objectWebhooks.length > 0 ? { objectWebhooks } : {},
|
|
6222
|
-
apps: (containers) => appServices(workspace, manifest, containers, credentials,
|
|
6244
|
+
apps: (containers) => appServices(workspace, manifest, containers, credentials, fakes, credentialFakes),
|
|
6223
6245
|
...options.start === void 0 ? {} : { start: options.start },
|
|
6224
6246
|
...options.progress ? { progress: options.progress } : {}
|
|
6225
6247
|
});
|
|
@@ -6437,16 +6459,16 @@ function networkEnv(plan, options, hostOf = (container) => container) {
|
|
|
6437
6459
|
* `undefined` for an app no declaration describes, which gets nothing but its
|
|
6438
6460
|
* port.
|
|
6439
6461
|
*/
|
|
6440
|
-
function appEnvKeys(manifest, appName
|
|
6462
|
+
function appEnvKeys(manifest, appName) {
|
|
6441
6463
|
const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site" || d.kind === "mobile-app") && appKey(id) === appName);
|
|
6442
6464
|
if (!entry) return void 0;
|
|
6443
|
-
const [
|
|
6465
|
+
const [, declaration] = entry;
|
|
6444
6466
|
const keys = /* @__PURE__ */ new Set([
|
|
6445
6467
|
...declaration.provides ?? [],
|
|
6446
6468
|
...declaration.requires ?? [],
|
|
6447
6469
|
...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
|
|
6448
6470
|
]);
|
|
6449
|
-
addEdgeKeys(manifest,
|
|
6471
|
+
addEdgeKeys(manifest, dependenciesOf(declaration).map((edge) => edge.target), keys, declaration.kind === "site" || declaration.kind === "mobile-app");
|
|
6450
6472
|
if (declaration.kind === "site" || declaration.kind === "mobile-app") {
|
|
6451
6473
|
for (const key of TELEMETRY_KEYS) keys.delete(key);
|
|
6452
6474
|
for (const key of Object.keys(publicEnvFor(declaration, manifest))) keys.add(key);
|
|
@@ -6456,12 +6478,12 @@ function appEnvKeys(manifest, appName, runnables = {}) {
|
|
|
6456
6478
|
/**
|
|
6457
6479
|
* The keys a Worker's own process reads: what the worker and everything built
|
|
6458
6480
|
* from it declared an edge to — the queues its consumers drain and the topics
|
|
6459
|
-
* its subscribers are bound to among them (see `
|
|
6460
|
-
*
|
|
6481
|
+
* its subscribers are bound to among them (see `workerEdges`) — and the
|
|
6482
|
+
* broker its crons schedule through.
|
|
6461
6483
|
*
|
|
6462
6484
|
* `undefined` when no worker has that id.
|
|
6463
6485
|
*/
|
|
6464
|
-
function workerEnvKeys(manifest, workerId
|
|
6486
|
+
function workerEnvKeys(manifest, workerId) {
|
|
6465
6487
|
const declaration = manifest[workerId];
|
|
6466
6488
|
if (declaration?.kind !== "worker") return void 0;
|
|
6467
6489
|
const keys = /* @__PURE__ */ new Set([
|
|
@@ -6469,7 +6491,7 @@ function workerEnvKeys(manifest, workerId, runnables = {}) {
|
|
|
6469
6491
|
...declaration.requires ?? [],
|
|
6470
6492
|
"EVENT_PUBLISHER_CONNECTION_STRING"
|
|
6471
6493
|
]);
|
|
6472
|
-
addEdgeKeys(manifest,
|
|
6494
|
+
addEdgeKeys(manifest, workerEdges(manifest, workerId), keys);
|
|
6473
6495
|
return keys;
|
|
6474
6496
|
}
|
|
6475
6497
|
/** What each construct an edge reaches hands the process that reaches it. */
|
|
@@ -6477,15 +6499,11 @@ function workerEnvKeys(manifest, workerId, runnables = {}) {
|
|
|
6477
6499
|
* The keys a file server's processor unit reads: its bucket's, and what each
|
|
6478
6500
|
* of its processors depends on. `undefined` for a file server with none.
|
|
6479
6501
|
*/
|
|
6480
|
-
function processorEnvKeys(manifest, fileServerId
|
|
6502
|
+
function processorEnvKeys(manifest, fileServerId) {
|
|
6481
6503
|
const server = manifest[fileServerId];
|
|
6482
6504
|
if (server?.kind !== "file-server" || !server.processors?.length) return;
|
|
6483
6505
|
const keys = /* @__PURE__ */ new Set();
|
|
6484
|
-
addEdgeKeys(manifest, [
|
|
6485
|
-
server.of,
|
|
6486
|
-
...server.processors.flatMap((p) => p.dependencies.map((d) => d.target)),
|
|
6487
|
-
...runnables[fileServerId] ?? []
|
|
6488
|
-
], keys);
|
|
6506
|
+
addEdgeKeys(manifest, [server.of, ...server.processors.flatMap((p) => p.dependencies.map((d) => d.target))], keys);
|
|
6489
6507
|
return keys;
|
|
6490
6508
|
}
|
|
6491
6509
|
function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
@@ -6520,7 +6538,7 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
|
6520
6538
|
}
|
|
6521
6539
|
}
|
|
6522
6540
|
/** One compose service per app the workspace runs, behind the apps profile. */
|
|
6523
|
-
function appServices(workspace, manifest, containers, credentials,
|
|
6541
|
+
function appServices(workspace, manifest, containers, credentials, fakes = {}, credentialFakes = {}) {
|
|
6524
6542
|
const plan = localPlan(workspace, manifest, fakes, credentialFakes);
|
|
6525
6543
|
const derivation = {
|
|
6526
6544
|
project: workspace.name,
|
|
@@ -6562,7 +6580,7 @@ function appServices(workspace, manifest, containers, credentials, runnables = {
|
|
|
6562
6580
|
};
|
|
6563
6581
|
continue;
|
|
6564
6582
|
}
|
|
6565
|
-
const allowed = appEnvKeys(manifest, name
|
|
6583
|
+
const allowed = appEnvKeys(manifest, name);
|
|
6566
6584
|
const own = scopeTelemetryEnv(Object.fromEntries(Object.entries(env).filter(([envKey]) => allowed?.has(envKey))), {
|
|
6567
6585
|
uses: appTelemetry(manifest, name) !== void 0,
|
|
6568
6586
|
serviceName: name,
|
|
@@ -6716,7 +6734,6 @@ const SERVICE_KINDS = {
|
|
|
6716
6734
|
*/
|
|
6717
6735
|
function stageServiceDeclarations(input) {
|
|
6718
6736
|
const { manifest } = input;
|
|
6719
|
-
const runnables = input.runnables ?? {};
|
|
6720
6737
|
const owners = /* @__PURE__ */ new Map();
|
|
6721
6738
|
for (const [id, declaration] of Object.entries(manifest)) {
|
|
6722
6739
|
if (!SERVICE_KINDS[declaration.kind]) continue;
|
|
@@ -6739,9 +6756,9 @@ function stageServiceDeclarations(input) {
|
|
|
6739
6756
|
};
|
|
6740
6757
|
for (const [id, declaration] of Object.entries(manifest)) {
|
|
6741
6758
|
const name = appKey(id);
|
|
6742
|
-
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name
|
|
6759
|
+
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name) ?? []);
|
|
6743
6760
|
if (declaration.kind === "site") read(name, Object.values(publicEnvFor(declaration, manifest)));
|
|
6744
|
-
if (declaration.kind === "worker") read(name, workerEnvKeys(manifest, id
|
|
6761
|
+
if (declaration.kind === "worker") read(name, workerEnvKeys(manifest, id) ?? []);
|
|
6745
6762
|
}
|
|
6746
6763
|
return Object.entries(manifest).flatMap(([id, declaration]) => {
|
|
6747
6764
|
const kind = SERVICE_KINDS[declaration.kind];
|
|
@@ -8619,7 +8636,7 @@ async function createDnsProvider(options) {
|
|
|
8619
8636
|
});
|
|
8620
8637
|
}
|
|
8621
8638
|
if (provider === "godaddy") {
|
|
8622
|
-
const { GoDaddyProvider } = await import("./GoDaddyProvider-
|
|
8639
|
+
const { GoDaddyProvider } = await import("./GoDaddyProvider-baMIwhIy.mjs");
|
|
8623
8640
|
return new GoDaddyProvider(options.godaddy ?? {});
|
|
8624
8641
|
}
|
|
8625
8642
|
if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
|
|
@@ -9299,6 +9316,6 @@ function reportPlannedSeeds(planned, log) {
|
|
|
9299
9316
|
for (const { folder, seeds } of planned) log(`🌱 ${folder}: would run ${seeds.length} (${seeds.join(", ")})`);
|
|
9300
9317
|
}
|
|
9301
9318
|
//#endregion
|
|
9302
|
-
export { ORIGIN_VERIFY_HEADER as $,
|
|
9319
|
+
export { ORIGIN_VERIFY_HEADER as $, surfaceClientTraced as $n, maskPassword as $t, StageProviderDisabled as A, postgresSuperuser as An, LEGACY_LOCAL_LOGIN as At, processorDockerfile as B, redisService as Bn, createCredentialsPreload as Bt, getGeneratedSecret as C, postgresDatabaseNames as Cn, backendsOf as Ct, setBackupState as D, LOCAL_RABBITMQ_USER as Dn, workspace_exports as Dt, setApplicationId as E, mergeLifecycle as En, reconcileWorkspace as Et, DockerBuildFailed as F, projectKey as Fn, composeFor as Ft, workerBundleName as G, localRolePassword as Gn, loadPortState as Gt, workerDockerfile as H, stackRedis as Hn, findAvailablePort as Ht, DockerPushFailed as I, readKey as In, cacheBackendFor as It, CronGenerator as J, planFor as Jn, isRemoteStore as Jt, workerEntryDir as K, stageEnv as Kn, loadSecretsForApp as Kt, appDockerfile as L, withGeneratedSecrets as Ln, eventsBackendFor as Lt, provisionCommand as M, FileSecretsStore as Mn, bucketClient as Mt, stageProviderNotes as N, getKeyPath as Nn, pgClient as Nt, setGeneratedSecret as O, loadLocalCredentials as On, LOCAL_CA_PATH as Ot, PROVIDER_KINDS as P, keystoreProject as Pn, CLUSTER_DATABASE as Pt, processorInfo as Q, scopeTelemetryEnv as Qn, initStageSecrets as Qt, dockerCommand as R, REDIS_SERVICE as Rn, providerOf as Rt, getBackupState as S, bucketPolicies as Sn, FAKE_ENV as St, recordRollback as T, quoteIdentifier as Tn, derivedContainers as Tt, workerDockerfileOf as U, withRedisPassword as Un, isPortAvailable as Ut, processorNative as V, runsRedis as Vn, createEntryWrapper as Vt, WorkerGenerator as W, envFor as Wn, loadEnvFiles as Wt, processorBundleName as X, appTelemetry as Xn, storeFromConfig as Xt, ProcessorGenerator as Y, resourceName as Yn, secretsStoreFor as Yt, processorEntryDir as Z, isTelemetryKey as Zn, store_exports as Zt, DnsRecordsUnreadable as _, applyLifecycles as _n, stackLogs as _r, appEnvKeys as _t, dnsResources as a, PROCESSOR_PORT as an, hostFor$1 as ar, AllowDevServicesTakesNoValue as at, createComposeState as b, applyPostgres as bn, isMainFrontendApp as br, processorEnvKeys as bt, currentActor as c, detectPackageManager as cn, fakeKey as cr, ExternalServicesNotConfigured as ct, DeployJournal as d, isImageBuild as dn, postgresImage as dr, devServicesUsed as dt, storage_exports as en, telemetryOf as er, PROCESSOR_ORIGIN_SECRET_ENV as et, extractSubdomain as f, publicBuildValues as fn, primaryPortKey as fr, externalServices as ft, verifyDnsRecords as g, applyBuckets as gn, logsService as gr, suppliedOnly as gt, orchestrateDns as h, workerUnits as hn, logsAccess as hr, stageServiceDeclarations as ht, dnsRecordResource as i, imageLayout as in, EMULATOR_ACCESS_KEY_ID as ir, validateImageRef as it, assertStageProvidersEnabled as j, readLocalCredentials as jn, ensurePostgresLogin as jt, setPostgresBackupId as k, postgresRoleSlug as kn, forgetState as kt, describeActor as l, findBuildRoot as ln, portKeys as lr, STORAGE_KEY_PAIR as lt, normalizeDnsConfig as m, processorUnits as mn, LOGS_SERVICE as mr, requiredStageKeys as mt, reportDatabaseRuns as n, withCustomSecret as nn, minioWebhookEnv as nr, originSecretKey as nt, forgetDnsResource as o, TURBO_VERSION as on, DEFAULT_IMAGES as or, DEV_SERVICES as ot, findRootDomain as p, isUnder as pn, LOCAL_LOGS_EMAIL as pr, reportDevServices as pt, QueueGenerator as q, TELEMETRY_CONTAINER as qn, prepareEntryCredentials as qt, reportPlannedSeeds as r, composeBuildPaths as rn, watchedBuckets as rr, processorOriginHost as rt, recordDnsChanges as s, WORKER_PORT as sn, describeServices as sr, DevServicesNeedServerTarget as st, DeploySeedsFailed as t, toEmbeddableSecrets as tn, usesTelemetry as tr, newOriginSecret as tt, isCi as u, imageBuildCredentials as un, portsOf as ur, assertDevServicesFlag as ut, createDnsProvider as v, applyNotifications as vn, withLogsPassword as vr, dockerfileOf as vt, recordRelease as w, postgresStatements as wn, constructGlobs as wt, createEmptyState as x, bucketLifecycles as xn, resolveHost as xr, workerEnvKeys as xt, asDokployState as y, applyPolicies as yn, NoDomainForStage as yr, networkEnv as yt, ensureDockerignore as z, STACK_CACHE as zn, storageBackendFor as zt };
|
|
9303
9320
|
|
|
9304
|
-
//# sourceMappingURL=seeds-
|
|
9321
|
+
//# sourceMappingURL=seeds-CSNYLc4p.mjs.map
|