@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
package/dist/index.mjs
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
4
|
import { _ as storeDokployCredentials, d as getDokployRegistryId, f as getDokployToken, g as removeGoDaddyCredentials, h as removeDokployCredentials, i as CommandFailed, l as getCredentialsPath, m as readCredentials, o as DEFAULT_TIMEOUT_MS, u as getDokployCredentials, v as storeGoDaddyToken, y as storeHostingerToken } from "./credentials-DpfnUvIR.mjs";
|
|
5
|
-
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-
|
|
5
|
+
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-Bdx2rqtO.mjs";
|
|
6
6
|
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-aiDQZMje.mjs";
|
|
7
|
-
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
7
|
+
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-CYy7Faid.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { $n as
|
|
10
|
-
import { i as wildcardSite, r as protectedSubdomains, t as appKey } from "./derive-
|
|
9
|
+
import { $n as surfaceClientTraced, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as stageEnv$1, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as scopeTelemetryEnv, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Xn as appTelemetry, Y as ProcessorGenerator, Yt as secretsStoreFor, Z as processorEntryDir, a as dnsResources, cr as fakeKey, dn as isImageBuild, er as telemetryOf, fr as primaryPortKey, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, mn as processorUnits, nn as withCustomSecret, pn as isUnder, pr as LOCAL_LOGS_EMAIL, q as QueueGenerator, qn as TELEMETRY_CONTAINER, qt as prepareEntryCredentials, sr as describeServices, tn as toEmbeddableSecrets, un as imageBuildCredentials, ur as portsOf, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-CSNYLc4p.mjs";
|
|
10
|
+
import { i as wildcardSite, r as protectedSubdomains, t as appKey } from "./derive-Cd7Hl3r2.mjs";
|
|
11
11
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn, u as isCacheBackend } from "./drivers-CDjpjakg.mjs";
|
|
12
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
13
|
-
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-
|
|
14
|
-
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-
|
|
13
|
+
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-DDfPq2AZ.mjs";
|
|
14
|
+
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-DWtHjc1x.mjs";
|
|
15
15
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
16
|
-
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
16
|
+
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-zUd87wvg.mjs";
|
|
17
17
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
18
18
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
19
|
-
import { n as
|
|
19
|
+
import { n as withHandlers, t as manifestModule } from "./emit-Bj6XSivk.mjs";
|
|
20
20
|
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
21
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
22
|
-
import { t as deploy$1 } from "./deploy-
|
|
23
|
-
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
21
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-z-p2lTtc.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-o5n6l4MO.mjs";
|
|
23
|
+
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DYzO2_yG.mjs";
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-BlH6Eanc.mjs";
|
|
25
25
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
26
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
26
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-DyvWvbiq.mjs";
|
|
27
27
|
import { createRequire } from "node:module";
|
|
28
28
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
29
29
|
import { Command, Option } from "commander";
|
|
@@ -38,6 +38,7 @@ import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
|
|
|
38
38
|
import { canonicalId, dependenciesOf, kebabCase, migrationFolder, provideKey, schemeBase, seedFolder, serviceKey, wildcardDomainOf } from "@geekmidas/manifest";
|
|
39
39
|
import { pathToFileURL } from "node:url";
|
|
40
40
|
import { promisify } from "node:util";
|
|
41
|
+
import { Function } from "@geekmidas/constructs/functions";
|
|
41
42
|
import fg from "fast-glob";
|
|
42
43
|
import { parseDocument, stringify } from "yaml";
|
|
43
44
|
import chokidar from "chokidar";
|
|
@@ -48,10 +49,9 @@ import { createServer as createServer$2 } from "http";
|
|
|
48
49
|
import { Http2ServerRequest } from "http2";
|
|
49
50
|
import { Readable as Readable$1 } from "stream";
|
|
50
51
|
import crypto from "crypto";
|
|
51
|
-
import { Function } from "@geekmidas/constructs/functions";
|
|
52
52
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
53
53
|
//#region package.json
|
|
54
|
-
var version = "10.0.0-alpha.
|
|
54
|
+
var version = "10.0.0-alpha.138";
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/prompt.ts
|
|
57
57
|
/**
|
|
@@ -134,7 +134,7 @@ const logger$8 = console;
|
|
|
134
134
|
* Validate Dokploy token by making a test API call
|
|
135
135
|
*/
|
|
136
136
|
async function validateDokployToken(endpoint, token) {
|
|
137
|
-
const { DokployApi } = await import("./sniffer-
|
|
137
|
+
const { DokployApi } = await import("./sniffer-z-p2lTtc.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2202,7 +2202,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2202
2202
|
const cwd = options.cwd ?? process.cwd();
|
|
2203
2203
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2204
2204
|
if (options.stage && !isImageBuild()) {
|
|
2205
|
-
const { execOnStage } = await import("./stage-
|
|
2205
|
+
const { execOnStage } = await import("./stage-Cx1KKX_o.mjs").then((n) => n.n);
|
|
2206
2206
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2207
2207
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2208
2208
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2764,10 +2764,7 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2764
2764
|
logger$5.log("🔑 Logins (again any time: gkm dev:credentials)");
|
|
2765
2765
|
for (const line of describeLogins(logins)) logger$5.log(line);
|
|
2766
2766
|
}
|
|
2767
|
-
const secretsEnv = scopeTelemetryEnv({
|
|
2768
|
-
...rawSecrets,
|
|
2769
|
-
...reconciled.env
|
|
2770
|
-
}, {
|
|
2767
|
+
const secretsEnv = scopeTelemetryEnv(stageEnv$1(rawSecrets, reconciled.env), {
|
|
2771
2768
|
uses: false,
|
|
2772
2769
|
serviceName: workspace.name
|
|
2773
2770
|
});
|
|
@@ -2775,9 +2772,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2775
2772
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2776
2773
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2777
2774
|
if (options.migrate || options.seed) {
|
|
2778
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2775
|
+
const { prepareDevDatabases } = await import("./migrate-WkC0pay4.mjs");
|
|
2779
2776
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2780
|
-
} else await import("./migrate-
|
|
2777
|
+
} else await import("./migrate-WkC0pay4.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2781
2778
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2782
2779
|
});
|
|
2783
2780
|
const appUrls = {};
|
|
@@ -3455,7 +3452,7 @@ const DEV_DATABASE_API_PATH = "/__gkm/db";
|
|
|
3455
3452
|
function ownersContext(options) {
|
|
3456
3453
|
const { declared, sources, workspaceRoot, appRoot, databaseApi } = options;
|
|
3457
3454
|
const surfaces = restApis(declared);
|
|
3458
|
-
const primary = servedSurface(declared, workspaceRoot, appRoot) ?? surfaces.find((d) => d.
|
|
3455
|
+
const primary = servedSurface(declared, workspaceRoot, appRoot) ?? surfaces.find((d) => !d.servesItself) ?? surfaces[0];
|
|
3459
3456
|
const browsable = Object.entries(declared).find(([, d]) => d.kind === "database");
|
|
3460
3457
|
const browsableSource = browsable ? sources[browsable[0]] : void 0;
|
|
3461
3458
|
const owners = {};
|
|
@@ -3822,11 +3819,11 @@ async function writeManifest(input) {
|
|
|
3822
3819
|
const manifestDir = join(workspaceRoot, ".gkm", "manifest");
|
|
3823
3820
|
await mkdir(manifestDir, { recursive: true });
|
|
3824
3821
|
await rm(join(manifestDir, `${target === "aws" ? "server" : "aws"}.ts`), { force: true });
|
|
3825
|
-
const
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3822
|
+
const folded = withHandlers(constructs, {
|
|
3823
|
+
routes: builds.flatMap((build) => build.routes.map((route) => build.surface ? {
|
|
3824
|
+
...route,
|
|
3825
|
+
surface: build.surface
|
|
3826
|
+
} : route)),
|
|
3830
3827
|
functions: builds.flatMap((build) => build.functions),
|
|
3831
3828
|
crons: builds.flatMap((build) => build.crons),
|
|
3832
3829
|
queues: builds.flatMap((build) => build.queues),
|
|
@@ -3883,7 +3880,7 @@ async function buildApp(input) {
|
|
|
3883
3880
|
...production,
|
|
3884
3881
|
...telemetry ? { telemetry } : {}
|
|
3885
3882
|
});
|
|
3886
|
-
const { bundleServer } = await import("./bundler-
|
|
3883
|
+
const { bundleServer } = await import("./bundler-CXuVyqXY.mjs");
|
|
3887
3884
|
await bundleServer({
|
|
3888
3885
|
entryPoint,
|
|
3889
3886
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4128,7 +4125,7 @@ async function buildWorkers(input) {
|
|
|
4128
4125
|
});
|
|
4129
4126
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4130
4127
|
if (!input.bundle) continue;
|
|
4131
|
-
const { bundleServer } = await import("./bundler-
|
|
4128
|
+
const { bundleServer } = await import("./bundler-CXuVyqXY.mjs");
|
|
4132
4129
|
const outfile = workerBundleName(worker.id);
|
|
4133
4130
|
await bundleServer({
|
|
4134
4131
|
entryPoint,
|
|
@@ -4170,7 +4167,7 @@ async function buildProcessors(input) {
|
|
|
4170
4167
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4171
4168
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4172
4169
|
if (!input.bundle) continue;
|
|
4173
|
-
const { bundleServer } = await import("./bundler-
|
|
4170
|
+
const { bundleServer } = await import("./bundler-CXuVyqXY.mjs");
|
|
4174
4171
|
const outfile = processorBundleName(fileServerId);
|
|
4175
4172
|
await bundleServer({
|
|
4176
4173
|
entryPoint,
|
|
@@ -4253,7 +4250,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4253
4250
|
let masterKey;
|
|
4254
4251
|
if (context.production?.bundle && !skipBundle) {
|
|
4255
4252
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4256
|
-
const { bundleServer } = await import("./bundler-
|
|
4253
|
+
const { bundleServer } = await import("./bundler-CXuVyqXY.mjs");
|
|
4257
4254
|
const allConstructs = [
|
|
4258
4255
|
...endpoints.map((e) => e.construct),
|
|
4259
4256
|
...functions.map((f) => f.construct),
|
|
@@ -6089,25 +6086,25 @@ function loadPackageJson() {
|
|
|
6089
6086
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6090
6087
|
*/
|
|
6091
6088
|
const GEEKMIDAS_VERSIONS = {
|
|
6092
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6093
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6104
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6105
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6106
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6107
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6108
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6109
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6110
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6089
|
+
"@geekmidas/audit": "~10.0.0-alpha.138",
|
|
6090
|
+
"@geekmidas/auth": "~10.0.0-alpha.138",
|
|
6091
|
+
"@geekmidas/cache": "~10.0.0-alpha.138",
|
|
6092
|
+
"@geekmidas/client": "~10.0.0-alpha.138",
|
|
6093
|
+
"@geekmidas/cloud": "~10.0.0-alpha.138",
|
|
6094
|
+
"@geekmidas/constructs": "~10.0.0-alpha.138",
|
|
6095
|
+
"@geekmidas/db": "~10.0.0-alpha.138",
|
|
6096
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.138",
|
|
6097
|
+
"@geekmidas/envkit": "~10.0.0-alpha.138",
|
|
6098
|
+
"@geekmidas/errors": "~10.0.0-alpha.138",
|
|
6099
|
+
"@geekmidas/events": "~10.0.0-alpha.138",
|
|
6100
|
+
"@geekmidas/logger": "~10.0.0-alpha.138",
|
|
6101
|
+
"@geekmidas/manifest": "~10.0.0-alpha.138",
|
|
6102
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.138",
|
|
6103
|
+
"@geekmidas/schema": "~10.0.0-alpha.138",
|
|
6104
|
+
"@geekmidas/services": "~10.0.0-alpha.138",
|
|
6105
|
+
"@geekmidas/storage": "~10.0.0-alpha.138",
|
|
6106
|
+
"@geekmidas/telescope": "~10.0.0-alpha.138",
|
|
6107
|
+
"@geekmidas/testkit": "~10.0.0-alpha.138",
|
|
6111
6108
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6112
6109
|
};
|
|
6113
6110
|
//#endregion
|
|
@@ -7300,7 +7297,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7300
7297
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7301
7298
|
* release the pinned commit is.
|
|
7302
7299
|
*/
|
|
7303
|
-
function stagesActionUses(commit = "
|
|
7300
|
+
function stagesActionUses(commit = "17f37cdb673e81f27444230cf77c5b77fe7dc017", version = cliVersion()) {
|
|
7304
7301
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7305
7302
|
}
|
|
7306
7303
|
//#endregion
|
|
@@ -16272,8 +16269,8 @@ function testDatabases(reconciled) {
|
|
|
16272
16269
|
* starts without the reference data the app needs.
|
|
16273
16270
|
*/
|
|
16274
16271
|
async function migrateTestStage(workspace, env) {
|
|
16275
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16276
|
-
const { discover } = await import("./discover-
|
|
16272
|
+
const { migrateAndSeed } = await import("./migrate-WkC0pay4.mjs");
|
|
16273
|
+
const { discover } = await import("./discover-DWtHjc1x.mjs").then((n) => n.a);
|
|
16277
16274
|
const sources = {};
|
|
16278
16275
|
const manifest = await discover({
|
|
16279
16276
|
patterns: constructGlobs(workspace),
|
|
@@ -16697,7 +16694,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16697
16694
|
try {
|
|
16698
16695
|
const globalOptions = program.opts();
|
|
16699
16696
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16700
|
-
const { easSync } = await import("./eas-
|
|
16697
|
+
const { easSync } = await import("./eas-D0jmXv7F.mjs");
|
|
16701
16698
|
await easSync(options);
|
|
16702
16699
|
} catch (error) {
|
|
16703
16700
|
exitWithError(error);
|
|
@@ -16707,7 +16704,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16707
16704
|
try {
|
|
16708
16705
|
const globalOptions = program.opts();
|
|
16709
16706
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16710
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16707
|
+
const { publish, PublishModeConflict } = await import("./publish-BVsLFs-n.mjs");
|
|
16711
16708
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16712
16709
|
const { build, update, ...rest } = options;
|
|
16713
16710
|
await publish({
|
|
@@ -16723,7 +16720,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16723
16720
|
try {
|
|
16724
16721
|
const globalOptions = program.opts();
|
|
16725
16722
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16726
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16723
|
+
const { deployGooglePlay } = await import("./googlePlay-B_X_DJp0.mjs");
|
|
16727
16724
|
await deployGooglePlay(options);
|
|
16728
16725
|
} catch (error) {
|
|
16729
16726
|
exitWithError(error);
|
|
@@ -16745,7 +16742,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16745
16742
|
try {
|
|
16746
16743
|
const globalOptions = program.opts();
|
|
16747
16744
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16748
|
-
const { migrateCommand } = await import("./migrate-
|
|
16745
|
+
const { migrateCommand } = await import("./migrate-WkC0pay4.mjs");
|
|
16749
16746
|
await migrateCommand({
|
|
16750
16747
|
...options,
|
|
16751
16748
|
...construct ? { construct } : {}
|
|
@@ -16758,7 +16755,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16758
16755
|
try {
|
|
16759
16756
|
const globalOptions = program.opts();
|
|
16760
16757
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16761
|
-
const { seedCommand } = await import("./migrate-
|
|
16758
|
+
const { seedCommand } = await import("./migrate-WkC0pay4.mjs");
|
|
16762
16759
|
await seedCommand({
|
|
16763
16760
|
...options,
|
|
16764
16761
|
...construct ? { construct } : {}
|
|
@@ -16771,7 +16768,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16771
16768
|
try {
|
|
16772
16769
|
const globalOptions = program.opts();
|
|
16773
16770
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16774
|
-
const { migrationCommand } = await import("./migrate-
|
|
16771
|
+
const { migrationCommand } = await import("./migrate-WkC0pay4.mjs");
|
|
16775
16772
|
await migrationCommand({
|
|
16776
16773
|
construct,
|
|
16777
16774
|
...name ? { name } : {}
|
|
@@ -16871,7 +16868,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16871
16868
|
try {
|
|
16872
16869
|
const globalOptions = program.opts();
|
|
16873
16870
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16874
|
-
const { secretsAddCommand } = await import("./add-
|
|
16871
|
+
const { secretsAddCommand } = await import("./add-6tyL4tWq.mjs");
|
|
16875
16872
|
await secretsAddCommand(options);
|
|
16876
16873
|
} catch (error) {
|
|
16877
16874
|
exitWithError(error);
|
|
@@ -16881,7 +16878,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16881
16878
|
try {
|
|
16882
16879
|
const globalOptions = program.opts();
|
|
16883
16880
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16884
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16881
|
+
const { encryptionRotateCommand } = await import("./encryption-G8Ouiy55.mjs");
|
|
16885
16882
|
await encryptionRotateCommand(construct, options);
|
|
16886
16883
|
} catch (error) {
|
|
16887
16884
|
exitWithError(error);
|
|
@@ -16891,7 +16888,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16891
16888
|
try {
|
|
16892
16889
|
const globalOptions = program.opts();
|
|
16893
16890
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16894
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16891
|
+
const { encryptionRetireCommand } = await import("./encryption-G8Ouiy55.mjs");
|
|
16895
16892
|
await encryptionRetireCommand(construct, key, options);
|
|
16896
16893
|
} catch (error) {
|
|
16897
16894
|
exitWithError(error);
|
|
@@ -16930,7 +16927,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16930
16927
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16931
16928
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16932
16929
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16933
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16930
|
+
const { secretsStoreFor } = await import("./seeds-CSNYLc4p.mjs").then((n) => n.Zt);
|
|
16934
16931
|
const { workspace } = await loadWorkspaceConfig();
|
|
16935
16932
|
const stage = options.stage ?? workspace.stages.local;
|
|
16936
16933
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16939,7 +16936,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16939
16936
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16940
16937
|
process.exit(1);
|
|
16941
16938
|
}
|
|
16942
|
-
const { derivedContainers } = await import("./seeds-
|
|
16939
|
+
const { derivedContainers } = await import("./seeds-CSNYLc4p.mjs").then((n) => n.Dt);
|
|
16943
16940
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16944
16941
|
if (!result) {
|
|
16945
16942
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16956,14 +16953,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16956
16953
|
try {
|
|
16957
16954
|
const globalOptions = program.opts();
|
|
16958
16955
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16959
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16956
|
+
const { secretsMigrateCommand } = await import("./migrate-C9abovJK.mjs");
|
|
16960
16957
|
await secretsMigrateCommand(options);
|
|
16961
16958
|
} catch (error) {
|
|
16962
16959
|
exitWithError(error);
|
|
16963
16960
|
}
|
|
16964
16961
|
});
|
|
16965
16962
|
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
|
|
16966
|
-
const { deployCli } = await import("./cli-
|
|
16963
|
+
const { deployCli } = await import("./cli-DxtrQdRa.mjs");
|
|
16967
16964
|
const globalOptions = program.opts();
|
|
16968
16965
|
const code = await deployCli({
|
|
16969
16966
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16983,8 +16980,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16983
16980
|
});
|
|
16984
16981
|
program.command("deploy:rollback").description("Put a stage's app back on its previous release (Dokploy): one app with --app, every app with --atomic").requiredOption("--stage <stage>", "A deployed stage").option("--app <app>", "The app to roll back").option("--atomic", "Roll back every app that has an earlier release").action(async (options) => {
|
|
16985
16982
|
try {
|
|
16986
|
-
const { rollbackStage } = await import("./rollback-
|
|
16987
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16983
|
+
const { rollbackStage } = await import("./rollback-BT6oPcnZ.mjs").then((n) => n.a);
|
|
16984
|
+
const { terminalCredentials } = await import("./terminal-PEvt24kO.mjs");
|
|
16988
16985
|
const globalOptions = program.opts();
|
|
16989
16986
|
await rollbackStage({
|
|
16990
16987
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17002,7 +16999,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17002
16999
|
try {
|
|
17003
17000
|
const globalOptions = program.opts();
|
|
17004
17001
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17005
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17002
|
+
const { composeServerCommand } = await import("./serverSetup-DiJPhPOz.mjs");
|
|
17006
17003
|
await composeServerCommand(options);
|
|
17007
17004
|
} catch (error) {
|
|
17008
17005
|
exitWithError(error);
|
|
@@ -17027,7 +17024,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17027
17024
|
try {
|
|
17028
17025
|
const globalOptions = program.opts();
|
|
17029
17026
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17030
|
-
const { deployGithubCommand } = await import("./github-
|
|
17027
|
+
const { deployGithubCommand } = await import("./github-Buh2ldNN.mjs");
|
|
17031
17028
|
await deployGithubCommand(options);
|
|
17032
17029
|
} catch (error) {
|
|
17033
17030
|
exitWithError(error);
|