@geekmidas/cli 10.0.0-alpha.146 → 10.0.0-alpha.147
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/{GoDaddyProvider-BK5N6-fx.cjs → GoDaddyProvider-CpO8dFYC.cjs} +2 -2
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs.map → GoDaddyProvider-CpO8dFYC.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-BESq24p-.mjs → GoDaddyProvider-DXuPFufW.mjs} +2 -2
- package/dist/{GoDaddyProvider-BESq24p-.mjs.map → GoDaddyProvider-DXuPFufW.mjs.map} +1 -1
- package/dist/{HostingerProvider-BbQod5OB.cjs → HostingerProvider-Beu0Ciky.cjs} +2 -2
- package/dist/{HostingerProvider-BbQod5OB.cjs.map → HostingerProvider-Beu0Ciky.cjs.map} +1 -1
- package/dist/{HostingerProvider-BV30wTNI.mjs → HostingerProvider-Dum492dc.mjs} +2 -2
- package/dist/{HostingerProvider-BV30wTNI.mjs.map → HostingerProvider-Dum492dc.mjs.map} +1 -1
- package/dist/{LegacyStateStore-Ck3HI28A.mjs → LegacyStateStore-DZjph7ES.mjs} +2 -2
- package/dist/{LegacyStateStore-Ck3HI28A.mjs.map → LegacyStateStore-DZjph7ES.mjs.map} +1 -1
- package/dist/{LegacyStateStore-OEno6vIb.cjs → LegacyStateStore-V4R0llou.cjs} +2 -2
- package/dist/{LegacyStateStore-OEno6vIb.cjs.map → LegacyStateStore-V4R0llou.cjs.map} +1 -1
- package/dist/{LocalStateStore-Fa54CpLw.mjs → LocalStateStore-Bth8pBp-.mjs} +2 -2
- package/dist/{LocalStateStore-Fa54CpLw.mjs.map → LocalStateStore-Bth8pBp-.mjs.map} +1 -1
- package/dist/{LocalStateStore-ukDFg6GM.cjs → LocalStateStore-DuSotrd3.cjs} +2 -2
- package/dist/{LocalStateStore-ukDFg6GM.cjs.map → LocalStateStore-DuSotrd3.cjs.map} +1 -1
- package/dist/{S3StateStore-D53985SR.mjs → S3StateStore-DGlh3s2p.mjs} +4 -4
- package/dist/{S3StateStore-D53985SR.mjs.map → S3StateStore-DGlh3s2p.mjs.map} +1 -1
- package/dist/{S3StateStore-Cjuft2Lk.cjs → S3StateStore-DTPxQS3z.cjs} +4 -4
- package/dist/{S3StateStore-Cjuft2Lk.cjs.map → S3StateStore-DTPxQS3z.cjs.map} +1 -1
- package/dist/{SSMStateStore-CnJgw3_-.cjs → SSMStateStore-B9R317q0.cjs} +2 -2
- package/dist/{SSMStateStore-CnJgw3_-.cjs.map → SSMStateStore-B9R317q0.cjs.map} +1 -1
- package/dist/{SSMStateStore-CRjV2h2G.mjs → SSMStateStore-DCa85jhG.mjs} +2 -2
- package/dist/{SSMStateStore-CRjV2h2G.mjs.map → SSMStateStore-DCa85jhG.mjs.map} +1 -1
- package/dist/{add-D0-1UyFj.mjs → add-Bl33BvDW.mjs} +7 -7
- package/dist/{add-D0-1UyFj.mjs.map → add-Bl33BvDW.mjs.map} +1 -1
- package/dist/{add-CG_4mNir.cjs → add-Cr-9Ku0W.cjs} +7 -7
- package/dist/{add-CG_4mNir.cjs.map → add-Cr-9Ku0W.cjs.map} +1 -1
- package/dist/{apps-DHi6E_yH.cjs → apps-BIsxWYUo.cjs} +104 -8
- package/dist/apps-BIsxWYUo.cjs.map +1 -0
- package/dist/{apps-DWALM-8s.mjs → apps-DFzUuJ22.mjs} +87 -9
- package/dist/apps-DFzUuJ22.mjs.map +1 -0
- package/dist/{bundler-Cb5ynXXS.mjs → bundler-BagXzefF.mjs} +6 -6
- package/dist/{bundler-Cb5ynXXS.mjs.map → bundler-BagXzefF.mjs.map} +1 -1
- package/dist/{bundler-Co_7zpYC.cjs → bundler-Cael9EDc.cjs} +6 -6
- package/dist/{bundler-Co_7zpYC.cjs.map → bundler-Cael9EDc.cjs.map} +1 -1
- package/dist/{cli-C5M_7Kux.cjs → cli-B1A-cLy-.cjs} +4 -4
- package/dist/{cli-C5M_7Kux.cjs.map → cli-B1A-cLy-.cjs.map} +1 -1
- package/dist/{cli-D_9WqN6C.mjs → cli-BJRPsFq7.mjs} +4 -4
- package/dist/{cli-D_9WqN6C.mjs.map → cli-BJRPsFq7.mjs.map} +1 -1
- package/dist/{compose-7p0-3ogo.mjs → compose-C7izI7Eo.mjs} +5 -5
- package/dist/{compose-7p0-3ogo.mjs.map → compose-C7izI7Eo.mjs.map} +1 -1
- package/dist/{compose-DxmEMeTu.mjs → compose-CZU60dwb.mjs} +286 -31
- package/dist/compose-CZU60dwb.mjs.map +1 -0
- package/dist/{compose-C10hkeHU.cjs → compose-Cius-YHS.cjs} +5 -5
- package/dist/{compose-C10hkeHU.cjs.map → compose-Cius-YHS.cjs.map} +1 -1
- package/dist/{compose-BeQ01iYk.cjs → compose-CnNmDNph.cjs} +285 -30
- package/dist/compose-CnNmDNph.cjs.map +1 -0
- package/dist/{config-B-wza0Xk.mjs → config-BLrAd7Of.mjs} +2 -2
- package/dist/{config-B-wza0Xk.mjs.map → config-BLrAd7Of.mjs.map} +1 -1
- package/dist/{config-BcL1Fojs.d.cts → config-CRk2vdSp.d.mts} +3 -3
- package/dist/{config-BbivVpq0.d.mts.map → config-CRk2vdSp.d.mts.map} +1 -1
- package/dist/{config-CWExbDxA.cjs → config-juUyBlb1.cjs} +2 -2
- package/dist/{config-CWExbDxA.cjs.map → config-juUyBlb1.cjs.map} +1 -1
- package/dist/{config-BbivVpq0.d.mts → config-oBgsbLip.d.cts} +3 -3
- package/dist/{config-BcL1Fojs.d.cts.map → config-oBgsbLip.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/{credentials-B5Oe4fLE.mjs → credentials-CJ_z0Nni.mjs} +7 -7
- package/dist/{credentials-B5Oe4fLE.mjs.map → credentials-CJ_z0Nni.mjs.map} +1 -1
- package/dist/{credentials-Csnd7M8M.cjs → credentials-D11xozSF.cjs} +7 -7
- package/dist/{credentials-Csnd7M8M.cjs.map → credentials-D11xozSF.cjs.map} +1 -1
- package/dist/deploy/public.cjs +12 -12
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +12 -12
- package/dist/{deploy-BwNxJ3ZI.cjs → deploy-Ch1wCsU1.cjs} +13 -13
- package/dist/{deploy-BwNxJ3ZI.cjs.map → deploy-Ch1wCsU1.cjs.map} +1 -1
- package/dist/{deploy-6DDEG4Ai.mjs → deploy-Dfn21QYG.mjs} +13 -13
- package/dist/{deploy-6DDEG4Ai.mjs.map → deploy-Dfn21QYG.mjs.map} +1 -1
- package/dist/{docker-BZnNUJCy.cjs → docker-BT6G7aJE.cjs} +5 -5
- package/dist/{docker-BZnNUJCy.cjs.map → docker-BT6G7aJE.cjs.map} +1 -1
- package/dist/{docker-Ch5aPQ04.mjs → docker-_W_CauBY.mjs} +5 -5
- package/dist/{docker-Ch5aPQ04.mjs.map → docker-_W_CauBY.mjs.map} +1 -1
- package/dist/{dokploy-CTWw3WSo.mjs → dokploy-CBgGuei3.mjs} +2 -2
- package/dist/{dokploy-CTWw3WSo.mjs.map → dokploy-CBgGuei3.mjs.map} +1 -1
- package/dist/{dokploy-Cn7dQqmE.cjs → dokploy-DaQbR_NH.cjs} +2 -2
- package/dist/{dokploy-Cn7dQqmE.cjs.map → dokploy-DaQbR_NH.cjs.map} +1 -1
- package/dist/{eas-D0B8H7hT.mjs → eas-3L1_yKhk.mjs} +3 -3
- package/dist/{eas-D0B8H7hT.mjs.map → eas-3L1_yKhk.mjs.map} +1 -1
- package/dist/{eas-IPjz0PWK.cjs → eas-YxDTJ3ql.cjs} +3 -3
- package/dist/{eas-IPjz0PWK.cjs.map → eas-YxDTJ3ql.cjs.map} +1 -1
- package/dist/{encryption-C9auXcSV.mjs → encryption-CRyFk5nu.mjs} +4 -4
- package/dist/{encryption-C9auXcSV.mjs.map → encryption-CRyFk5nu.mjs.map} +1 -1
- package/dist/{encryption-vK64UP4M.cjs → encryption-CVIu104e.cjs} +4 -4
- package/dist/{encryption-vK64UP4M.cjs.map → encryption-CVIu104e.cjs.map} +1 -1
- package/dist/{engine-C3N2WhbC.mjs → engine-DZnZy1R5.mjs} +17 -12
- package/dist/engine-DZnZy1R5.mjs.map +1 -0
- package/dist/{engine-Icqv5JI6.cjs → engine-XecwdLdj.cjs} +17 -12
- package/dist/engine-XecwdLdj.cjs.map +1 -0
- package/dist/{github-D24wTOe2.mjs → github-CDJXpBCT.mjs} +9 -9
- package/dist/{github-D24wTOe2.mjs.map → github-CDJXpBCT.mjs.map} +1 -1
- package/dist/{github-DUuNInc0.cjs → github-dnxU_tMp.cjs} +9 -9
- package/dist/{github-DUuNInc0.cjs.map → github-dnxU_tMp.cjs.map} +1 -1
- package/dist/{googlePlay-Cy-MaYr2.mjs → googlePlay-BYeXKpNE.mjs} +5 -5
- package/dist/{googlePlay-Cy-MaYr2.mjs.map → googlePlay-BYeXKpNE.mjs.map} +1 -1
- package/dist/{googlePlay-BGDKlnPx.cjs → googlePlay-CnIU3qIV.cjs} +5 -5
- package/dist/{googlePlay-BGDKlnPx.cjs.map → googlePlay-CnIU3qIV.cjs.map} +1 -1
- package/dist/{index-C1jffZ5_.d.cts → index-B35vTdAW.d.cts} +2 -2
- package/dist/{index-BZZeEWug.d.mts.map → index-B35vTdAW.d.cts.map} +1 -1
- package/dist/{index-BZZeEWug.d.mts → index-Dv1Zj86i.d.mts} +2 -2
- package/dist/{index-C1jffZ5_.d.cts.map → index-Dv1Zj86i.d.mts.map} +1 -1
- package/dist/index.cjs +64 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +64 -63
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CdpBgn3d.mjs → local-BIOpCtLE.mjs} +2 -2
- package/dist/{local-CdpBgn3d.mjs.map → local-BIOpCtLE.mjs.map} +1 -1
- package/dist/{local-B4xobzh-.cjs → local-qdNfjzxQ.cjs} +2 -2
- package/dist/{local-B4xobzh-.cjs.map → local-qdNfjzxQ.cjs.map} +1 -1
- package/dist/{migrate-DhZfvCkJ.mjs → migrate--VNdTWT7.mjs} +6 -6
- package/dist/{migrate-DhZfvCkJ.mjs.map → migrate--VNdTWT7.mjs.map} +1 -1
- package/dist/{migrate-DwQ-zaMy.cjs → migrate-CDEHWq-e.cjs} +6 -6
- package/dist/{migrate-DwQ-zaMy.cjs.map → migrate-CDEHWq-e.cjs.map} +1 -1
- package/dist/{migrate--hMBtpx-.cjs → migrate-CkHtNdre.cjs} +4 -4
- package/dist/{migrate--hMBtpx-.cjs.map → migrate-CkHtNdre.cjs.map} +1 -1
- package/dist/{migrate-DVrXTq58.mjs → migrate-svXhccrs.mjs} +4 -4
- package/dist/{migrate-DVrXTq58.mjs.map → migrate-svXhccrs.mjs.map} +1 -1
- package/dist/{notes-z5OOMqm4.mjs → notes-D9ofENLJ.mjs} +4 -4
- package/dist/{notes-z5OOMqm4.mjs.map → notes-D9ofENLJ.mjs.map} +1 -1
- package/dist/{notes-C2b5RzGl.cjs → notes-DBNPml4N.cjs} +4 -4
- package/dist/{notes-C2b5RzGl.cjs.map → notes-DBNPml4N.cjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs → projectBucket-BtiC0Cn8.cjs} +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs.map → projectBucket-BtiC0Cn8.cjs.map} +1 -1
- package/dist/{projectBucket-DPD0_B8N.mjs → projectBucket-De0MQeNj.mjs} +2 -2
- package/dist/{projectBucket-DPD0_B8N.mjs.map → projectBucket-De0MQeNj.mjs.map} +1 -1
- package/dist/{publish-CDvh-9OG.cjs → publish-CohTrVKe.cjs} +2 -2
- package/dist/{publish-CDvh-9OG.cjs.map → publish-CohTrVKe.cjs.map} +1 -1
- package/dist/{publish-Bmc1Wfs3.mjs → publish-k38S418e.mjs} +2 -2
- package/dist/{publish-Bmc1Wfs3.mjs.map → publish-k38S418e.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-CuxPZ3ga.cjs → resolve-Cr3Qj8ch.cjs} +4 -4
- package/dist/{resolve-CuxPZ3ga.cjs.map → resolve-Cr3Qj8ch.cjs.map} +1 -1
- package/dist/{resolve-DHARlMdl.mjs → resolve-YMxlYJtO.mjs} +4 -4
- package/dist/{resolve-DHARlMdl.mjs.map → resolve-YMxlYJtO.mjs.map} +1 -1
- package/dist/{rollback-DZq_dIbl.mjs → rollback-DIoyVrQI.mjs} +7 -7
- package/dist/{rollback-DZq_dIbl.mjs.map → rollback-DIoyVrQI.mjs.map} +1 -1
- package/dist/{rollback-DxHut8C-.cjs → rollback-eyqvtzW_.cjs} +7 -7
- package/dist/{rollback-DxHut8C-.cjs.map → rollback-eyqvtzW_.cjs.map} +1 -1
- package/dist/{runtime-Bvgyxm88.d.cts → runtime-CFvcLEJW.d.cts} +2 -2
- package/dist/{runtime-Bvgyxm88.d.cts.map → runtime-CFvcLEJW.d.cts.map} +1 -1
- package/dist/{runtime-CeAt1IJd.d.mts → runtime-dwsH6ddo.d.mts} +2 -2
- package/dist/{runtime-CeAt1IJd.d.mts.map → runtime-dwsH6ddo.d.mts.map} +1 -1
- package/dist/{s3-Dhy58V_y.cjs → s3-CegRM8Sa.cjs} +3 -3
- package/dist/{s3-Dhy58V_y.cjs.map → s3-CegRM8Sa.cjs.map} +1 -1
- package/dist/{s3-Cd7UK2y8.mjs → s3-Cl3tRemt.mjs} +3 -3
- package/dist/{s3-Cd7UK2y8.mjs.map → s3-Cl3tRemt.mjs.map} +1 -1
- package/dist/{serverSetup-DYiKHMVp.cjs → serverSetup-BwfMgz3W.cjs} +7 -7
- package/dist/{serverSetup-DYiKHMVp.cjs.map → serverSetup-BwfMgz3W.cjs.map} +1 -1
- package/dist/{serverSetup-qe5bdBhO.mjs → serverSetup-fQwkJ_EI.mjs} +7 -7
- package/dist/{serverSetup-qe5bdBhO.mjs.map → serverSetup-fQwkJ_EI.mjs.map} +1 -1
- package/dist/{sniffer-DFix2ORf.cjs → sniffer-BgdVvvzU.cjs} +7 -7
- package/dist/{sniffer-DFix2ORf.cjs.map → sniffer-BgdVvvzU.cjs.map} +1 -1
- package/dist/{sniffer-BNcLP8MO.mjs → sniffer-FF7mfuR8.mjs} +7 -7
- package/dist/{sniffer-BNcLP8MO.mjs.map → sniffer-FF7mfuR8.mjs.map} +1 -1
- package/dist/{snsSubscriptions-BwX28_Kl.mjs → snsSubscriptions-B_WH4o1S.mjs} +3 -3
- package/dist/{snsSubscriptions-BwX28_Kl.mjs.map → snsSubscriptions-B_WH4o1S.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs → snsSubscriptions-DUY-Tu6J.cjs} +3 -3
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs.map → snsSubscriptions-DUY-Tu6J.cjs.map} +1 -1
- package/dist/{sst-CoKFPW7f.cjs → sst-BEXeTgDQ.cjs} +5 -5
- package/dist/{sst-CoKFPW7f.cjs.map → sst-BEXeTgDQ.cjs.map} +1 -1
- package/dist/{sst-Bvtx6uZ9.mjs → sst-BkTtncop.mjs} +5 -5
- package/dist/{sst-Bvtx6uZ9.mjs.map → sst-BkTtncop.mjs.map} +1 -1
- package/dist/{stack-DbaKGKnI.cjs → stack-CcFgY4sJ.cjs} +29 -27
- package/dist/stack-CcFgY4sJ.cjs.map +1 -0
- package/dist/{stack-BeSbt_7k.mjs → stack-CqfBL5LA.mjs} +29 -27
- package/dist/stack-CqfBL5LA.mjs.map +1 -0
- package/dist/{stage-BblkSR2C.mjs → stage-4ZtteXz8.mjs} +7 -7
- package/dist/{stage-BblkSR2C.mjs.map → stage-4ZtteXz8.mjs.map} +1 -1
- package/dist/{stage-DI5mzoAi.cjs → stage-C19XRx7W.cjs} +7 -7
- package/dist/{stage-DI5mzoAi.cjs.map → stage-C19XRx7W.cjs.map} +1 -1
- package/dist/{stages-C-bVwvJZ.cjs → stages-Bs1THSy7.cjs} +3 -3
- package/dist/{stages-C-bVwvJZ.cjs.map → stages-Bs1THSy7.cjs.map} +1 -1
- package/dist/{stages-DBsDvEbo.mjs → stages-_xCG4Ymu.mjs} +3 -3
- package/dist/{stages-DBsDvEbo.mjs.map → stages-_xCG4Ymu.mjs.map} +1 -1
- 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-Bxy_A8iP.cjs → terminal-BkyVVOb-.cjs} +2 -2
- package/dist/{terminal-Bxy_A8iP.cjs.map → terminal-BkyVVOb-.cjs.map} +1 -1
- package/dist/{terminal-DDqusYW0.mjs → terminal-KVX_MmCR.mjs} +2 -2
- package/dist/{terminal-DDqusYW0.mjs.map → terminal-KVX_MmCR.mjs.map} +1 -1
- package/dist/{types-Dy1eV7yc.d.cts → types-Dk--xVOT.d.cts} +31 -11
- package/dist/{types-Dy1eV7yc.d.cts.map → types-Dk--xVOT.d.cts.map} +1 -1
- package/dist/{types-C6hDCkV2.d.mts → types-DwQYpd_0.d.mts} +31 -11
- package/dist/{types-C6hDCkV2.d.mts.map → types-DwQYpd_0.d.mts.map} +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-BbbkJDUU.cjs → workspace-1szcahj9.cjs} +19 -27
- package/dist/workspace-1szcahj9.cjs.map +1 -0
- package/dist/{workspace-CZGJdcTs.mjs → workspace-DFGsrjGD.mjs} +19 -27
- package/dist/workspace-DFGsrjGD.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/apps-DHi6E_yH.cjs.map +0 -1
- package/dist/apps-DWALM-8s.mjs.map +0 -1
- package/dist/compose-BeQ01iYk.cjs.map +0 -1
- package/dist/compose-DxmEMeTu.mjs.map +0 -1
- package/dist/engine-C3N2WhbC.mjs.map +0 -1
- package/dist/engine-Icqv5JI6.cjs.map +0 -1
- package/dist/stack-BeSbt_7k.mjs.map +0 -1
- package/dist/stack-DbaKGKnI.cjs.map +0 -1
- package/dist/workspace-BbbkJDUU.cjs.map +0 -1
- package/dist/workspace-CZGJdcTs.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
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
|
-
import { A as eventsBackendFor, B as toEmbeddableSecrets, Ct as storeHostingerToken, G as FileSecretsStore, J as getKeyPath, P as secretsStoreFor, Q as projectKey, R as maskPassword, St as storeGoDaddyToken, V as withCustomSecret, bt as removeGoDaddyCredentials, ct as CommandFailed, gt as getDokployToken, ht as getDokployRegistryId, j as providerOf, k as cacheBackendFor, mt as getDokployCredentials, pt as getCredentialsPath, tt as deployIdentity, ut as DEFAULT_TIMEOUT_MS, vt as readCredentials, xt as storeDokployCredentials, yt as removeDokployCredentials } from "./credentials-
|
|
5
|
-
import { c as edgeRef, d as dockerHost, h as projectNetwork, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as dockerCompose, o as stackOverrideFile, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-
|
|
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-
|
|
7
|
-
import { A as BACKUPS_URL_KEY, E as parseDigests, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as pinnedRef, R as stageBackups, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, j as RUNNER_PATH, k as BACKUPS_SERVICE, v as EDGE_PROJECT } from "./stack-
|
|
4
|
+
import { A as eventsBackendFor, B as toEmbeddableSecrets, Ct as storeHostingerToken, G as FileSecretsStore, J as getKeyPath, P as secretsStoreFor, Q as projectKey, R as maskPassword, St as storeGoDaddyToken, V as withCustomSecret, bt as removeGoDaddyCredentials, ct as CommandFailed, gt as getDokployToken, ht as getDokployRegistryId, j as providerOf, k as cacheBackendFor, mt as getDokployCredentials, pt as getCredentialsPath, tt as deployIdentity, ut as DEFAULT_TIMEOUT_MS, vt as readCredentials, xt as storeDokployCredentials, yt as removeDokployCredentials } from "./credentials-CJ_z0Nni.mjs";
|
|
5
|
+
import { c as edgeRef, d as dockerHost, h as projectNetwork, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as dockerCompose, o as stackOverrideFile, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-CZU60dwb.mjs";
|
|
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-DFGsrjGD.mjs";
|
|
7
|
+
import { A as BACKUPS_URL_KEY, E as parseDigests, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as pinnedRef, R as stageBackups, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, j as RUNNER_PATH, k as BACKUPS_SERVICE, v as EDGE_PROJECT } from "./stack-CqfBL5LA.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { G as LOCAL_LOGS_EMAIL, R as describeServices, U as primaryPortKey, V as portsOf, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as fakeKey } from "./compose-
|
|
10
|
-
import { B as imageBuildCredentials,
|
|
9
|
+
import { G as LOCAL_LOGS_EMAIL, R as describeServices, U as primaryPortKey, V as portsOf, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as fakeKey } from "./compose-C7izI7Eo.mjs";
|
|
10
|
+
import { B as imageBuildCredentials, J as processorUnits, K as isUnder, V as isImageBuild, Y as workerUnits, _ as pgClient, _t as surfaceClientTraced, at as quoteIdentifier, b as localAuthorityPaths, c as constructGlobs, ht as scopeTelemetryEnv, l as derivedContainers, lt as stageEnv$1, o as FAKE_ENV, p as forgetState, pt as appTelemetry, rt as postgresDatabaseNames, s as backendsOf$1, u as reconcileWorkspace, ut as TELEMETRY_CONTAINER, v as ensureLocalAuthority, vt as telemetryOf } from "./apps-DFzUuJ22.mjs";
|
|
11
11
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-CzPrixYu.mjs";
|
|
12
|
-
import { a as NotABackendApp, d as loadConfig, g as appKey, h as parseModuleConfig, m as loadWorkspaceSettings, o as NotInAnApp, p as loadWorkspaceConfig, r as ConfigNotFound, u as loadAppConfig, v as protectedSubdomains, y as wildcardSite } from "./config-
|
|
12
|
+
import { a as NotABackendApp, d as loadConfig, g as appKey, h as parseModuleConfig, m as loadWorkspaceSettings, o as NotInAnApp, p as loadWorkspaceConfig, r as ConfigNotFound, u as loadAppConfig, v as protectedSubdomains, y as wildcardSite } from "./config-BLrAd7Of.mjs";
|
|
13
13
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
14
14
|
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-CusLH-9S.mjs";
|
|
15
15
|
import { i as discover, r as consumedBy, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-DbDrCQ8h.mjs";
|
|
16
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
17
|
-
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-
|
|
18
|
-
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
16
|
+
import { d as assertDevServicesFlag } from "./notes-D9ofENLJ.mjs";
|
|
17
|
+
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-_W_CauBY.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-B_WH4o1S.mjs";
|
|
19
19
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
20
20
|
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";
|
|
21
21
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-uxLBq3e3.mjs";
|
|
22
22
|
import { n as withHandlers, t as manifestModule } from "./emit-Bj6XSivk.mjs";
|
|
23
|
-
import { t as LocalSandbox } from "./local-
|
|
24
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
25
|
-
import { t as deploy$1 } from "./deploy-
|
|
23
|
+
import { t as LocalSandbox } from "./local-BIOpCtLE.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-FF7mfuR8.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-Dfn21QYG.mjs";
|
|
26
26
|
import { a as dnsResources, l as describeActor } from "./seeds-BCC8vAXR.mjs";
|
|
27
27
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-mz9QZTYh.mjs";
|
|
28
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
28
|
+
import { t as LocalStateStore } from "./LocalStateStore-Bth8pBp-.mjs";
|
|
29
29
|
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";
|
|
30
30
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-g25dcGzK.mjs";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
@@ -55,7 +55,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
55
55
|
import crypto from "crypto";
|
|
56
56
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
57
57
|
//#region package.json
|
|
58
|
-
var version = "10.0.0-alpha.
|
|
58
|
+
var version = "10.0.0-alpha.147";
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/prompt.ts
|
|
61
61
|
/**
|
|
@@ -138,7 +138,7 @@ const logger$8 = console;
|
|
|
138
138
|
* Validate Dokploy token by making a test API call
|
|
139
139
|
*/
|
|
140
140
|
async function validateDokployToken(endpoint, token) {
|
|
141
|
-
const { DokployApi } = await import("./sniffer-
|
|
141
|
+
const { DokployApi } = await import("./sniffer-FF7mfuR8.mjs").then((n) => n.c);
|
|
142
142
|
return new DokployApi({
|
|
143
143
|
baseUrl: endpoint,
|
|
144
144
|
token
|
|
@@ -2198,7 +2198,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2198
2198
|
const cwd = options.cwd ?? process.cwd();
|
|
2199
2199
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2200
2200
|
if (options.stage && !isImageBuild()) {
|
|
2201
|
-
const { execOnStage } = await import("./stage-
|
|
2201
|
+
const { execOnStage } = await import("./stage-4ZtteXz8.mjs").then((n) => n.n);
|
|
2202
2202
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2203
2203
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2204
2204
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2768,9 +2768,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2768
2768
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2769
2769
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2770
2770
|
if (options.migrate || options.seed) {
|
|
2771
|
-
const { prepareDevDatabases } = await import("./migrate
|
|
2771
|
+
const { prepareDevDatabases } = await import("./migrate--VNdTWT7.mjs");
|
|
2772
2772
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2773
|
-
} else await import("./migrate
|
|
2773
|
+
} else await import("./migrate--VNdTWT7.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2774
2774
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2775
2775
|
});
|
|
2776
2776
|
const appUrls = {};
|
|
@@ -3876,7 +3876,7 @@ async function buildApp(input) {
|
|
|
3876
3876
|
...production,
|
|
3877
3877
|
...telemetry ? { telemetry } : {}
|
|
3878
3878
|
});
|
|
3879
|
-
const { bundleServer } = await import("./bundler-
|
|
3879
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
3880
3880
|
await bundleServer({
|
|
3881
3881
|
entryPoint,
|
|
3882
3882
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4121,7 +4121,7 @@ async function buildWorkers(input) {
|
|
|
4121
4121
|
});
|
|
4122
4122
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4123
4123
|
if (!input.bundle) continue;
|
|
4124
|
-
const { bundleServer } = await import("./bundler-
|
|
4124
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4125
4125
|
const outfile = workerBundleName(worker.id);
|
|
4126
4126
|
await bundleServer({
|
|
4127
4127
|
entryPoint,
|
|
@@ -4163,7 +4163,7 @@ async function buildProcessors(input) {
|
|
|
4163
4163
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4164
4164
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4165
4165
|
if (!input.bundle) continue;
|
|
4166
|
-
const { bundleServer } = await import("./bundler-
|
|
4166
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4167
4167
|
const outfile = processorBundleName(fileServerId);
|
|
4168
4168
|
await bundleServer({
|
|
4169
4169
|
entryPoint,
|
|
@@ -4246,7 +4246,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4246
4246
|
let masterKey;
|
|
4247
4247
|
if (context.production?.bundle && !skipBundle) {
|
|
4248
4248
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4249
|
-
const { bundleServer } = await import("./bundler-
|
|
4249
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4250
4250
|
const allConstructs = [
|
|
4251
4251
|
...endpoints.map((e) => e.construct),
|
|
4252
4252
|
...functions.map((f) => f.construct),
|
|
@@ -4524,7 +4524,8 @@ async function composeCommand(options, deps = {}) {
|
|
|
4524
4524
|
};
|
|
4525
4525
|
const docker = deps.docker ?? dockerCompose;
|
|
4526
4526
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
4527
|
-
|
|
4527
|
+
const edgeFile = join(dir, `${EDGE_PROJECT}.yml`);
|
|
4528
|
+
if ((server || existsSync(edgeFile)) && await removeEdgeRoutes(docker, edgeRef(edgeFile, { host: ref.host }), ref.project)) console.log(`🌐 Removed ${ref.project}'s routes from ${EDGE_PROJECT}.`);
|
|
4528
4529
|
await docker.down(ref);
|
|
4529
4530
|
console.log(`🛑 Stopped ${ref.project}. Its volumes are kept.`);
|
|
4530
4531
|
return;
|
|
@@ -6082,25 +6083,25 @@ function loadPackageJson() {
|
|
|
6082
6083
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6083
6084
|
*/
|
|
6084
6085
|
const GEEKMIDAS_VERSIONS = {
|
|
6085
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6086
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6087
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6088
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6089
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6090
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6091
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6092
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6093
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6086
|
+
"@geekmidas/audit": "~10.0.0-alpha.147",
|
|
6087
|
+
"@geekmidas/auth": "~10.0.0-alpha.147",
|
|
6088
|
+
"@geekmidas/cache": "~10.0.0-alpha.147",
|
|
6089
|
+
"@geekmidas/client": "~10.0.0-alpha.147",
|
|
6090
|
+
"@geekmidas/cloud": "~10.0.0-alpha.147",
|
|
6091
|
+
"@geekmidas/constructs": "~10.0.0-alpha.147",
|
|
6092
|
+
"@geekmidas/db": "~10.0.0-alpha.147",
|
|
6093
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.147",
|
|
6094
|
+
"@geekmidas/envkit": "~10.0.0-alpha.147",
|
|
6095
|
+
"@geekmidas/errors": "~10.0.0-alpha.147",
|
|
6096
|
+
"@geekmidas/events": "~10.0.0-alpha.147",
|
|
6097
|
+
"@geekmidas/logger": "~10.0.0-alpha.147",
|
|
6098
|
+
"@geekmidas/manifest": "~10.0.0-alpha.147",
|
|
6099
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.147",
|
|
6100
|
+
"@geekmidas/schema": "~10.0.0-alpha.147",
|
|
6101
|
+
"@geekmidas/services": "~10.0.0-alpha.147",
|
|
6102
|
+
"@geekmidas/storage": "~10.0.0-alpha.147",
|
|
6103
|
+
"@geekmidas/telescope": "~10.0.0-alpha.147",
|
|
6104
|
+
"@geekmidas/testkit": "~10.0.0-alpha.147",
|
|
6104
6105
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6105
6106
|
};
|
|
6106
6107
|
//#endregion
|
|
@@ -7293,7 +7294,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7293
7294
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7294
7295
|
* release the pinned commit is.
|
|
7295
7296
|
*/
|
|
7296
|
-
function stagesActionUses(commit = "
|
|
7297
|
+
function stagesActionUses(commit = "68c9aff7436f7e5def8149311f5a6437e0b8b75f", version = cliVersion()) {
|
|
7297
7298
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7298
7299
|
}
|
|
7299
7300
|
//#endregion
|
|
@@ -16265,7 +16266,7 @@ function testDatabases(reconciled) {
|
|
|
16265
16266
|
* starts without the reference data the app needs.
|
|
16266
16267
|
*/
|
|
16267
16268
|
async function migrateTestStage(workspace, env) {
|
|
16268
|
-
const { migrateAndSeed } = await import("./migrate
|
|
16269
|
+
const { migrateAndSeed } = await import("./migrate--VNdTWT7.mjs");
|
|
16269
16270
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16270
16271
|
const sources = {};
|
|
16271
16272
|
const manifest = await discover({
|
|
@@ -16690,7 +16691,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16690
16691
|
try {
|
|
16691
16692
|
const globalOptions = program.opts();
|
|
16692
16693
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16693
|
-
const { easSync } = await import("./eas-
|
|
16694
|
+
const { easSync } = await import("./eas-3L1_yKhk.mjs");
|
|
16694
16695
|
await easSync(options);
|
|
16695
16696
|
} catch (error) {
|
|
16696
16697
|
exitWithError(error);
|
|
@@ -16700,7 +16701,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16700
16701
|
try {
|
|
16701
16702
|
const globalOptions = program.opts();
|
|
16702
16703
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16703
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16704
|
+
const { publish, PublishModeConflict } = await import("./publish-k38S418e.mjs");
|
|
16704
16705
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16705
16706
|
const { build, update, ...rest } = options;
|
|
16706
16707
|
await publish({
|
|
@@ -16716,7 +16717,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16716
16717
|
try {
|
|
16717
16718
|
const globalOptions = program.opts();
|
|
16718
16719
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16719
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16720
|
+
const { deployGooglePlay } = await import("./googlePlay-BYeXKpNE.mjs");
|
|
16720
16721
|
await deployGooglePlay(options);
|
|
16721
16722
|
} catch (error) {
|
|
16722
16723
|
exitWithError(error);
|
|
@@ -16738,7 +16739,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16738
16739
|
try {
|
|
16739
16740
|
const globalOptions = program.opts();
|
|
16740
16741
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16741
|
-
const { migrateCommand } = await import("./migrate
|
|
16742
|
+
const { migrateCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16742
16743
|
await migrateCommand({
|
|
16743
16744
|
...options,
|
|
16744
16745
|
...construct ? { construct } : {}
|
|
@@ -16751,7 +16752,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16751
16752
|
try {
|
|
16752
16753
|
const globalOptions = program.opts();
|
|
16753
16754
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16754
|
-
const { seedCommand } = await import("./migrate
|
|
16755
|
+
const { seedCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16755
16756
|
await seedCommand({
|
|
16756
16757
|
...options,
|
|
16757
16758
|
...construct ? { construct } : {}
|
|
@@ -16764,7 +16765,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16764
16765
|
try {
|
|
16765
16766
|
const globalOptions = program.opts();
|
|
16766
16767
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16767
|
-
const { migrationCommand } = await import("./migrate
|
|
16768
|
+
const { migrationCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16768
16769
|
await migrationCommand({
|
|
16769
16770
|
construct,
|
|
16770
16771
|
...name ? { name } : {}
|
|
@@ -16864,7 +16865,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16864
16865
|
try {
|
|
16865
16866
|
const globalOptions = program.opts();
|
|
16866
16867
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16867
|
-
const { secretsAddCommand } = await import("./add-
|
|
16868
|
+
const { secretsAddCommand } = await import("./add-Bl33BvDW.mjs");
|
|
16868
16869
|
await secretsAddCommand(options);
|
|
16869
16870
|
} catch (error) {
|
|
16870
16871
|
exitWithError(error);
|
|
@@ -16874,7 +16875,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16874
16875
|
try {
|
|
16875
16876
|
const globalOptions = program.opts();
|
|
16876
16877
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16877
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16878
|
+
const { encryptionRotateCommand } = await import("./encryption-CRyFk5nu.mjs");
|
|
16878
16879
|
await encryptionRotateCommand(construct, options);
|
|
16879
16880
|
} catch (error) {
|
|
16880
16881
|
exitWithError(error);
|
|
@@ -16884,7 +16885,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16884
16885
|
try {
|
|
16885
16886
|
const globalOptions = program.opts();
|
|
16886
16887
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16887
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16888
|
+
const { encryptionRetireCommand } = await import("./encryption-CRyFk5nu.mjs");
|
|
16888
16889
|
await encryptionRetireCommand(construct, key, options);
|
|
16889
16890
|
} catch (error) {
|
|
16890
16891
|
exitWithError(error);
|
|
@@ -16923,7 +16924,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16923
16924
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16924
16925
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16925
16926
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16926
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
16927
|
+
const { secretsStoreFor } = await import("./credentials-CJ_z0Nni.mjs").then((n) => n.I);
|
|
16927
16928
|
const { workspace } = await loadWorkspaceConfig();
|
|
16928
16929
|
const stage = options.stage ?? workspace.stages.local;
|
|
16929
16930
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16932,7 +16933,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16932
16933
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16933
16934
|
process.exit(1);
|
|
16934
16935
|
}
|
|
16935
|
-
const { derivedContainers } = await import("./apps-
|
|
16936
|
+
const { derivedContainers } = await import("./apps-DFzUuJ22.mjs").then((n) => n.d);
|
|
16936
16937
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16937
16938
|
if (!result) {
|
|
16938
16939
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16949,14 +16950,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16949
16950
|
try {
|
|
16950
16951
|
const globalOptions = program.opts();
|
|
16951
16952
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16952
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16953
|
+
const { secretsMigrateCommand } = await import("./migrate-svXhccrs.mjs");
|
|
16953
16954
|
await secretsMigrateCommand(options);
|
|
16954
16955
|
} catch (error) {
|
|
16955
16956
|
exitWithError(error);
|
|
16956
16957
|
}
|
|
16957
16958
|
});
|
|
16958
16959
|
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) => {
|
|
16959
|
-
const { deployCli } = await import("./cli-
|
|
16960
|
+
const { deployCli } = await import("./cli-BJRPsFq7.mjs");
|
|
16960
16961
|
const globalOptions = program.opts();
|
|
16961
16962
|
const code = await deployCli({
|
|
16962
16963
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16976,8 +16977,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16976
16977
|
});
|
|
16977
16978
|
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) => {
|
|
16978
16979
|
try {
|
|
16979
|
-
const { rollbackStage } = await import("./rollback-
|
|
16980
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16980
|
+
const { rollbackStage } = await import("./rollback-DIoyVrQI.mjs").then((n) => n.a);
|
|
16981
|
+
const { terminalCredentials } = await import("./terminal-KVX_MmCR.mjs");
|
|
16981
16982
|
const globalOptions = program.opts();
|
|
16982
16983
|
await rollbackStage({
|
|
16983
16984
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16995,7 +16996,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16995
16996
|
try {
|
|
16996
16997
|
const globalOptions = program.opts();
|
|
16997
16998
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16998
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16999
|
+
const { composeServerCommand } = await import("./serverSetup-fQwkJ_EI.mjs");
|
|
16999
17000
|
await composeServerCommand(options);
|
|
17000
17001
|
} catch (error) {
|
|
17001
17002
|
exitWithError(error);
|
|
@@ -17020,7 +17021,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17020
17021
|
try {
|
|
17021
17022
|
const globalOptions = program.opts();
|
|
17022
17023
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17023
|
-
const { deployGithubCommand } = await import("./github-
|
|
17024
|
+
const { deployGithubCommand } = await import("./github-CDJXpBCT.mjs");
|
|
17024
17025
|
await deployGithubCommand(options);
|
|
17025
17026
|
} catch (error) {
|
|
17026
17027
|
exitWithError(error);
|
|
@@ -17030,7 +17031,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17030
17031
|
try {
|
|
17031
17032
|
const globalOptions = program.opts();
|
|
17032
17033
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17033
|
-
const { stagesCommand } = await import("./stages-
|
|
17034
|
+
const { stagesCommand } = await import("./stages-_xCG4Ymu.mjs");
|
|
17034
17035
|
await stagesCommand(options);
|
|
17035
17036
|
} catch (error) {
|
|
17036
17037
|
exitWithError(error);
|