@geekmidas/cli 10.0.0-alpha.146 → 10.0.0-alpha.148
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-BESq24p-.mjs → GoDaddyProvider-CGgS-I6m.mjs} +2 -2
- package/dist/{GoDaddyProvider-BESq24p-.mjs.map → GoDaddyProvider-CGgS-I6m.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs → GoDaddyProvider-D_dZQJIX.cjs} +2 -2
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs.map → GoDaddyProvider-D_dZQJIX.cjs.map} +1 -1
- package/dist/{HostingerProvider-BV30wTNI.mjs → HostingerProvider-CWRE6auw.mjs} +2 -2
- package/dist/{HostingerProvider-BV30wTNI.mjs.map → HostingerProvider-CWRE6auw.mjs.map} +1 -1
- package/dist/{HostingerProvider-BbQod5OB.cjs → HostingerProvider-eGuDBjfN.cjs} +2 -2
- package/dist/{HostingerProvider-BbQod5OB.cjs.map → HostingerProvider-eGuDBjfN.cjs.map} +1 -1
- package/dist/{LegacyStateStore-Ck3HI28A.mjs → LegacyStateStore-CLyFmPIj.mjs} +2 -2
- package/dist/{LegacyStateStore-Ck3HI28A.mjs.map → LegacyStateStore-CLyFmPIj.mjs.map} +1 -1
- package/dist/{LegacyStateStore-OEno6vIb.cjs → LegacyStateStore-DyX9-7R_.cjs} +2 -2
- package/dist/{LegacyStateStore-OEno6vIb.cjs.map → LegacyStateStore-DyX9-7R_.cjs.map} +1 -1
- package/dist/{LocalStateStore-ukDFg6GM.cjs → LocalStateStore-C-v8K8zO.cjs} +2 -2
- package/dist/{LocalStateStore-ukDFg6GM.cjs.map → LocalStateStore-C-v8K8zO.cjs.map} +1 -1
- package/dist/{LocalStateStore-Fa54CpLw.mjs → LocalStateStore-DQVwsyTh.mjs} +2 -2
- package/dist/{LocalStateStore-Fa54CpLw.mjs.map → LocalStateStore-DQVwsyTh.mjs.map} +1 -1
- package/dist/{S3StateStore-Cjuft2Lk.cjs → S3StateStore-GA-DOTmj.cjs} +4 -4
- package/dist/{S3StateStore-Cjuft2Lk.cjs.map → S3StateStore-GA-DOTmj.cjs.map} +1 -1
- package/dist/{S3StateStore-D53985SR.mjs → S3StateStore-gR_6fNF6.mjs} +4 -4
- package/dist/{S3StateStore-D53985SR.mjs.map → S3StateStore-gR_6fNF6.mjs.map} +1 -1
- package/dist/{SSMStateStore-CRjV2h2G.mjs → SSMStateStore-CT68N-Ti.mjs} +2 -2
- package/dist/{SSMStateStore-CRjV2h2G.mjs.map → SSMStateStore-CT68N-Ti.mjs.map} +1 -1
- package/dist/{SSMStateStore-CnJgw3_-.cjs → SSMStateStore-kdb9rf7x.cjs} +2 -2
- package/dist/{SSMStateStore-CnJgw3_-.cjs.map → SSMStateStore-kdb9rf7x.cjs.map} +1 -1
- package/dist/{add-CG_4mNir.cjs → add-C7_WJEv2.cjs} +7 -8
- package/dist/{add-CG_4mNir.cjs.map → add-C7_WJEv2.cjs.map} +1 -1
- package/dist/{add-D0-1UyFj.mjs → add-CvmRPEfW.mjs} +6 -7
- package/dist/{add-D0-1UyFj.mjs.map → add-CvmRPEfW.mjs.map} +1 -1
- package/dist/{apps-DHi6E_yH.cjs → apps-ClZkLcMz.cjs} +771 -17
- package/dist/apps-ClZkLcMz.cjs.map +1 -0
- package/dist/{apps-DWALM-8s.mjs → apps-CmKxFPTj.mjs} +611 -19
- package/dist/apps-CmKxFPTj.mjs.map +1 -0
- package/dist/{bundler-Cb5ynXXS.mjs → bundler-D6IEJvq4.mjs} +6 -6
- package/dist/{bundler-Cb5ynXXS.mjs.map → bundler-D6IEJvq4.mjs.map} +1 -1
- package/dist/{bundler-Co_7zpYC.cjs → bundler-Ronn7-mL.cjs} +6 -6
- package/dist/{bundler-Co_7zpYC.cjs.map → bundler-Ronn7-mL.cjs.map} +1 -1
- package/dist/{cli-D_9WqN6C.mjs → cli-AZVyGSRn.mjs} +4 -4
- package/dist/{cli-D_9WqN6C.mjs.map → cli-AZVyGSRn.mjs.map} +1 -1
- package/dist/{cli-C5M_7Kux.cjs → cli-B1g2OvS0.cjs} +4 -4
- package/dist/{cli-C5M_7Kux.cjs.map → cli-B1g2OvS0.cjs.map} +1 -1
- package/dist/{compose-BeQ01iYk.cjs → compose-B5AsRVqr.cjs} +291 -36
- package/dist/compose-B5AsRVqr.cjs.map +1 -0
- package/dist/{compose-DxmEMeTu.mjs → compose-BRNMF29g.mjs} +286 -31
- package/dist/compose-BRNMF29g.mjs.map +1 -0
- package/dist/{compose-7p0-3ogo.mjs → compose-DNuENvIt.mjs} +15 -9
- package/dist/{compose-7p0-3ogo.mjs.map → compose-DNuENvIt.mjs.map} +1 -1
- package/dist/{compose-C10hkeHU.cjs → compose-DVPWitEu.cjs} +32 -8
- package/dist/{compose-C10hkeHU.cjs.map → compose-DVPWitEu.cjs.map} +1 -1
- 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-Csnd7M8M.cjs → credentials-CrQglKgo.cjs} +6 -70
- package/dist/credentials-CrQglKgo.cjs.map +1 -0
- package/dist/{credentials-B5Oe4fLE.mjs → credentials-FRF4PZYo.mjs} +8 -42
- package/dist/credentials-FRF4PZYo.mjs.map +1 -0
- 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-6DDEG4Ai.mjs → deploy-DI_tg5Mi.mjs} +13 -13
- package/dist/{deploy-6DDEG4Ai.mjs.map → deploy-DI_tg5Mi.mjs.map} +1 -1
- package/dist/{deploy-BwNxJ3ZI.cjs → deploy-DTBod420.cjs} +31 -31
- package/dist/{deploy-BwNxJ3ZI.cjs.map → deploy-DTBod420.cjs.map} +1 -1
- package/dist/{docker-BZnNUJCy.cjs → docker-CnWX5QNR.cjs} +8 -8
- package/dist/{docker-BZnNUJCy.cjs.map → docker-CnWX5QNR.cjs.map} +1 -1
- package/dist/{docker-Ch5aPQ04.mjs → docker-DsJNWnaX.mjs} +5 -5
- package/dist/{docker-Ch5aPQ04.mjs.map → docker-DsJNWnaX.mjs.map} +1 -1
- package/dist/{dokploy-Cn7dQqmE.cjs → dokploy-CxttPnYP.cjs} +2 -2
- package/dist/{dokploy-Cn7dQqmE.cjs.map → dokploy-CxttPnYP.cjs.map} +1 -1
- package/dist/{dokploy-CTWw3WSo.mjs → dokploy-Dd2mXHgX.mjs} +2 -2
- package/dist/{dokploy-CTWw3WSo.mjs.map → dokploy-Dd2mXHgX.mjs.map} +1 -1
- package/dist/{eas-IPjz0PWK.cjs → eas-B-JskJLP.cjs} +3 -3
- package/dist/{eas-IPjz0PWK.cjs.map → eas-B-JskJLP.cjs.map} +1 -1
- package/dist/{eas-D0B8H7hT.mjs → eas-B_yjP_Sl.mjs} +3 -3
- package/dist/{eas-D0B8H7hT.mjs.map → eas-B_yjP_Sl.mjs.map} +1 -1
- package/dist/{encryption-C9auXcSV.mjs → encryption-dUnvnbu8.mjs} +4 -4
- package/dist/{encryption-C9auXcSV.mjs.map → encryption-dUnvnbu8.mjs.map} +1 -1
- package/dist/{encryption-vK64UP4M.cjs → encryption-yW6cWTsN.cjs} +4 -4
- package/dist/{encryption-vK64UP4M.cjs.map → encryption-yW6cWTsN.cjs.map} +1 -1
- package/dist/{engine-C3N2WhbC.mjs → engine-W1gbyy7T.mjs} +17 -12
- package/dist/engine-W1gbyy7T.mjs.map +1 -0
- package/dist/{engine-Icqv5JI6.cjs → engine-oBwumCI2.cjs} +21 -16
- package/dist/engine-oBwumCI2.cjs.map +1 -0
- package/dist/{github-D24wTOe2.mjs → github-D2-FIlNY.mjs} +8 -9
- package/dist/{github-D24wTOe2.mjs.map → github-D2-FIlNY.mjs.map} +1 -1
- package/dist/{github-DUuNInc0.cjs → github-DLucfS9E.cjs} +9 -10
- package/dist/{github-DUuNInc0.cjs.map → github-DLucfS9E.cjs.map} +1 -1
- package/dist/{googlePlay-BGDKlnPx.cjs → googlePlay-C91kIbBZ.cjs} +5 -5
- package/dist/{googlePlay-BGDKlnPx.cjs.map → googlePlay-C91kIbBZ.cjs.map} +1 -1
- package/dist/{googlePlay-Cy-MaYr2.mjs → googlePlay-CapfGnZ8.mjs} +5 -5
- package/dist/{googlePlay-Cy-MaYr2.mjs.map → googlePlay-CapfGnZ8.mjs.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 +99 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +87 -69
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CdpBgn3d.mjs → local-2SR2d_BC.mjs} +2 -2
- package/dist/{local-CdpBgn3d.mjs.map → local-2SR2d_BC.mjs.map} +1 -1
- package/dist/{local-B4xobzh-.cjs → local-l5_-A-zI.cjs} +2 -2
- package/dist/{local-B4xobzh-.cjs.map → local-l5_-A-zI.cjs.map} +1 -1
- package/dist/{migrate--hMBtpx-.cjs → migrate-B05YVukh.cjs} +4 -4
- package/dist/{migrate--hMBtpx-.cjs.map → migrate-B05YVukh.cjs.map} +1 -1
- package/dist/{migrate-DVrXTq58.mjs → migrate-C0ecSkL2.mjs} +4 -4
- package/dist/{migrate-DVrXTq58.mjs.map → migrate-C0ecSkL2.mjs.map} +1 -1
- package/dist/{migrate-DwQ-zaMy.cjs → migrate-DNLNhKNT.cjs} +6 -6
- package/dist/{migrate-DwQ-zaMy.cjs.map → migrate-DNLNhKNT.cjs.map} +1 -1
- package/dist/{migrate-DhZfvCkJ.mjs → migrate-KdqlzELQ.mjs} +6 -6
- package/dist/{migrate-DhZfvCkJ.mjs.map → migrate-KdqlzELQ.mjs.map} +1 -1
- package/dist/{notes-z5OOMqm4.mjs → notes-Cj8jL1kS.mjs} +4 -4
- package/dist/{notes-z5OOMqm4.mjs.map → notes-Cj8jL1kS.mjs.map} +1 -1
- package/dist/{notes-C2b5RzGl.cjs → notes-DTTUGZyi.cjs} +4 -4
- package/dist/{notes-C2b5RzGl.cjs.map → notes-DTTUGZyi.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-DPD0_B8N.mjs → projectBucket-6BKUPlDp.mjs} +2 -2
- package/dist/{projectBucket-DPD0_B8N.mjs.map → projectBucket-6BKUPlDp.mjs.map} +1 -1
- package/dist/{projectBucket-Dk_aZ1cD.cjs → projectBucket-CjJB-nom.cjs} +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs.map → projectBucket-CjJB-nom.cjs.map} +1 -1
- package/dist/{publish-CDvh-9OG.cjs → publish-Cj36G3de.cjs} +2 -2
- package/dist/{publish-CDvh-9OG.cjs.map → publish-Cj36G3de.cjs.map} +1 -1
- package/dist/{publish-Bmc1Wfs3.mjs → publish-DRsFN1td.mjs} +2 -2
- package/dist/{publish-Bmc1Wfs3.mjs.map → publish-DRsFN1td.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-C1NkdIcy.cjs} +4 -4
- package/dist/{resolve-CuxPZ3ga.cjs.map → resolve-C1NkdIcy.cjs.map} +1 -1
- package/dist/{resolve-DHARlMdl.mjs → resolve-DjbMNLt-.mjs} +4 -4
- package/dist/{resolve-DHARlMdl.mjs.map → resolve-DjbMNLt-.mjs.map} +1 -1
- package/dist/{rollback-DxHut8C-.cjs → rollback-531Va3dw.cjs} +7 -7
- package/dist/{rollback-DxHut8C-.cjs.map → rollback-531Va3dw.cjs.map} +1 -1
- package/dist/{rollback-DZq_dIbl.mjs → rollback-D0ZpwlFq.mjs} +7 -7
- package/dist/{rollback-DZq_dIbl.mjs.map → rollback-D0ZpwlFq.mjs.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-BSfFgbms.cjs} +3 -3
- package/dist/{s3-Dhy58V_y.cjs.map → s3-BSfFgbms.cjs.map} +1 -1
- package/dist/{s3-Cd7UK2y8.mjs → s3-Ho00alt7.mjs} +3 -3
- package/dist/{s3-Cd7UK2y8.mjs.map → s3-Ho00alt7.mjs.map} +1 -1
- package/dist/{serverSetup-qe5bdBhO.mjs → serverSetup-BW1RgJXo.mjs} +7 -7
- package/dist/{serverSetup-qe5bdBhO.mjs.map → serverSetup-BW1RgJXo.mjs.map} +1 -1
- package/dist/{serverSetup-DYiKHMVp.cjs → serverSetup-C59lCe80.cjs} +7 -7
- package/dist/{serverSetup-DYiKHMVp.cjs.map → serverSetup-C59lCe80.cjs.map} +1 -1
- package/dist/{sniffer-DFix2ORf.cjs → sniffer-BL7X_kzC.cjs} +7 -7
- package/dist/{sniffer-DFix2ORf.cjs.map → sniffer-BL7X_kzC.cjs.map} +1 -1
- package/dist/{sniffer-BNcLP8MO.mjs → sniffer-DrmSlwg9.mjs} +7 -7
- package/dist/{sniffer-BNcLP8MO.mjs.map → sniffer-DrmSlwg9.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs → snsSubscriptions-B8nZBBEE.cjs} +3 -3
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs.map → snsSubscriptions-B8nZBBEE.cjs.map} +1 -1
- package/dist/{snsSubscriptions-BwX28_Kl.mjs → snsSubscriptions-DF7YGauz.mjs} +3 -3
- package/dist/{snsSubscriptions-BwX28_Kl.mjs.map → snsSubscriptions-DF7YGauz.mjs.map} +1 -1
- package/dist/{sst-Bvtx6uZ9.mjs → sst-C-RSpWC2.mjs} +5 -5
- package/dist/{sst-Bvtx6uZ9.mjs.map → sst-C-RSpWC2.mjs.map} +1 -1
- package/dist/{sst-CoKFPW7f.cjs → sst-Dvko43Y3.cjs} +5 -5
- package/dist/{sst-CoKFPW7f.cjs.map → sst-Dvko43Y3.cjs.map} +1 -1
- package/dist/{stack-BeSbt_7k.mjs → stack-CVzOFHed.mjs} +70 -387
- package/dist/stack-CVzOFHed.mjs.map +1 -0
- package/dist/{stack-DbaKGKnI.cjs → stack-l_eQ63Gl.cjs} +73 -462
- package/dist/stack-l_eQ63Gl.cjs.map +1 -0
- package/dist/{stage-BblkSR2C.mjs → stage-JMlDwobz.mjs} +18 -15
- package/dist/stage-JMlDwobz.mjs.map +1 -0
- package/dist/{stage-DI5mzoAi.cjs → stage-_vzQ82Gz.cjs} +19 -16
- package/dist/stage-_vzQ82Gz.cjs.map +1 -0
- 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-DDqusYW0.mjs → terminal-BnKPi06T.mjs} +2 -2
- package/dist/{terminal-DDqusYW0.mjs.map → terminal-BnKPi06T.mjs.map} +1 -1
- package/dist/{terminal-Bxy_A8iP.cjs → terminal-CdPFlCS_.cjs} +2 -2
- package/dist/{terminal-Bxy_A8iP.cjs.map → terminal-CdPFlCS_.cjs.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/credentials-B5Oe4fLE.mjs.map +0 -1
- package/dist/credentials-Csnd7M8M.cjs.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/stage-BblkSR2C.mjs.map +0 -1
- package/dist/stage-DI5mzoAi.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 {
|
|
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 {
|
|
4
|
+
import { B as FileSecretsStore, E as providerOf, F as toEmbeddableSecrets, I as withCustomSecret, N as maskPassword, T as eventsBackendFor, U as getKeyPath, X as deployIdentity, _t as storeGoDaddyToken, at as DEFAULT_TIMEOUT_MS, ct as getCredentialsPath, dt as getDokployToken, gt as storeDokployCredentials, ht as removeGoDaddyCredentials, k as secretsStoreFor, lt as getDokployCredentials, mt as removeDokployCredentials, pt as readCredentials, q as projectKey, rt as CommandFailed, ut as getDokployRegistryId, vt as storeHostingerToken, w as cacheBackendFor } from "./credentials-FRF4PZYo.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-BRNMF29g.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 { Bt as backupDatabases, Et as TELEMETRY_CONTAINER, Gt as stageBackups, Ht as backupFile, Nt as surfaceClientTraced, Pt as telemetryOf, S as ensureLocalAuthority, Tt as stageEnv$1, Ut as backupsPrefix, Wt as runTime, X as isImageBuild, Y as imageBuildCredentials, _ as forgetState, at as workerUnits, ct as RUNNER_PATH, d as backendsOf$1, f as constructGlobs, it as processorUnits, jt as scopeTelemetryEnv, kt as appTelemetry, m as reconcileWorkspace, n as appProcess, nt as isUnder, o as processEnv, ot as BACKUPS_SERVICE, p as derivedContainers, st as BACKUPS_URL_KEY, u as FAKE_ENV, w as localAuthorityPaths, x as pgClient, xt as quoteIdentifier, yt as postgresDatabaseNames } from "./apps-CmKxFPTj.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { B as imageBuildCredentials, G as processorUnits, K as workerUnits, U as isUnder, V as isImageBuild, _ as pgClient, b as localAuthorityPaths, c as constructGlobs, et as postgresDatabaseNames, ft as scopeTelemetryEnv, ht as telemetryOf, l as derivedContainers, mt as surfaceClientTraced, nt as quoteIdentifier, o as FAKE_ENV, ot as stageEnv$1, p as forgetState, s as backendsOf$1, st as TELEMETRY_CONTAINER, u as reconcileWorkspace, ut as appTelemetry, v as ensureLocalAuthority } from "./apps-DWALM-8s.mjs";
|
|
9
|
+
import { B as fakeKey, H as portsOf, K as LOCAL_LOGS_EMAIL, W as primaryPortKey, _ 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 describeServices } from "./compose-DNuENvIt.mjs";
|
|
11
10
|
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-
|
|
11
|
+
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
12
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
14
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-CusLH-9S.mjs";
|
|
15
14
|
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 {
|
|
18
|
-
import {
|
|
15
|
+
import { d as assertDevServicesFlag } from "./notes-Cj8jL1kS.mjs";
|
|
16
|
+
import { D as pinnedRef, T as parseDigests, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, v as EDGE_PROJECT } from "./stack-CVzOFHed.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-DsJNWnaX.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-DF7YGauz.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-2SR2d_BC.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-DrmSlwg9.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-DI_tg5Mi.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-DQVwsyTh.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.148";
|
|
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-DrmSlwg9.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-JMlDwobz.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) {
|
|
@@ -2215,7 +2215,10 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
const defaultEnv = loadEnvFiles(".env");
|
|
2217
2217
|
if (defaultEnv.loaded.length > 0) logger$6.log(`📦 Loaded env: ${defaultEnv.loaded.join(", ")}`);
|
|
2218
|
-
const { credentials, secretsJsonPath, appName } = isImageBuild() ? await imageBuildEntry(cwd) : await prepareEntryCredentials({
|
|
2218
|
+
const { credentials, secretsJsonPath, appName } = isImageBuild() ? await imageBuildEntry(cwd) : await prepareEntryCredentials({
|
|
2219
|
+
cwd,
|
|
2220
|
+
scoped: true
|
|
2221
|
+
});
|
|
2219
2222
|
if (appName) logger$6.log(`📦 App: ${appName}`);
|
|
2220
2223
|
const secretCount = Object.keys(credentials).filter((k) => k !== "PORT").length;
|
|
2221
2224
|
if (secretCount > 0 && !isImageBuild()) logger$6.log(`🔐 Loaded ${secretCount} secret(s)`);
|
|
@@ -2416,7 +2419,9 @@ async function devCommand(options) {
|
|
|
2416
2419
|
for (const line of describeLogins(logins)) logger$5.log(line);
|
|
2417
2420
|
}
|
|
2418
2421
|
}
|
|
2419
|
-
|
|
2422
|
+
const processValues = processEnv(reconciled.manifest, appProcess(workspace, reconciled.manifest, reconciled.background, workspaceAppName), { ...appSecrets }, reconciled.env);
|
|
2423
|
+
for (const key of Object.keys(appSecrets)) delete appSecrets[key];
|
|
2424
|
+
Object.assign(appSecrets, processValues);
|
|
2420
2425
|
const declared = reconciled.manifest;
|
|
2421
2426
|
const scoped = scopeTelemetryEnv(appSecrets, {
|
|
2422
2427
|
uses: declared !== void 0 && (appTelemetry(declared, workspaceAppName) !== void 0 || (initial.workers ?? []).some((id) => telemetryOf(declared, id) !== void 0)),
|
|
@@ -2768,9 +2773,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2768
2773
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2769
2774
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2770
2775
|
if (options.migrate || options.seed) {
|
|
2771
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2776
|
+
const { prepareDevDatabases } = await import("./migrate-KdqlzELQ.mjs");
|
|
2772
2777
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2773
|
-
} else await import("./migrate-
|
|
2778
|
+
} else await import("./migrate-KdqlzELQ.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2774
2779
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2775
2780
|
});
|
|
2776
2781
|
const appUrls = {};
|
|
@@ -2855,7 +2860,7 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2855
2860
|
announce(discovery);
|
|
2856
2861
|
const turboEnv = {
|
|
2857
2862
|
...process.env,
|
|
2858
|
-
...
|
|
2863
|
+
...processEnv(reconciled.manifest, {}, rawSecrets, reconciled.env),
|
|
2859
2864
|
NODE_ENV: "development",
|
|
2860
2865
|
...configPath ? { GKM_CONFIG_PATH: configPath } : {},
|
|
2861
2866
|
...options.fake ? { [FAKE_ENV]: "1" } : {},
|
|
@@ -2919,7 +2924,10 @@ async function entryDevCommand(options) {
|
|
|
2919
2924
|
if (!existsSync(entryPath)) throw new Error(`Entry file not found: ${entryPath}`);
|
|
2920
2925
|
const defaultEnv = loadEnvFiles(".env");
|
|
2921
2926
|
if (defaultEnv.loaded.length > 0) logger$5.log(`📦 Loaded env: ${defaultEnv.loaded.join(", ")}`);
|
|
2922
|
-
const { credentials, resolvedPort, secretsJsonPath, appName } = await prepareEntryCredentials({
|
|
2927
|
+
const { credentials, resolvedPort, secretsJsonPath, appName } = await prepareEntryCredentials({
|
|
2928
|
+
explicitPort: options.portExplicit ? options.port : void 0,
|
|
2929
|
+
scoped: true
|
|
2930
|
+
});
|
|
2923
2931
|
if (appName) logger$5.log(`📦 App: ${appName} (port ${resolvedPort})`);
|
|
2924
2932
|
logger$5.log(`🚀 Starting entry file: ${entry} on port ${resolvedPort}`);
|
|
2925
2933
|
if (Object.keys(credentials).length > 1) logger$5.log(`🔐 Loaded ${Object.keys(credentials).length - 1} secret(s) + PORT`);
|
|
@@ -3647,7 +3655,15 @@ process.on('SIGINT', shutdown);
|
|
|
3647
3655
|
import { serve } from '@hono/node-server';
|
|
3648
3656
|
import { Hono } from 'hono';
|
|
3649
3657
|
${options.gracefulShutdown ? "import { runShutdownHooks } from '@geekmidas/constructs';\n" : ""}
|
|
3650
|
-
${startTelemetryCode([options.healthCheck])}
|
|
3658
|
+
${startTelemetryCode([options.healthCheck])}${options.trustedOriginsKey ? `
|
|
3659
|
+
// The origins it trusts — the apps with an edge to it — are the ones whose
|
|
3660
|
+
// trace context its request spans continue: a sibling calls it through the
|
|
3661
|
+
// edge, as a browser does, with the origin of the site it is acting for.
|
|
3662
|
+
trustedOrigins = (process.env[${JSON.stringify(options.trustedOriginsKey)}] ?? '')
|
|
3663
|
+
.split(',')
|
|
3664
|
+
.map((origin) => origin.trim())
|
|
3665
|
+
.filter(Boolean);
|
|
3666
|
+
` : ""}
|
|
3651
3667
|
const { app: surface, attach, release } = await import('./app.js');
|
|
3652
3668
|
|
|
3653
3669
|
const port = Number(process.env.PORT) || 3000;
|
|
@@ -3874,9 +3890,10 @@ async function buildApp(input) {
|
|
|
3874
3890
|
const outputDir = join(appRoot, ".gkm", "server");
|
|
3875
3891
|
const entryPoint = await writeSurfaceServer(outputDir, {
|
|
3876
3892
|
...production,
|
|
3877
|
-
...telemetry ? { telemetry } : {}
|
|
3893
|
+
...telemetry ? { telemetry } : {},
|
|
3894
|
+
trustedOriginsKey: provideKey(selfServing.id, "trustedOrigins")
|
|
3878
3895
|
});
|
|
3879
|
-
const { bundleServer } = await import("./bundler-
|
|
3896
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
3880
3897
|
await bundleServer({
|
|
3881
3898
|
entryPoint,
|
|
3882
3899
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4121,7 +4138,7 @@ async function buildWorkers(input) {
|
|
|
4121
4138
|
});
|
|
4122
4139
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4123
4140
|
if (!input.bundle) continue;
|
|
4124
|
-
const { bundleServer } = await import("./bundler-
|
|
4141
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4125
4142
|
const outfile = workerBundleName(worker.id);
|
|
4126
4143
|
await bundleServer({
|
|
4127
4144
|
entryPoint,
|
|
@@ -4163,7 +4180,7 @@ async function buildProcessors(input) {
|
|
|
4163
4180
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4164
4181
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4165
4182
|
if (!input.bundle) continue;
|
|
4166
|
-
const { bundleServer } = await import("./bundler-
|
|
4183
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4167
4184
|
const outfile = processorBundleName(fileServerId);
|
|
4168
4185
|
await bundleServer({
|
|
4169
4186
|
entryPoint,
|
|
@@ -4246,7 +4263,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4246
4263
|
let masterKey;
|
|
4247
4264
|
if (context.production?.bundle && !skipBundle) {
|
|
4248
4265
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4249
|
-
const { bundleServer } = await import("./bundler-
|
|
4266
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4250
4267
|
const allConstructs = [
|
|
4251
4268
|
...endpoints.map((e) => e.construct),
|
|
4252
4269
|
...functions.map((f) => f.construct),
|
|
@@ -4524,7 +4541,8 @@ async function composeCommand(options, deps = {}) {
|
|
|
4524
4541
|
};
|
|
4525
4542
|
const docker = deps.docker ?? dockerCompose;
|
|
4526
4543
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
4527
|
-
|
|
4544
|
+
const edgeFile = join(dir, `${EDGE_PROJECT}.yml`);
|
|
4545
|
+
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
4546
|
await docker.down(ref);
|
|
4529
4547
|
console.log(`🛑 Stopped ${ref.project}. Its volumes are kept.`);
|
|
4530
4548
|
return;
|
|
@@ -6082,25 +6100,25 @@ function loadPackageJson() {
|
|
|
6082
6100
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6083
6101
|
*/
|
|
6084
6102
|
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.
|
|
6103
|
+
"@geekmidas/audit": "~10.0.0-alpha.148",
|
|
6104
|
+
"@geekmidas/auth": "~10.0.0-alpha.148",
|
|
6105
|
+
"@geekmidas/cache": "~10.0.0-alpha.148",
|
|
6106
|
+
"@geekmidas/client": "~10.0.0-alpha.148",
|
|
6107
|
+
"@geekmidas/cloud": "~10.0.0-alpha.148",
|
|
6108
|
+
"@geekmidas/constructs": "~10.0.0-alpha.148",
|
|
6109
|
+
"@geekmidas/db": "~10.0.0-alpha.148",
|
|
6110
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.148",
|
|
6111
|
+
"@geekmidas/envkit": "~10.0.0-alpha.148",
|
|
6112
|
+
"@geekmidas/errors": "~10.0.0-alpha.148",
|
|
6113
|
+
"@geekmidas/events": "~10.0.0-alpha.148",
|
|
6114
|
+
"@geekmidas/logger": "~10.0.0-alpha.148",
|
|
6115
|
+
"@geekmidas/manifest": "~10.0.0-alpha.148",
|
|
6116
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.148",
|
|
6117
|
+
"@geekmidas/schema": "~10.0.0-alpha.148",
|
|
6118
|
+
"@geekmidas/services": "~10.0.0-alpha.148",
|
|
6119
|
+
"@geekmidas/storage": "~10.0.0-alpha.148",
|
|
6120
|
+
"@geekmidas/telescope": "~10.0.0-alpha.148",
|
|
6121
|
+
"@geekmidas/testkit": "~10.0.0-alpha.148",
|
|
6104
6122
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6105
6123
|
};
|
|
6106
6124
|
//#endregion
|
|
@@ -7293,7 +7311,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7293
7311
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7294
7312
|
* release the pinned commit is.
|
|
7295
7313
|
*/
|
|
7296
|
-
function stagesActionUses(commit = "
|
|
7314
|
+
function stagesActionUses(commit = "d857c18e8105a44b9d0b14c2c8e3608054131d02", version = cliVersion()) {
|
|
7297
7315
|
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
7316
|
}
|
|
7299
7317
|
//#endregion
|
|
@@ -16265,7 +16283,7 @@ function testDatabases(reconciled) {
|
|
|
16265
16283
|
* starts without the reference data the app needs.
|
|
16266
16284
|
*/
|
|
16267
16285
|
async function migrateTestStage(workspace, env) {
|
|
16268
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16286
|
+
const { migrateAndSeed } = await import("./migrate-KdqlzELQ.mjs");
|
|
16269
16287
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16270
16288
|
const sources = {};
|
|
16271
16289
|
const manifest = await discover({
|
|
@@ -16690,7 +16708,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16690
16708
|
try {
|
|
16691
16709
|
const globalOptions = program.opts();
|
|
16692
16710
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16693
|
-
const { easSync } = await import("./eas-
|
|
16711
|
+
const { easSync } = await import("./eas-B_yjP_Sl.mjs");
|
|
16694
16712
|
await easSync(options);
|
|
16695
16713
|
} catch (error) {
|
|
16696
16714
|
exitWithError(error);
|
|
@@ -16700,7 +16718,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16700
16718
|
try {
|
|
16701
16719
|
const globalOptions = program.opts();
|
|
16702
16720
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16703
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16721
|
+
const { publish, PublishModeConflict } = await import("./publish-DRsFN1td.mjs");
|
|
16704
16722
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16705
16723
|
const { build, update, ...rest } = options;
|
|
16706
16724
|
await publish({
|
|
@@ -16716,7 +16734,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16716
16734
|
try {
|
|
16717
16735
|
const globalOptions = program.opts();
|
|
16718
16736
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16719
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16737
|
+
const { deployGooglePlay } = await import("./googlePlay-CapfGnZ8.mjs");
|
|
16720
16738
|
await deployGooglePlay(options);
|
|
16721
16739
|
} catch (error) {
|
|
16722
16740
|
exitWithError(error);
|
|
@@ -16738,7 +16756,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16738
16756
|
try {
|
|
16739
16757
|
const globalOptions = program.opts();
|
|
16740
16758
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16741
|
-
const { migrateCommand } = await import("./migrate-
|
|
16759
|
+
const { migrateCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16742
16760
|
await migrateCommand({
|
|
16743
16761
|
...options,
|
|
16744
16762
|
...construct ? { construct } : {}
|
|
@@ -16751,7 +16769,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16751
16769
|
try {
|
|
16752
16770
|
const globalOptions = program.opts();
|
|
16753
16771
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16754
|
-
const { seedCommand } = await import("./migrate-
|
|
16772
|
+
const { seedCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16755
16773
|
await seedCommand({
|
|
16756
16774
|
...options,
|
|
16757
16775
|
...construct ? { construct } : {}
|
|
@@ -16764,7 +16782,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16764
16782
|
try {
|
|
16765
16783
|
const globalOptions = program.opts();
|
|
16766
16784
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16767
|
-
const { migrationCommand } = await import("./migrate-
|
|
16785
|
+
const { migrationCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16768
16786
|
await migrationCommand({
|
|
16769
16787
|
construct,
|
|
16770
16788
|
...name ? { name } : {}
|
|
@@ -16864,7 +16882,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16864
16882
|
try {
|
|
16865
16883
|
const globalOptions = program.opts();
|
|
16866
16884
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16867
|
-
const { secretsAddCommand } = await import("./add-
|
|
16885
|
+
const { secretsAddCommand } = await import("./add-CvmRPEfW.mjs");
|
|
16868
16886
|
await secretsAddCommand(options);
|
|
16869
16887
|
} catch (error) {
|
|
16870
16888
|
exitWithError(error);
|
|
@@ -16874,7 +16892,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16874
16892
|
try {
|
|
16875
16893
|
const globalOptions = program.opts();
|
|
16876
16894
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16877
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16895
|
+
const { encryptionRotateCommand } = await import("./encryption-dUnvnbu8.mjs");
|
|
16878
16896
|
await encryptionRotateCommand(construct, options);
|
|
16879
16897
|
} catch (error) {
|
|
16880
16898
|
exitWithError(error);
|
|
@@ -16884,7 +16902,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16884
16902
|
try {
|
|
16885
16903
|
const globalOptions = program.opts();
|
|
16886
16904
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16887
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16905
|
+
const { encryptionRetireCommand } = await import("./encryption-dUnvnbu8.mjs");
|
|
16888
16906
|
await encryptionRetireCommand(construct, key, options);
|
|
16889
16907
|
} catch (error) {
|
|
16890
16908
|
exitWithError(error);
|
|
@@ -16923,7 +16941,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16923
16941
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16924
16942
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16925
16943
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16926
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
16944
|
+
const { secretsStoreFor } = await import("./credentials-FRF4PZYo.mjs").then((n) => n.j);
|
|
16927
16945
|
const { workspace } = await loadWorkspaceConfig();
|
|
16928
16946
|
const stage = options.stage ?? workspace.stages.local;
|
|
16929
16947
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16932,7 +16950,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16932
16950
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16933
16951
|
process.exit(1);
|
|
16934
16952
|
}
|
|
16935
|
-
const { derivedContainers } = await import("./apps-
|
|
16953
|
+
const { derivedContainers } = await import("./apps-CmKxFPTj.mjs").then((n) => n.h);
|
|
16936
16954
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16937
16955
|
if (!result) {
|
|
16938
16956
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16949,14 +16967,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16949
16967
|
try {
|
|
16950
16968
|
const globalOptions = program.opts();
|
|
16951
16969
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16952
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16970
|
+
const { secretsMigrateCommand } = await import("./migrate-C0ecSkL2.mjs");
|
|
16953
16971
|
await secretsMigrateCommand(options);
|
|
16954
16972
|
} catch (error) {
|
|
16955
16973
|
exitWithError(error);
|
|
16956
16974
|
}
|
|
16957
16975
|
});
|
|
16958
16976
|
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-
|
|
16977
|
+
const { deployCli } = await import("./cli-AZVyGSRn.mjs");
|
|
16960
16978
|
const globalOptions = program.opts();
|
|
16961
16979
|
const code = await deployCli({
|
|
16962
16980
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16976,8 +16994,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16976
16994
|
});
|
|
16977
16995
|
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
16996
|
try {
|
|
16979
|
-
const { rollbackStage } = await import("./rollback-
|
|
16980
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16997
|
+
const { rollbackStage } = await import("./rollback-D0ZpwlFq.mjs").then((n) => n.a);
|
|
16998
|
+
const { terminalCredentials } = await import("./terminal-BnKPi06T.mjs");
|
|
16981
16999
|
const globalOptions = program.opts();
|
|
16982
17000
|
await rollbackStage({
|
|
16983
17001
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16995,7 +17013,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16995
17013
|
try {
|
|
16996
17014
|
const globalOptions = program.opts();
|
|
16997
17015
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16998
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17016
|
+
const { composeServerCommand } = await import("./serverSetup-BW1RgJXo.mjs");
|
|
16999
17017
|
await composeServerCommand(options);
|
|
17000
17018
|
} catch (error) {
|
|
17001
17019
|
exitWithError(error);
|
|
@@ -17020,7 +17038,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17020
17038
|
try {
|
|
17021
17039
|
const globalOptions = program.opts();
|
|
17022
17040
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17023
|
-
const { deployGithubCommand } = await import("./github-
|
|
17041
|
+
const { deployGithubCommand } = await import("./github-D2-FIlNY.mjs");
|
|
17024
17042
|
await deployGithubCommand(options);
|
|
17025
17043
|
} catch (error) {
|
|
17026
17044
|
exitWithError(error);
|
|
@@ -17030,7 +17048,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17030
17048
|
try {
|
|
17031
17049
|
const globalOptions = program.opts();
|
|
17032
17050
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17033
|
-
const { stagesCommand } = await import("./stages-
|
|
17051
|
+
const { stagesCommand } = await import("./stages-_xCG4Ymu.mjs");
|
|
17034
17052
|
await stagesCommand(options);
|
|
17035
17053
|
} catch (error) {
|
|
17036
17054
|
exitWithError(error);
|