@geekmidas/cli 10.0.0-alpha.145 → 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-DAJIa64i.cjs → GoDaddyProvider-CpO8dFYC.cjs} +2 -2
- package/dist/{GoDaddyProvider-DAJIa64i.cjs.map → GoDaddyProvider-CpO8dFYC.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-IVuFcWyc.mjs → GoDaddyProvider-DXuPFufW.mjs} +2 -2
- package/dist/{GoDaddyProvider-IVuFcWyc.mjs.map → GoDaddyProvider-DXuPFufW.mjs.map} +1 -1
- package/dist/{HostingerProvider-DdikWVRy.cjs → HostingerProvider-Beu0Ciky.cjs} +2 -2
- package/dist/{HostingerProvider-DdikWVRy.cjs.map → HostingerProvider-Beu0Ciky.cjs.map} +1 -1
- package/dist/{HostingerProvider-BtLb-jkn.mjs → HostingerProvider-Dum492dc.mjs} +2 -2
- package/dist/{HostingerProvider-BtLb-jkn.mjs.map → HostingerProvider-Dum492dc.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CmgUY9kR.mjs → LegacyStateStore-DZjph7ES.mjs} +2 -2
- package/dist/{LegacyStateStore-CmgUY9kR.mjs.map → LegacyStateStore-DZjph7ES.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CWwT7Mj5.cjs → LegacyStateStore-V4R0llou.cjs} +2 -2
- package/dist/{LegacyStateStore-CWwT7Mj5.cjs.map → LegacyStateStore-V4R0llou.cjs.map} +1 -1
- package/dist/{LocalStateStore-NOmS4QyA.mjs → LocalStateStore-Bth8pBp-.mjs} +2 -2
- package/dist/{LocalStateStore-NOmS4QyA.mjs.map → LocalStateStore-Bth8pBp-.mjs.map} +1 -1
- package/dist/{LocalStateStore-BkeQg1ga.cjs → LocalStateStore-DuSotrd3.cjs} +2 -2
- package/dist/{LocalStateStore-BkeQg1ga.cjs.map → LocalStateStore-DuSotrd3.cjs.map} +1 -1
- package/dist/{S3StateStore-SjIxuWHM.mjs → S3StateStore-DGlh3s2p.mjs} +4 -4
- package/dist/{S3StateStore-SjIxuWHM.mjs.map → S3StateStore-DGlh3s2p.mjs.map} +1 -1
- package/dist/{S3StateStore-Cw2nwI5C.cjs → S3StateStore-DTPxQS3z.cjs} +4 -4
- package/dist/{S3StateStore-Cw2nwI5C.cjs.map → S3StateStore-DTPxQS3z.cjs.map} +1 -1
- package/dist/{SSMStateStore-DC1N1Baw.cjs → SSMStateStore-B9R317q0.cjs} +2 -2
- package/dist/{SSMStateStore-DC1N1Baw.cjs.map → SSMStateStore-B9R317q0.cjs.map} +1 -1
- package/dist/{SSMStateStore-DGqzo4Ob.mjs → SSMStateStore-DCa85jhG.mjs} +2 -2
- package/dist/{SSMStateStore-DGqzo4Ob.mjs.map → SSMStateStore-DCa85jhG.mjs.map} +1 -1
- package/dist/{add-Bnd7vuUN.mjs → add-Bl33BvDW.mjs} +7 -7
- package/dist/{add-Bnd7vuUN.mjs.map → add-Bl33BvDW.mjs.map} +1 -1
- package/dist/{add-BwC_EH0e.cjs → add-Cr-9Ku0W.cjs} +7 -7
- package/dist/{add-BwC_EH0e.cjs.map → add-Cr-9Ku0W.cjs.map} +1 -1
- package/dist/{apps-D1svw9OG.cjs → apps-BIsxWYUo.cjs} +513 -52
- package/dist/apps-BIsxWYUo.cjs.map +1 -0
- package/dist/{apps-Xrlvir2-.mjs → apps-DFzUuJ22.mjs} +470 -52
- package/dist/apps-DFzUuJ22.mjs.map +1 -0
- package/dist/{bundler-CoRIF5bx.mjs → bundler-BagXzefF.mjs} +6 -6
- package/dist/{bundler-CoRIF5bx.mjs.map → bundler-BagXzefF.mjs.map} +1 -1
- package/dist/{bundler-CgWYsgqb.cjs → bundler-Cael9EDc.cjs} +6 -6
- package/dist/{bundler-CgWYsgqb.cjs.map → bundler-Cael9EDc.cjs.map} +1 -1
- package/dist/{cli-DsPHbC7p.cjs → cli-B1A-cLy-.cjs} +4 -4
- package/dist/{cli-DsPHbC7p.cjs.map → cli-B1A-cLy-.cjs.map} +1 -1
- package/dist/{cli-CKlTRVwo.mjs → cli-BJRPsFq7.mjs} +4 -4
- package/dist/{cli-CKlTRVwo.mjs.map → cli-BJRPsFq7.mjs.map} +1 -1
- package/dist/{compose-BMTnoIek.mjs → compose-C7izI7Eo.mjs} +5 -5
- package/dist/compose-C7izI7Eo.mjs.map +1 -0
- package/dist/{compose-CkvPmijw.mjs → compose-CZU60dwb.mjs} +303 -46
- package/dist/compose-CZU60dwb.mjs.map +1 -0
- package/dist/{compose-CVAoA04l.cjs → compose-Cius-YHS.cjs} +5 -5
- package/dist/compose-Cius-YHS.cjs.map +1 -0
- package/dist/{compose-ChUQHKG3.cjs → compose-CnNmDNph.cjs} +302 -45
- package/dist/compose-CnNmDNph.cjs.map +1 -0
- package/dist/{config-BKpzKP6W.mjs → config-BLrAd7Of.mjs} +2 -2
- package/dist/{config-BKpzKP6W.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-QAqAEgb0.cjs → config-juUyBlb1.cjs} +2 -2
- package/dist/{config-QAqAEgb0.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-Jx1Vdisc.mjs → credentials-CJ_z0Nni.mjs} +7 -7
- package/dist/{credentials-Jx1Vdisc.mjs.map → credentials-CJ_z0Nni.mjs.map} +1 -1
- package/dist/{credentials-CCIXh-cq.cjs → credentials-D11xozSF.cjs} +7 -7
- package/dist/{credentials-CCIXh-cq.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-CEX0YRdq.cjs → deploy-Ch1wCsU1.cjs} +13 -13
- package/dist/{deploy-CEX0YRdq.cjs.map → deploy-Ch1wCsU1.cjs.map} +1 -1
- package/dist/{deploy-8wsaNpPW.mjs → deploy-Dfn21QYG.mjs} +13 -13
- package/dist/{deploy-8wsaNpPW.mjs.map → deploy-Dfn21QYG.mjs.map} +1 -1
- package/dist/{docker-M_-xKiFU.cjs → docker-BT6G7aJE.cjs} +5 -5
- package/dist/{docker-M_-xKiFU.cjs.map → docker-BT6G7aJE.cjs.map} +1 -1
- package/dist/{docker-M4kCqczV.mjs → docker-_W_CauBY.mjs} +5 -5
- package/dist/{docker-M4kCqczV.mjs.map → docker-_W_CauBY.mjs.map} +1 -1
- package/dist/{dokploy-BsAPW8K1.mjs → dokploy-CBgGuei3.mjs} +2 -2
- package/dist/{dokploy-BsAPW8K1.mjs.map → dokploy-CBgGuei3.mjs.map} +1 -1
- package/dist/{dokploy-Djm8QIQZ.cjs → dokploy-DaQbR_NH.cjs} +2 -2
- package/dist/{dokploy-Djm8QIQZ.cjs.map → dokploy-DaQbR_NH.cjs.map} +1 -1
- package/dist/{eas-zEpuiYYj.mjs → eas-3L1_yKhk.mjs} +3 -3
- package/dist/{eas-zEpuiYYj.mjs.map → eas-3L1_yKhk.mjs.map} +1 -1
- package/dist/{eas-B-Ac5NjL.cjs → eas-YxDTJ3ql.cjs} +3 -3
- package/dist/{eas-B-Ac5NjL.cjs.map → eas-YxDTJ3ql.cjs.map} +1 -1
- package/dist/{encryption-EOEhb95p.mjs → encryption-CRyFk5nu.mjs} +4 -4
- package/dist/{encryption-EOEhb95p.mjs.map → encryption-CRyFk5nu.mjs.map} +1 -1
- package/dist/{encryption-B4LCEdXH.cjs → encryption-CVIu104e.cjs} +4 -4
- package/dist/{encryption-B4LCEdXH.cjs.map → encryption-CVIu104e.cjs.map} +1 -1
- package/dist/{engine-Ci-uU3kt.mjs → engine-DZnZy1R5.mjs} +17 -12
- package/dist/engine-DZnZy1R5.mjs.map +1 -0
- package/dist/{engine-6NLOikTQ.cjs → engine-XecwdLdj.cjs} +17 -12
- package/dist/engine-XecwdLdj.cjs.map +1 -0
- package/dist/{github-C0oLDg5G.mjs → github-CDJXpBCT.mjs} +9 -9
- package/dist/{github-C0oLDg5G.mjs.map → github-CDJXpBCT.mjs.map} +1 -1
- package/dist/{github-u9sfpl0l.cjs → github-dnxU_tMp.cjs} +9 -9
- package/dist/{github-u9sfpl0l.cjs.map → github-dnxU_tMp.cjs.map} +1 -1
- package/dist/{googlePlay-3nfA-wWh.mjs → googlePlay-BYeXKpNE.mjs} +5 -5
- package/dist/{googlePlay-3nfA-wWh.mjs.map → googlePlay-BYeXKpNE.mjs.map} +1 -1
- package/dist/{googlePlay-DfLH_sPa.cjs → googlePlay-CnIU3qIV.cjs} +5 -5
- package/dist/{googlePlay-DfLH_sPa.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 +73 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +73 -80
- package/dist/index.mjs.map +1 -1
- package/dist/{local-uvqZDwZ9.mjs → local-BIOpCtLE.mjs} +2 -2
- package/dist/{local-uvqZDwZ9.mjs.map → local-BIOpCtLE.mjs.map} +1 -1
- package/dist/{local-CtzKG55y.cjs → local-qdNfjzxQ.cjs} +2 -2
- package/dist/{local-CtzKG55y.cjs.map → local-qdNfjzxQ.cjs.map} +1 -1
- package/dist/{migrate-s9lVmF98.mjs → migrate--VNdTWT7.mjs} +6 -6
- package/dist/{migrate-s9lVmF98.mjs.map → migrate--VNdTWT7.mjs.map} +1 -1
- package/dist/{migrate-FKPFIzwd.cjs → migrate-CDEHWq-e.cjs} +6 -6
- package/dist/{migrate-FKPFIzwd.cjs.map → migrate-CDEHWq-e.cjs.map} +1 -1
- package/dist/{migrate-C6V9bEVY.cjs → migrate-CkHtNdre.cjs} +4 -4
- package/dist/{migrate-C6V9bEVY.cjs.map → migrate-CkHtNdre.cjs.map} +1 -1
- package/dist/{migrate-CA1GWA4t.mjs → migrate-svXhccrs.mjs} +4 -4
- package/dist/{migrate-CA1GWA4t.mjs.map → migrate-svXhccrs.mjs.map} +1 -1
- package/dist/{notes-Dz1M9_q9.mjs → notes-D9ofENLJ.mjs} +4 -4
- package/dist/{notes-Dz1M9_q9.mjs.map → notes-D9ofENLJ.mjs.map} +1 -1
- package/dist/{notes-BjxySbyH.cjs → notes-DBNPml4N.cjs} +4 -4
- package/dist/{notes-BjxySbyH.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-DsXNW1Yc.cjs → projectBucket-BtiC0Cn8.cjs} +2 -2
- package/dist/{projectBucket-DsXNW1Yc.cjs.map → projectBucket-BtiC0Cn8.cjs.map} +1 -1
- package/dist/{projectBucket-2XgQSnLw.mjs → projectBucket-De0MQeNj.mjs} +2 -2
- package/dist/{projectBucket-2XgQSnLw.mjs.map → projectBucket-De0MQeNj.mjs.map} +1 -1
- package/dist/{publish-7-dwP5TL.cjs → publish-CohTrVKe.cjs} +2 -2
- package/dist/{publish-7-dwP5TL.cjs.map → publish-CohTrVKe.cjs.map} +1 -1
- package/dist/{publish-Dmy_OhvF.mjs → publish-k38S418e.mjs} +2 -2
- package/dist/{publish-Dmy_OhvF.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-DhsUJwm8.cjs → resolve-Cr3Qj8ch.cjs} +4 -4
- package/dist/{resolve-DhsUJwm8.cjs.map → resolve-Cr3Qj8ch.cjs.map} +1 -1
- package/dist/{resolve-BK7mzDBb.mjs → resolve-YMxlYJtO.mjs} +4 -4
- package/dist/{resolve-BK7mzDBb.mjs.map → resolve-YMxlYJtO.mjs.map} +1 -1
- package/dist/{rollback-8qHgyadV.mjs → rollback-DIoyVrQI.mjs} +7 -7
- package/dist/{rollback-8qHgyadV.mjs.map → rollback-DIoyVrQI.mjs.map} +1 -1
- package/dist/{rollback-DP2iDjc9.cjs → rollback-eyqvtzW_.cjs} +7 -7
- package/dist/{rollback-DP2iDjc9.cjs.map → rollback-eyqvtzW_.cjs.map} +1 -1
- package/dist/{runtime-CeAt1IJd.d.mts → runtime-CFvcLEJW.d.cts} +2 -2
- package/dist/{runtime-Bvgyxm88.d.cts.map → runtime-CFvcLEJW.d.cts.map} +1 -1
- package/dist/{runtime-Bvgyxm88.d.cts → runtime-dwsH6ddo.d.mts} +2 -2
- package/dist/{runtime-CeAt1IJd.d.mts.map → runtime-dwsH6ddo.d.mts.map} +1 -1
- package/dist/{s3-DSPbU5gN.cjs → s3-CegRM8Sa.cjs} +3 -3
- package/dist/{s3-DSPbU5gN.cjs.map → s3-CegRM8Sa.cjs.map} +1 -1
- package/dist/{s3-DxCex5Fx.mjs → s3-Cl3tRemt.mjs} +3 -3
- package/dist/{s3-DxCex5Fx.mjs.map → s3-Cl3tRemt.mjs.map} +1 -1
- package/dist/{serverSetup-BSuHk2t2.cjs → serverSetup-BwfMgz3W.cjs} +7 -7
- package/dist/{serverSetup-BSuHk2t2.cjs.map → serverSetup-BwfMgz3W.cjs.map} +1 -1
- package/dist/{serverSetup-CeFpl5VJ.mjs → serverSetup-fQwkJ_EI.mjs} +7 -7
- package/dist/{serverSetup-CeFpl5VJ.mjs.map → serverSetup-fQwkJ_EI.mjs.map} +1 -1
- package/dist/{sniffer-Cb3n63dY.cjs → sniffer-BgdVvvzU.cjs} +7 -7
- package/dist/{sniffer-Cb3n63dY.cjs.map → sniffer-BgdVvvzU.cjs.map} +1 -1
- package/dist/{sniffer-BfNl8jn-.mjs → sniffer-FF7mfuR8.mjs} +7 -7
- package/dist/{sniffer-BfNl8jn-.mjs.map → sniffer-FF7mfuR8.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DoZ0Q1n6.mjs → snsSubscriptions-B_WH4o1S.mjs} +3 -3
- package/dist/{snsSubscriptions-DoZ0Q1n6.mjs.map → snsSubscriptions-B_WH4o1S.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Bd40ebt6.cjs → snsSubscriptions-DUY-Tu6J.cjs} +3 -3
- package/dist/{snsSubscriptions-Bd40ebt6.cjs.map → snsSubscriptions-DUY-Tu6J.cjs.map} +1 -1
- package/dist/{sst-DKNyfTpw.cjs → sst-BEXeTgDQ.cjs} +5 -5
- package/dist/{sst-DKNyfTpw.cjs.map → sst-BEXeTgDQ.cjs.map} +1 -1
- package/dist/{sst-B6RbJp8g.mjs → sst-BkTtncop.mjs} +5 -5
- package/dist/{sst-B6RbJp8g.mjs.map → sst-BkTtncop.mjs.map} +1 -1
- package/dist/{stack-UcV-V6Qk.cjs → stack-CcFgY4sJ.cjs} +106 -49
- package/dist/stack-CcFgY4sJ.cjs.map +1 -0
- package/dist/{stack-DwQ62dKK.mjs → stack-CqfBL5LA.mjs} +106 -49
- package/dist/stack-CqfBL5LA.mjs.map +1 -0
- package/dist/{stage-52sKecmS.mjs → stage-4ZtteXz8.mjs} +7 -7
- package/dist/{stage-52sKecmS.mjs.map → stage-4ZtteXz8.mjs.map} +1 -1
- package/dist/{stage-C2v5890I.cjs → stage-C19XRx7W.cjs} +7 -7
- package/dist/{stage-C2v5890I.cjs.map → stage-C19XRx7W.cjs.map} +1 -1
- package/dist/{stages-CFI0OiLj.cjs → stages-Bs1THSy7.cjs} +3 -3
- package/dist/{stages-CFI0OiLj.cjs.map → stages-Bs1THSy7.cjs.map} +1 -1
- package/dist/{stages-DoYa81kN.mjs → stages-_xCG4Ymu.mjs} +3 -3
- package/dist/{stages-DoYa81kN.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-DkXWdU0E.cjs → terminal-BkyVVOb-.cjs} +2 -2
- package/dist/{terminal-DkXWdU0E.cjs.map → terminal-BkyVVOb-.cjs.map} +1 -1
- package/dist/{terminal-BDEqpkbO.mjs → terminal-KVX_MmCR.mjs} +2 -2
- package/dist/{terminal-BDEqpkbO.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-Dkm3HL9e.cjs → workspace-1szcahj9.cjs} +19 -27
- package/dist/workspace-1szcahj9.cjs.map +1 -0
- package/dist/{workspace-BbfBFtjn.mjs → workspace-DFGsrjGD.mjs} +19 -27
- package/dist/workspace-DFGsrjGD.mjs.map +1 -0
- package/package.json +17 -15
- package/dist/apps-D1svw9OG.cjs.map +0 -1
- package/dist/apps-Xrlvir2-.mjs.map +0 -1
- package/dist/compose-BMTnoIek.mjs.map +0 -1
- package/dist/compose-CVAoA04l.cjs.map +0 -1
- package/dist/compose-ChUQHKG3.cjs.map +0 -1
- package/dist/compose-CkvPmijw.mjs.map +0 -1
- package/dist/engine-6NLOikTQ.cjs.map +0 -1
- package/dist/engine-Ci-uU3kt.mjs.map +0 -1
- package/dist/stack-DwQ62dKK.mjs.map +0 -1
- package/dist/stack-UcV-V6Qk.cjs.map +0 -1
- package/dist/workspace-BbfBFtjn.mjs.map +0 -1
- package/dist/workspace-Dkm3HL9e.cjs.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 {
|
|
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
|
|
@@ -770,10 +770,12 @@ function describeLogins(logins) {
|
|
|
770
770
|
//#endregion
|
|
771
771
|
//#region src/trust/index.ts
|
|
772
772
|
/**
|
|
773
|
-
* Installing
|
|
773
|
+
* Installing gkm's local certificate authority (`./authority.ts`) — the root
|
|
774
|
+
* every local edge's certificate is issued from — into the OS trust store.
|
|
774
775
|
*
|
|
775
776
|
* `NODE_EXTRA_CA_CERTS` covers everything gkm starts — the dev server, the test
|
|
776
|
-
* suite, anything under `gkm exec
|
|
777
|
+
* suite, anything under `gkm exec`, a local stack's containers — because gkm
|
|
778
|
+
* injects it. A browser
|
|
777
779
|
* reads none of that: it asks the operating system, so until the root is in the
|
|
778
780
|
* system store a local `https://` address is "not secure", which is true and
|
|
779
781
|
* unhelpful.
|
|
@@ -825,15 +827,14 @@ function installation(platform, certificate) {
|
|
|
825
827
|
throw new UnsupportedPlatform(platform, certificate);
|
|
826
828
|
}
|
|
827
829
|
/**
|
|
828
|
-
* Trust
|
|
830
|
+
* Trust gkm's local certificate authority, making it first if this machine
|
|
831
|
+
* has none — so it works before any edge has started, in any directory.
|
|
829
832
|
*
|
|
830
833
|
* Idempotent in effect: installing a root that is already trusted replaces the
|
|
831
834
|
* same entry, so running it twice is not an error.
|
|
832
835
|
*/
|
|
833
836
|
async function trustCommand(options = {}) {
|
|
834
|
-
const {
|
|
835
|
-
const certificate = join(workspace.root, LOCAL_CA_PATH);
|
|
836
|
-
if (!existsSync(certificate)) throw new NoLocalAuthority(certificate);
|
|
837
|
+
const { certFile: certificate } = await ensureLocalAuthority(options.authority ?? localAuthorityPaths());
|
|
837
838
|
const { describe, asks, steps } = installation(process.platform, certificate);
|
|
838
839
|
logger$7.log(`\n🔐 Trusting the local authority in ${describe}`);
|
|
839
840
|
logger$7.log(` ${certificate}\n`);
|
|
@@ -867,7 +868,7 @@ async function ensureTrusted(root, url, options = {}) {
|
|
|
867
868
|
const { install } = await prompts({
|
|
868
869
|
type: "confirm",
|
|
869
870
|
name: "install",
|
|
870
|
-
message: "Trust
|
|
871
|
+
message: "Trust gkm's local certificate authority, so a browser accepts its https addresses? (asks for your password)",
|
|
871
872
|
initial: false
|
|
872
873
|
});
|
|
873
874
|
if (!install) {
|
|
@@ -921,15 +922,6 @@ async function isTrusted(url) {
|
|
|
921
922
|
return false;
|
|
922
923
|
}
|
|
923
924
|
}
|
|
924
|
-
/** The edge has not run, so there is no authority to trust yet. */
|
|
925
|
-
var NoLocalAuthority = class extends GkmError {
|
|
926
|
-
path;
|
|
927
|
-
constructor(path) {
|
|
928
|
-
super(`No local certificate authority at ${path}. It is generated the first time the edge starts, so run "gkm setup" (or "gkm dev") once — and if this project declares no file server, nothing needs one.`);
|
|
929
|
-
this.path = path;
|
|
930
|
-
this.name = "NoLocalAuthority";
|
|
931
|
-
}
|
|
932
|
-
};
|
|
933
925
|
/** A platform with no trust store this knows how to write to. */
|
|
934
926
|
var UnsupportedPlatform = class extends GkmError {
|
|
935
927
|
platform;
|
|
@@ -2206,7 +2198,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2206
2198
|
const cwd = options.cwd ?? process.cwd();
|
|
2207
2199
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2208
2200
|
if (options.stage && !isImageBuild()) {
|
|
2209
|
-
const { execOnStage } = await import("./stage-
|
|
2201
|
+
const { execOnStage } = await import("./stage-4ZtteXz8.mjs").then((n) => n.n);
|
|
2210
2202
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2211
2203
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2212
2204
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2776,9 +2768,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2776
2768
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2777
2769
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2778
2770
|
if (options.migrate || options.seed) {
|
|
2779
|
-
const { prepareDevDatabases } = await import("./migrate
|
|
2771
|
+
const { prepareDevDatabases } = await import("./migrate--VNdTWT7.mjs");
|
|
2780
2772
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2781
|
-
} else await import("./migrate
|
|
2773
|
+
} else await import("./migrate--VNdTWT7.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2782
2774
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2783
2775
|
});
|
|
2784
2776
|
const appUrls = {};
|
|
@@ -3884,7 +3876,7 @@ async function buildApp(input) {
|
|
|
3884
3876
|
...production,
|
|
3885
3877
|
...telemetry ? { telemetry } : {}
|
|
3886
3878
|
});
|
|
3887
|
-
const { bundleServer } = await import("./bundler-
|
|
3879
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
3888
3880
|
await bundleServer({
|
|
3889
3881
|
entryPoint,
|
|
3890
3882
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4129,7 +4121,7 @@ async function buildWorkers(input) {
|
|
|
4129
4121
|
});
|
|
4130
4122
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4131
4123
|
if (!input.bundle) continue;
|
|
4132
|
-
const { bundleServer } = await import("./bundler-
|
|
4124
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4133
4125
|
const outfile = workerBundleName(worker.id);
|
|
4134
4126
|
await bundleServer({
|
|
4135
4127
|
entryPoint,
|
|
@@ -4171,7 +4163,7 @@ async function buildProcessors(input) {
|
|
|
4171
4163
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4172
4164
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4173
4165
|
if (!input.bundle) continue;
|
|
4174
|
-
const { bundleServer } = await import("./bundler-
|
|
4166
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4175
4167
|
const outfile = processorBundleName(fileServerId);
|
|
4176
4168
|
await bundleServer({
|
|
4177
4169
|
entryPoint,
|
|
@@ -4254,7 +4246,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4254
4246
|
let masterKey;
|
|
4255
4247
|
if (context.production?.bundle && !skipBundle) {
|
|
4256
4248
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4257
|
-
const { bundleServer } = await import("./bundler-
|
|
4249
|
+
const { bundleServer } = await import("./bundler-BagXzefF.mjs");
|
|
4258
4250
|
const allConstructs = [
|
|
4259
4251
|
...endpoints.map((e) => e.construct),
|
|
4260
4252
|
...functions.map((f) => f.construct),
|
|
@@ -4532,7 +4524,8 @@ async function composeCommand(options, deps = {}) {
|
|
|
4532
4524
|
};
|
|
4533
4525
|
const docker = deps.docker ?? dockerCompose;
|
|
4534
4526
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
4535
|
-
|
|
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}.`);
|
|
4536
4529
|
await docker.down(ref);
|
|
4537
4530
|
console.log(`🛑 Stopped ${ref.project}. Its volumes are kept.`);
|
|
4538
4531
|
return;
|
|
@@ -6090,25 +6083,25 @@ function loadPackageJson() {
|
|
|
6090
6083
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6091
6084
|
*/
|
|
6092
6085
|
const GEEKMIDAS_VERSIONS = {
|
|
6093
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6104
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6105
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6106
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6107
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6108
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6109
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6110
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6111
|
-
"@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",
|
|
6112
6105
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6113
6106
|
};
|
|
6114
6107
|
//#endregion
|
|
@@ -7301,7 +7294,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7301
7294
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7302
7295
|
* release the pinned commit is.
|
|
7303
7296
|
*/
|
|
7304
|
-
function stagesActionUses(commit = "
|
|
7297
|
+
function stagesActionUses(commit = "68c9aff7436f7e5def8149311f5a6437e0b8b75f", version = cliVersion()) {
|
|
7305
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`;
|
|
7306
7299
|
}
|
|
7307
7300
|
//#endregion
|
|
@@ -16273,7 +16266,7 @@ function testDatabases(reconciled) {
|
|
|
16273
16266
|
* starts without the reference data the app needs.
|
|
16274
16267
|
*/
|
|
16275
16268
|
async function migrateTestStage(workspace, env) {
|
|
16276
|
-
const { migrateAndSeed } = await import("./migrate
|
|
16269
|
+
const { migrateAndSeed } = await import("./migrate--VNdTWT7.mjs");
|
|
16277
16270
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16278
16271
|
const sources = {};
|
|
16279
16272
|
const manifest = await discover({
|
|
@@ -16619,7 +16612,7 @@ program.command("init").description("Scaffold a new project").argument("[name]",
|
|
|
16619
16612
|
exitWithError(error);
|
|
16620
16613
|
}
|
|
16621
16614
|
});
|
|
16622
|
-
program.command("trust").description("Trust
|
|
16615
|
+
program.command("trust").description("Trust gkm's local certificate authority, so a browser accepts local https").option("--dry-run", "Print the commands instead of running them").action(async (options) => {
|
|
16623
16616
|
try {
|
|
16624
16617
|
const globalOptions = program.opts();
|
|
16625
16618
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
@@ -16698,7 +16691,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16698
16691
|
try {
|
|
16699
16692
|
const globalOptions = program.opts();
|
|
16700
16693
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16701
|
-
const { easSync } = await import("./eas-
|
|
16694
|
+
const { easSync } = await import("./eas-3L1_yKhk.mjs");
|
|
16702
16695
|
await easSync(options);
|
|
16703
16696
|
} catch (error) {
|
|
16704
16697
|
exitWithError(error);
|
|
@@ -16708,7 +16701,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16708
16701
|
try {
|
|
16709
16702
|
const globalOptions = program.opts();
|
|
16710
16703
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16711
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16704
|
+
const { publish, PublishModeConflict } = await import("./publish-k38S418e.mjs");
|
|
16712
16705
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16713
16706
|
const { build, update, ...rest } = options;
|
|
16714
16707
|
await publish({
|
|
@@ -16724,7 +16717,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16724
16717
|
try {
|
|
16725
16718
|
const globalOptions = program.opts();
|
|
16726
16719
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16727
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16720
|
+
const { deployGooglePlay } = await import("./googlePlay-BYeXKpNE.mjs");
|
|
16728
16721
|
await deployGooglePlay(options);
|
|
16729
16722
|
} catch (error) {
|
|
16730
16723
|
exitWithError(error);
|
|
@@ -16746,7 +16739,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16746
16739
|
try {
|
|
16747
16740
|
const globalOptions = program.opts();
|
|
16748
16741
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16749
|
-
const { migrateCommand } = await import("./migrate
|
|
16742
|
+
const { migrateCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16750
16743
|
await migrateCommand({
|
|
16751
16744
|
...options,
|
|
16752
16745
|
...construct ? { construct } : {}
|
|
@@ -16759,7 +16752,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16759
16752
|
try {
|
|
16760
16753
|
const globalOptions = program.opts();
|
|
16761
16754
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16762
|
-
const { seedCommand } = await import("./migrate
|
|
16755
|
+
const { seedCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16763
16756
|
await seedCommand({
|
|
16764
16757
|
...options,
|
|
16765
16758
|
...construct ? { construct } : {}
|
|
@@ -16772,7 +16765,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16772
16765
|
try {
|
|
16773
16766
|
const globalOptions = program.opts();
|
|
16774
16767
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16775
|
-
const { migrationCommand } = await import("./migrate
|
|
16768
|
+
const { migrationCommand } = await import("./migrate--VNdTWT7.mjs");
|
|
16776
16769
|
await migrationCommand({
|
|
16777
16770
|
construct,
|
|
16778
16771
|
...name ? { name } : {}
|
|
@@ -16872,7 +16865,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16872
16865
|
try {
|
|
16873
16866
|
const globalOptions = program.opts();
|
|
16874
16867
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16875
|
-
const { secretsAddCommand } = await import("./add-
|
|
16868
|
+
const { secretsAddCommand } = await import("./add-Bl33BvDW.mjs");
|
|
16876
16869
|
await secretsAddCommand(options);
|
|
16877
16870
|
} catch (error) {
|
|
16878
16871
|
exitWithError(error);
|
|
@@ -16882,7 +16875,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16882
16875
|
try {
|
|
16883
16876
|
const globalOptions = program.opts();
|
|
16884
16877
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16885
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16878
|
+
const { encryptionRotateCommand } = await import("./encryption-CRyFk5nu.mjs");
|
|
16886
16879
|
await encryptionRotateCommand(construct, options);
|
|
16887
16880
|
} catch (error) {
|
|
16888
16881
|
exitWithError(error);
|
|
@@ -16892,7 +16885,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16892
16885
|
try {
|
|
16893
16886
|
const globalOptions = program.opts();
|
|
16894
16887
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16895
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16888
|
+
const { encryptionRetireCommand } = await import("./encryption-CRyFk5nu.mjs");
|
|
16896
16889
|
await encryptionRetireCommand(construct, key, options);
|
|
16897
16890
|
} catch (error) {
|
|
16898
16891
|
exitWithError(error);
|
|
@@ -16931,7 +16924,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16931
16924
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16932
16925
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16933
16926
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16934
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
16927
|
+
const { secretsStoreFor } = await import("./credentials-CJ_z0Nni.mjs").then((n) => n.I);
|
|
16935
16928
|
const { workspace } = await loadWorkspaceConfig();
|
|
16936
16929
|
const stage = options.stage ?? workspace.stages.local;
|
|
16937
16930
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16940,7 +16933,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16940
16933
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16941
16934
|
process.exit(1);
|
|
16942
16935
|
}
|
|
16943
|
-
const { derivedContainers } = await import("./apps-
|
|
16936
|
+
const { derivedContainers } = await import("./apps-DFzUuJ22.mjs").then((n) => n.d);
|
|
16944
16937
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16945
16938
|
if (!result) {
|
|
16946
16939
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16957,14 +16950,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16957
16950
|
try {
|
|
16958
16951
|
const globalOptions = program.opts();
|
|
16959
16952
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16960
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16953
|
+
const { secretsMigrateCommand } = await import("./migrate-svXhccrs.mjs");
|
|
16961
16954
|
await secretsMigrateCommand(options);
|
|
16962
16955
|
} catch (error) {
|
|
16963
16956
|
exitWithError(error);
|
|
16964
16957
|
}
|
|
16965
16958
|
});
|
|
16966
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) => {
|
|
16967
|
-
const { deployCli } = await import("./cli-
|
|
16960
|
+
const { deployCli } = await import("./cli-BJRPsFq7.mjs");
|
|
16968
16961
|
const globalOptions = program.opts();
|
|
16969
16962
|
const code = await deployCli({
|
|
16970
16963
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16984,8 +16977,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16984
16977
|
});
|
|
16985
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) => {
|
|
16986
16979
|
try {
|
|
16987
|
-
const { rollbackStage } = await import("./rollback-
|
|
16988
|
-
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");
|
|
16989
16982
|
const globalOptions = program.opts();
|
|
16990
16983
|
await rollbackStage({
|
|
16991
16984
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17003,7 +16996,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17003
16996
|
try {
|
|
17004
16997
|
const globalOptions = program.opts();
|
|
17005
16998
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17006
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16999
|
+
const { composeServerCommand } = await import("./serverSetup-fQwkJ_EI.mjs");
|
|
17007
17000
|
await composeServerCommand(options);
|
|
17008
17001
|
} catch (error) {
|
|
17009
17002
|
exitWithError(error);
|
|
@@ -17028,7 +17021,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17028
17021
|
try {
|
|
17029
17022
|
const globalOptions = program.opts();
|
|
17030
17023
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17031
|
-
const { deployGithubCommand } = await import("./github-
|
|
17024
|
+
const { deployGithubCommand } = await import("./github-CDJXpBCT.mjs");
|
|
17032
17025
|
await deployGithubCommand(options);
|
|
17033
17026
|
} catch (error) {
|
|
17034
17027
|
exitWithError(error);
|
|
@@ -17038,7 +17031,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17038
17031
|
try {
|
|
17039
17032
|
const globalOptions = program.opts();
|
|
17040
17033
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17041
|
-
const { stagesCommand } = await import("./stages-
|
|
17034
|
+
const { stagesCommand } = await import("./stages-_xCG4Ymu.mjs");
|
|
17042
17035
|
await stagesCommand(options);
|
|
17043
17036
|
} catch (error) {
|
|
17044
17037
|
exitWithError(error);
|