@geekmidas/cli 10.0.0-alpha.124 → 10.0.0-alpha.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{EndpointGenerator-B2MUa4M2.cjs → EndpointGenerator-BGxf9jWE.cjs} +8 -4
- package/dist/{EndpointGenerator-B2MUa4M2.cjs.map → EndpointGenerator-BGxf9jWE.cjs.map} +1 -1
- package/dist/{EndpointGenerator-Z_BUTocT.mjs → EndpointGenerator-errMeldx.mjs} +8 -4
- package/dist/{EndpointGenerator-Z_BUTocT.mjs.map → EndpointGenerator-errMeldx.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-55x4o-4z.mjs → GoDaddyProvider-CvRVmN4W.mjs} +2 -2
- package/dist/{GoDaddyProvider-55x4o-4z.mjs.map → GoDaddyProvider-CvRVmN4W.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-0z5RAN1k.cjs → GoDaddyProvider-DFfpzCOP.cjs} +2 -2
- package/dist/{GoDaddyProvider-0z5RAN1k.cjs.map → GoDaddyProvider-DFfpzCOP.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DRpB-yC5.cjs → LegacyStateStore-BFrCHrFQ.cjs} +3 -3
- package/dist/{LegacyStateStore-DRpB-yC5.cjs.map → LegacyStateStore-BFrCHrFQ.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C-vumKSN.mjs → LegacyStateStore-CgfENrXF.mjs} +3 -3
- package/dist/{LegacyStateStore-C-vumKSN.mjs.map → LegacyStateStore-CgfENrXF.mjs.map} +1 -1
- package/dist/{LocalStateStore-C3ummuDT.cjs → LocalStateStore-BU5z_IOE.cjs} +2 -2
- package/dist/{LocalStateStore-C3ummuDT.cjs.map → LocalStateStore-BU5z_IOE.cjs.map} +1 -1
- package/dist/{LocalStateStore-CtOjpV1w.mjs → LocalStateStore-DxoNpiBg.mjs} +2 -2
- package/dist/{LocalStateStore-CtOjpV1w.mjs.map → LocalStateStore-DxoNpiBg.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-MtnMQL_g.mjs → OpenApiTsGenerator-W_HRXH1X.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-MtnMQL_g.mjs.map → OpenApiTsGenerator-W_HRXH1X.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-t3_E98Fi.cjs → OpenApiTsGenerator-cQgtxWQo.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-t3_E98Fi.cjs.map → OpenApiTsGenerator-cQgtxWQo.cjs.map} +1 -1
- package/dist/{S3StateStore-BC4Jm3Tw.mjs → S3StateStore-CGMSDilh.mjs} +2 -2
- package/dist/{S3StateStore-BC4Jm3Tw.mjs.map → S3StateStore-CGMSDilh.mjs.map} +1 -1
- package/dist/{S3StateStore-BeArp0aF.cjs → S3StateStore-DiekMLpn.cjs} +2 -2
- package/dist/{S3StateStore-BeArp0aF.cjs.map → S3StateStore-DiekMLpn.cjs.map} +1 -1
- package/dist/{SSMStateStore-DcstR6cW.cjs → SSMStateStore-BDCOFdKq.cjs} +2 -2
- package/dist/{SSMStateStore-DcstR6cW.cjs.map → SSMStateStore-BDCOFdKq.cjs.map} +1 -1
- package/dist/{SSMStateStore-Crl76aYZ.mjs → SSMStateStore-Cq2H9MlF.mjs} +2 -2
- package/dist/{SSMStateStore-Crl76aYZ.mjs.map → SSMStateStore-Cq2H9MlF.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-COAVPgM-.mjs → SubscriberGenerator-BALddfuW.mjs} +4 -62
- package/dist/SubscriberGenerator-BALddfuW.mjs.map +1 -0
- package/dist/{SubscriberGenerator-C3QTae-R.cjs → SubscriberGenerator-LgyTxZ8r.cjs} +3 -91
- package/dist/SubscriberGenerator-LgyTxZ8r.cjs.map +1 -0
- package/dist/{add-BFjb6mMq.cjs → add-BsiBYkAW.cjs} +6 -6
- package/dist/{add-BFjb6mMq.cjs.map → add-BsiBYkAW.cjs.map} +1 -1
- package/dist/{add-CIjmgzkb.mjs → add-CamA9Uqv.mjs} +6 -6
- package/dist/{add-CIjmgzkb.mjs.map → add-CamA9Uqv.mjs.map} +1 -1
- package/dist/{bundler-D6KFNpQk.mjs → bundler-2V2PR_E-.mjs} +5 -5
- package/dist/{bundler-D6KFNpQk.mjs.map → bundler-2V2PR_E-.mjs.map} +1 -1
- package/dist/{bundler-CiUoIsku.cjs → bundler-CijtdIZ2.cjs} +5 -5
- package/dist/{bundler-CiUoIsku.cjs.map → bundler-CijtdIZ2.cjs.map} +1 -1
- package/dist/{cli-r4eUr98C.cjs → cli-7gc1QG8X.cjs} +3 -3
- package/dist/{cli-r4eUr98C.cjs.map → cli-7gc1QG8X.cjs.map} +1 -1
- package/dist/{cli-DNtSTtMc.mjs → cli-PiyYqHGx.mjs} +3 -3
- package/dist/{cli-DNtSTtMc.mjs.map → cli-PiyYqHGx.mjs.map} +1 -1
- package/dist/{compose-BfXXWJSp.cjs → compose-8e2xJ61E.cjs} +236 -39
- package/dist/compose-8e2xJ61E.cjs.map +1 -0
- package/dist/{compose-DJvvmF3X.mjs → compose-CvHIjMDd.mjs} +235 -38
- package/dist/compose-CvHIjMDd.mjs.map +1 -0
- package/dist/{config-IgK6YaGp.d.cts → config-CdytFgSR.d.cts} +3 -3
- package/dist/{config-IgK6YaGp.d.cts.map → config-CdytFgSR.d.cts.map} +1 -1
- package/dist/{config-kE-p5hxq.d.mts → config-_y1FGBWR.d.mts} +3 -3
- package/dist/{config-kE-p5hxq.d.mts.map → config-_y1FGBWR.d.mts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/{credentialSchemas-AhIBuQxQ.cjs → credentialSchemas-DFxvGEwa.cjs} +2 -2
- package/dist/{credentialSchemas-AhIBuQxQ.cjs.map → credentialSchemas-DFxvGEwa.cjs.map} +1 -1
- package/dist/{credentialSchemas-DLKbxYBy.mjs → credentialSchemas-DaMpt-Dx.mjs} +2 -2
- package/dist/{credentialSchemas-DLKbxYBy.mjs.map → credentialSchemas-DaMpt-Dx.mjs.map} +1 -1
- package/dist/{databases-BPOgTn1u.mjs → databases-6GD0tI2F.mjs} +65 -3
- package/dist/databases-6GD0tI2F.mjs.map +1 -0
- package/dist/{databases-fOaoBInm.cjs → databases-CuVGf7-M.cjs} +75 -1
- package/dist/databases-CuVGf7-M.cjs.map +1 -0
- package/dist/deploy/public.cjs +8 -8
- 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 +8 -8
- package/dist/{deploy-CiRYwFmr.mjs → deploy-CIPwTJ47.mjs} +797 -25
- package/dist/deploy-CIPwTJ47.mjs.map +1 -0
- package/dist/{deploy-BbI1UMh3.cjs → deploy-wSlIRPn5.cjs} +796 -24
- package/dist/deploy-wSlIRPn5.cjs.map +1 -0
- package/dist/{discover-BvJOVsYG.mjs → discover-CzGM5P3p.mjs} +71 -1
- package/dist/discover-CzGM5P3p.mjs.map +1 -0
- package/dist/{discover-ojkcbxHw.cjs → discover-DL6h-J97.cjs} +71 -1
- package/dist/discover-DL6h-J97.cjs.map +1 -0
- package/dist/{dokploy-C0aQrCgs.cjs → dokploy-BKbUrz05.cjs} +2 -2
- package/dist/{dokploy-C0aQrCgs.cjs.map → dokploy-BKbUrz05.cjs.map} +1 -1
- package/dist/{dokploy-MM7c3IE0.mjs → dokploy-BZf1AHd0.mjs} +2 -2
- package/dist/{dokploy-MM7c3IE0.mjs.map → dokploy-BZf1AHd0.mjs.map} +1 -1
- package/dist/{drivers-CQ32PB5w.cjs → drivers-C47nm-wB.cjs} +91 -4
- package/dist/drivers-C47nm-wB.cjs.map +1 -0
- package/dist/{drivers-Chb5Akov.mjs → drivers-CDjpjakg.mjs} +60 -3
- package/dist/drivers-CDjpjakg.mjs.map +1 -0
- package/dist/{eas-1Ee6kql0.mjs → eas-CxX2RCE_.mjs} +2 -2
- package/dist/{eas-1Ee6kql0.mjs.map → eas-CxX2RCE_.mjs.map} +1 -1
- package/dist/{eas-CJoys9yh.cjs → eas-DzDMGzfc.cjs} +2 -2
- package/dist/{eas-CJoys9yh.cjs.map → eas-DzDMGzfc.cjs.map} +1 -1
- package/dist/{emit-qvHxMV9b.cjs → emit-CYloptRS.cjs} +18 -1
- package/dist/emit-CYloptRS.cjs.map +1 -0
- package/dist/{emit-CNpuV_6Q.mjs → emit-CiJGdy_f.mjs} +18 -1
- package/dist/emit-CiJGdy_f.mjs.map +1 -0
- package/dist/{encryption-B8Bk1Mvu.mjs → encryption-BFSrt89F.mjs} +3 -3
- package/dist/{encryption-B8Bk1Mvu.mjs.map → encryption-BFSrt89F.mjs.map} +1 -1
- package/dist/{encryption-Bo9VlRnl.cjs → encryption-RNcBnG4Z.cjs} +3 -3
- package/dist/{encryption-Bo9VlRnl.cjs.map → encryption-RNcBnG4Z.cjs.map} +1 -1
- package/dist/{engine-esxTxcIx.cjs → engine-Dqe9KQCm.cjs} +142 -15
- package/dist/engine-Dqe9KQCm.cjs.map +1 -0
- package/dist/{engine-BuinpJfS.mjs → engine-_0pjyCd_.mjs} +142 -15
- package/dist/engine-_0pjyCd_.mjs.map +1 -0
- package/dist/{github-BEA4K3_X.cjs → github-Csev5EFf.cjs} +41 -6
- package/dist/github-Csev5EFf.cjs.map +1 -0
- package/dist/{github-BUlKJfOV.mjs → github-Dck0nLW9.mjs} +41 -6
- package/dist/github-Dck0nLW9.mjs.map +1 -0
- package/dist/{googlePlay-CiqAS2ma.cjs → googlePlay-DBtDAGBk.cjs} +3 -3
- package/dist/{googlePlay-CiqAS2ma.cjs.map → googlePlay-DBtDAGBk.cjs.map} +1 -1
- package/dist/{googlePlay-CK05QiTq.mjs → googlePlay-DTuvDHi5.mjs} +3 -3
- package/dist/{googlePlay-CK05QiTq.mjs.map → googlePlay-DTuvDHi5.mjs.map} +1 -1
- package/dist/{index-DhUf0B0m.d.mts → index-DrkV7N5w.d.mts} +2 -2
- package/dist/{index-4CO0HD27.d.cts.map → index-DrkV7N5w.d.mts.map} +1 -1
- package/dist/{index-4CO0HD27.d.cts → index-yaXZ9m-J.d.cts} +2 -2
- package/dist/{index-DhUf0B0m.d.mts.map → index-yaXZ9m-J.d.cts.map} +1 -1
- package/dist/index.cjs +150 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +149 -66
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-C-hmbjpG.cjs → migrate-3ZEoqx5q.cjs} +3 -3
- package/dist/{migrate-C-hmbjpG.cjs.map → migrate-3ZEoqx5q.cjs.map} +1 -1
- package/dist/{migrate-BzCHT9qs.mjs → migrate-BABIuzQj.mjs} +3 -3
- package/dist/{migrate-BzCHT9qs.mjs.map → migrate-BABIuzQj.mjs.map} +1 -1
- package/dist/{migrate-CnbvrVag.mjs → migrate-DZeNpuX2.mjs} +8 -6
- package/dist/migrate-DZeNpuX2.mjs.map +1 -0
- package/dist/{migrate-DeQJBexh.cjs → migrate-pGiUqvBi.cjs} +8 -6
- package/dist/migrate-pGiUqvBi.cjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{publish-BISBrrqR.mjs → publish-BsnDeOVL.mjs} +2 -2
- package/dist/{publish-BISBrrqR.mjs.map → publish-BsnDeOVL.mjs.map} +1 -1
- package/dist/{publish-DtSIB-hZ.cjs → publish-CS6xDvGT.cjs} +2 -2
- package/dist/{publish-DtSIB-hZ.cjs.map → publish-CS6xDvGT.cjs.map} +1 -1
- package/dist/{ready-IVGu-q18.cjs → ready-CxPJm0Hc.cjs} +6 -6
- package/dist/{ready-IVGu-q18.cjs.map → ready-CxPJm0Hc.cjs.map} +1 -1
- package/dist/{ready-DqsyadOs.mjs → ready-DrvaAwKv.mjs} +6 -6
- package/dist/{ready-DqsyadOs.mjs.map → ready-DrvaAwKv.mjs.map} +1 -1
- package/dist/reconcile/public.cjs +2 -2
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +2 -2
- package/dist/{resolve-BT7fkPN5.mjs → resolve-fCGJmM-R.mjs} +3 -3
- package/dist/{resolve-BT7fkPN5.mjs.map → resolve-fCGJmM-R.mjs.map} +1 -1
- package/dist/{resolve-C7GKQcE4.cjs → resolve-zqCMFio0.cjs} +3 -3
- package/dist/{resolve-C7GKQcE4.cjs.map → resolve-zqCMFio0.cjs.map} +1 -1
- package/dist/{rollback-DbP0KuDw.mjs → rollback-BkhVrtAf.mjs} +5 -5
- package/dist/{rollback-DbP0KuDw.mjs.map → rollback-BkhVrtAf.mjs.map} +1 -1
- package/dist/{rollback-BEiB-Pje.cjs → rollback-qc79mj6L.cjs} +5 -5
- package/dist/{rollback-BEiB-Pje.cjs.map → rollback-qc79mj6L.cjs.map} +1 -1
- package/dist/{runtime-BFJQNqwd.d.mts → runtime-DCkfI2E7.d.mts} +2 -2
- package/dist/{runtime-BFJQNqwd.d.mts.map → runtime-DCkfI2E7.d.mts.map} +1 -1
- package/dist/{runtime-BJO-FFef.d.cts → runtime-Ie4znWIB.d.cts} +2 -2
- package/dist/{runtime-BJO-FFef.d.cts.map → runtime-Ie4znWIB.d.cts.map} +1 -1
- package/dist/{s3-B4FTQQkV.mjs → s3-BZzSnker.mjs} +2 -2
- package/dist/{s3-B4FTQQkV.mjs.map → s3-BZzSnker.mjs.map} +1 -1
- package/dist/{s3-DwKLXwUT.cjs → s3-pqgmCTOq.cjs} +2 -2
- package/dist/{s3-DwKLXwUT.cjs.map → s3-pqgmCTOq.cjs.map} +1 -1
- package/dist/sandbox/credentials-worker.cjs +2 -2
- package/dist/sandbox/credentials-worker.mjs +2 -2
- package/dist/sandbox/discover-worker.cjs +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -1
- package/dist/sandbox/migrate-worker.cjs +5 -4
- package/dist/sandbox/migrate-worker.cjs.map +1 -1
- package/dist/sandbox/migrate-worker.mjs +5 -4
- package/dist/sandbox/migrate-worker.mjs.map +1 -1
- package/dist/{seeds-DOfxmDRO.cjs → seeds-3awh33Wz.cjs} +607 -45
- package/dist/seeds-3awh33Wz.cjs.map +1 -0
- package/dist/{seeds-rG-Evfz9.mjs → seeds-Cfejy8wj.mjs} +517 -39
- package/dist/seeds-Cfejy8wj.mjs.map +1 -0
- package/dist/{serverSetup-CWWVcU6Y.cjs → serverSetup-BFQuwUeL.cjs} +6 -6
- package/dist/{serverSetup-CWWVcU6Y.cjs.map → serverSetup-BFQuwUeL.cjs.map} +1 -1
- package/dist/{serverSetup-xGw1fxuZ.mjs → serverSetup-C8ZbHTm_.mjs} +6 -6
- package/dist/{serverSetup-xGw1fxuZ.mjs.map → serverSetup-C8ZbHTm_.mjs.map} +1 -1
- package/dist/{sniffer-DVPgfyHr.mjs → sniffer-CCkdzjiU.mjs} +8 -8
- package/dist/{sniffer-DVPgfyHr.mjs.map → sniffer-CCkdzjiU.mjs.map} +1 -1
- package/dist/{sniffer-C7O9Pna_.cjs → sniffer-Cq1nhxIB.cjs} +8 -8
- package/dist/{sniffer-C7O9Pna_.cjs.map → sniffer-Cq1nhxIB.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CSkteK2J.cjs → snsSubscriptions-DYyYP0Xf.cjs} +15 -3
- package/dist/snsSubscriptions-DYyYP0Xf.cjs.map +1 -0
- package/dist/{snsSubscriptions-CvBIGGp0.mjs → snsSubscriptions-R_AKBZYK.mjs} +4 -4
- package/dist/snsSubscriptions-R_AKBZYK.mjs.map +1 -0
- package/dist/{stage-fRfFtLwj.cjs → stage-BkgbVJ9Z.cjs} +6 -6
- package/dist/{stage-fRfFtLwj.cjs.map → stage-BkgbVJ9Z.cjs.map} +1 -1
- package/dist/{stage-2EKpzPQ1.mjs → stage-DCaxqm-G.mjs} +6 -6
- package/dist/{stage-2EKpzPQ1.mjs.map → stage-DCaxqm-G.mjs.map} +1 -1
- package/dist/{stages-B7mCWI_R.cjs → stages-3yUZaZeA.cjs} +2 -2
- package/dist/{stages-B7mCWI_R.cjs.map → stages-3yUZaZeA.cjs.map} +1 -1
- package/dist/{stages-DSltTW2d.mjs → stages-DTTv0NZW.mjs} +2 -2
- package/dist/{stages-DSltTW2d.mjs.map → stages-DTTv0NZW.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-D1aeTkgv.cjs → terminal-PKhPAajN.cjs} +2 -2
- package/dist/{terminal-D1aeTkgv.cjs.map → terminal-PKhPAajN.cjs.map} +1 -1
- package/dist/{terminal-BAVrDhhN.mjs → terminal-bqY33lpN.mjs} +2 -2
- package/dist/{terminal-BAVrDhhN.mjs.map → terminal-bqY33lpN.mjs.map} +1 -1
- package/dist/{types-CFU2uvrz.d.cts → types-Bmjs4jZV.d.mts} +8 -2
- package/dist/{types-D3BeGucy.d.mts.map → types-Bmjs4jZV.d.mts.map} +1 -1
- package/dist/{types-D3BeGucy.d.mts → types-D0IsQxES.d.cts} +9 -1
- package/dist/{types-CFU2uvrz.d.cts.map → types-D0IsQxES.d.cts.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +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-DUnnVjqC.mjs → workspace-DBHF9Gba.mjs} +5 -3
- package/dist/workspace-DBHF9Gba.mjs.map +1 -0
- package/dist/{workspace-C82GLPnf.cjs → workspace-Du4Afb03.cjs} +5 -3
- package/dist/workspace-Du4Afb03.cjs.map +1 -0
- package/package.json +17 -15
- package/dist/SubscriberGenerator-C3QTae-R.cjs.map +0 -1
- package/dist/SubscriberGenerator-COAVPgM-.mjs.map +0 -1
- package/dist/compose-BfXXWJSp.cjs.map +0 -1
- package/dist/compose-DJvvmF3X.mjs.map +0 -1
- package/dist/databases-BPOgTn1u.mjs.map +0 -1
- package/dist/databases-fOaoBInm.cjs.map +0 -1
- package/dist/deploy-BbI1UMh3.cjs.map +0 -1
- package/dist/deploy-CiRYwFmr.mjs.map +0 -1
- package/dist/discover-BvJOVsYG.mjs.map +0 -1
- package/dist/discover-ojkcbxHw.cjs.map +0 -1
- package/dist/drivers-CQ32PB5w.cjs.map +0 -1
- package/dist/drivers-Chb5Akov.mjs.map +0 -1
- package/dist/emit-CNpuV_6Q.mjs.map +0 -1
- package/dist/emit-qvHxMV9b.cjs.map +0 -1
- package/dist/engine-BuinpJfS.mjs.map +0 -1
- package/dist/engine-esxTxcIx.cjs.map +0 -1
- package/dist/github-BEA4K3_X.cjs.map +0 -1
- package/dist/github-BUlKJfOV.mjs.map +0 -1
- package/dist/migrate-CnbvrVag.mjs.map +0 -1
- package/dist/migrate-DeQJBexh.cjs.map +0 -1
- package/dist/seeds-DOfxmDRO.cjs.map +0 -1
- package/dist/seeds-rG-Evfz9.mjs.map +0 -1
- package/dist/snsSubscriptions-CSkteK2J.cjs.map +0 -1
- package/dist/snsSubscriptions-CvBIGGp0.mjs.map +0 -1
- package/dist/workspace-C82GLPnf.cjs.map +0 -1
- package/dist/workspace-DUnnVjqC.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
4
|
import { _ as storeDokployCredentials, d as getDokployRegistryId, f as getDokployToken, g as removeGoDaddyCredentials, h as removeDokployCredentials, i as CommandFailed, l as getCredentialsPath, m as readCredentials, o as DEFAULT_TIMEOUT_MS, u as getDokployCredentials, v as storeGoDaddyToken, y as storeHostingerToken } from "./credentials-DpfnUvIR.mjs";
|
|
5
|
-
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-
|
|
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 { D as
|
|
5
|
+
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-CvHIjMDd.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-DBHF9Gba.mjs";
|
|
7
|
+
import { D as BACKUPS_SERVICE, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as BACKUPS_URL_KEY, R as stageBackups, b as awsEndpoint, k as RUNNER_PATH, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-R_AKBZYK.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { $ as
|
|
9
|
+
import { $n as telemetryOf, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as TELEMETRY_CONTAINER, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as surfaceClientTraced, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Y as ProcessorGenerator, Yn as appTelemetry, Yt as secretsStoreFor, Z as processorEntryDir, Zn as scopeTelemetryEnv, a as dnsResources, dn as isImageBuild, dr as primaryPortKey, fr as LOCAL_LOGS_EMAIL, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, lr as portsOf, mn as processorUnits, nn as withCustomSecret, or as describeServices, pn as isUnder, q as QueueGenerator, qt as prepareEntryCredentials, sr as fakeKey, tn as toEmbeddableSecrets, un as imageBuildCredentials, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-Cfejy8wj.mjs";
|
|
10
10
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn, u as isCacheBackend } from "./drivers-CDjpjakg.mjs";
|
|
12
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
13
|
-
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-
|
|
14
|
-
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-
|
|
13
|
+
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-errMeldx.mjs";
|
|
14
|
+
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-CzGM5P3p.mjs";
|
|
15
15
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
16
|
+
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-BALddfuW.mjs";
|
|
16
17
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
17
18
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
18
|
-
import {
|
|
19
|
-
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-CNpuV_6Q.mjs";
|
|
19
|
+
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-CiJGdy_f.mjs";
|
|
20
20
|
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
21
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
22
|
-
import { t as deploy$1 } from "./deploy-
|
|
23
|
-
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
21
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-CCkdzjiU.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-CIPwTJ47.mjs";
|
|
23
|
+
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DaMpt-Dx.mjs";
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-DxoNpiBg.mjs";
|
|
25
25
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
26
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
26
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-DrvaAwKv.mjs";
|
|
27
27
|
import { createRequire } from "node:module";
|
|
28
28
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
29
29
|
import { Command, Option } from "commander";
|
|
@@ -51,7 +51,7 @@ import crypto from "crypto";
|
|
|
51
51
|
import { Function } from "@geekmidas/constructs/functions";
|
|
52
52
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
53
53
|
//#region package.json
|
|
54
|
-
var version = "10.0.0-alpha.
|
|
54
|
+
var version = "10.0.0-alpha.126";
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/prompt.ts
|
|
57
57
|
/**
|
|
@@ -134,7 +134,7 @@ const logger$8 = console;
|
|
|
134
134
|
* Validate Dokploy token by making a test API call
|
|
135
135
|
*/
|
|
136
136
|
async function validateDokployToken(endpoint, token) {
|
|
137
|
-
const { DokployApi } = await import("./sniffer-
|
|
137
|
+
const { DokployApi } = await import("./sniffer-CCkdzjiU.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2174,7 +2174,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2174
2174
|
const cwd = options.cwd ?? process.cwd();
|
|
2175
2175
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2176
2176
|
if (options.stage && !isImageBuild()) {
|
|
2177
|
-
const { execOnStage } = await import("./stage-
|
|
2177
|
+
const { execOnStage } = await import("./stage-DCaxqm-G.mjs").then((n) => n.n);
|
|
2178
2178
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2179
2179
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2180
2180
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2747,9 +2747,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2747
2747
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2748
2748
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2749
2749
|
if (options.migrate || options.seed) {
|
|
2750
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2750
|
+
const { prepareDevDatabases } = await import("./migrate-DZeNpuX2.mjs");
|
|
2751
2751
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2752
|
-
} else await import("./migrate-
|
|
2752
|
+
} else await import("./migrate-DZeNpuX2.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2753
2753
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2754
2754
|
});
|
|
2755
2755
|
const appUrls = {};
|
|
@@ -3775,7 +3775,8 @@ async function writeManifest(input) {
|
|
|
3775
3775
|
functions: builds.flatMap((build) => build.functions),
|
|
3776
3776
|
crons: builds.flatMap((build) => build.crons),
|
|
3777
3777
|
queues: builds.flatMap((build) => build.queues),
|
|
3778
|
-
subscribers: builds.flatMap((build) => build.subscribers)
|
|
3778
|
+
subscribers: builds.flatMap((build) => build.subscribers),
|
|
3779
|
+
processors: builds.flatMap((build) => build.processors ?? [])
|
|
3779
3780
|
});
|
|
3780
3781
|
const path = join(manifestDir, `${target}.ts`);
|
|
3781
3782
|
await writeFile(path, manifestModule(folded, backends));
|
|
@@ -3825,7 +3826,7 @@ async function buildApp(input) {
|
|
|
3825
3826
|
...production,
|
|
3826
3827
|
...telemetry ? { telemetry } : {}
|
|
3827
3828
|
});
|
|
3828
|
-
const { bundleServer } = await import("./bundler-
|
|
3829
|
+
const { bundleServer } = await import("./bundler-2V2PR_E-.mjs");
|
|
3829
3830
|
await bundleServer({
|
|
3830
3831
|
entryPoint,
|
|
3831
3832
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3876,6 +3877,10 @@ async function buildApp(input) {
|
|
|
3876
3877
|
const hostedIds = new Set(hosted.map((unit) => unit.id));
|
|
3877
3878
|
const appRootAbs = resolve(appRoot);
|
|
3878
3879
|
const hostedHere = (list) => list.filter(({ construct, path }) => construct.owner !== void 0 ? hostedIds.has(construct.owner) : isUnder(path.absolute, appRootAbs));
|
|
3880
|
+
const processorGenerator = new ProcessorGenerator();
|
|
3881
|
+
const loadedProcessors = await processorGenerator.load(code, appRoot, bustCache);
|
|
3882
|
+
const hostedUnits = input.workspace ? processorUnits(input.workspace, declared).filter((unit) => unit.app === appName) : [];
|
|
3883
|
+
const hostedProcessors = input.workspace ? loadedProcessors.filter(({ construct }) => hostedUnits.some((unit) => unit.id === construct.surfaceId)) : loadedProcessors;
|
|
3879
3884
|
const hostedCrons = hostedHere(allCrons);
|
|
3880
3885
|
const hostedQueues = hostedHere(allQueues);
|
|
3881
3886
|
const hostedSubscribers = hostedHere(allSubscribers);
|
|
@@ -3889,12 +3894,20 @@ async function buildApp(input) {
|
|
|
3889
3894
|
queues: hostedQueues,
|
|
3890
3895
|
subscribers: hostedSubscribers
|
|
3891
3896
|
};
|
|
3892
|
-
const reach = derived.surface ? reachedBy(declared, [
|
|
3897
|
+
const reach = derived.surface ? reachedBy(declared, [
|
|
3898
|
+
derived.surface.id,
|
|
3899
|
+
...servesOnly ? [] : hosted.map((unit) => unit.id),
|
|
3900
|
+
...production?.enabled ? [] : hostedUnits.flatMap((unit) => {
|
|
3901
|
+
const server = declared[unit.id];
|
|
3902
|
+
return server?.kind === "file-server" ? [unit.id, server.of] : [unit.id];
|
|
3903
|
+
})
|
|
3904
|
+
], [
|
|
3893
3905
|
...allEndpoints,
|
|
3894
3906
|
...allFunctions,
|
|
3895
3907
|
...inProcess.crons,
|
|
3896
3908
|
...inProcess.queues,
|
|
3897
|
-
...inProcess.subscribers
|
|
3909
|
+
...inProcess.subscribers,
|
|
3910
|
+
...production?.enabled ? [] : hostedProcessors
|
|
3898
3911
|
]) : declared;
|
|
3899
3912
|
Object.assign(buildContext, runtimeDrivers({
|
|
3900
3913
|
appRoot,
|
|
@@ -3926,6 +3939,10 @@ async function buildApp(input) {
|
|
|
3926
3939
|
...production,
|
|
3927
3940
|
subscribers: "exclude"
|
|
3928
3941
|
};
|
|
3942
|
+
if (target === "server" && !production?.enabled && hostedProcessors.length) {
|
|
3943
|
+
await processorGenerator.buildDev(join(appRoot, ".gkm", "server"), hostedProcessors);
|
|
3944
|
+
buildContext.devProcessors = true;
|
|
3945
|
+
}
|
|
3929
3946
|
const result = await buildForTarget(target, buildContext, appRoot, workspaceRoot, endpointGenerator, functionGenerator, cronGenerator, subscriberGenerator, queueGenerator, topicGenerator, allEndpoints, allFunctions, inProcess.crons, inProcess.subscribers, inProcess.queues, allTopics, enableOpenApi, input.skipBundle ?? false, input.stage);
|
|
3930
3947
|
if (target === "server" && production?.enabled) await buildWorkers({
|
|
3931
3948
|
context: (workerId, work) => ({
|
|
@@ -3954,6 +3971,32 @@ async function buildApp(input) {
|
|
|
3954
3971
|
bundle: Boolean(production.bundle && !input.skipBundle),
|
|
3955
3972
|
...input.stage ? { stage: input.stage } : {}
|
|
3956
3973
|
});
|
|
3974
|
+
let processors = [];
|
|
3975
|
+
if (target === "aws") processors = await processorGenerator.build(buildContext, hostedProcessors, join(appRoot, ".gkm", target), {
|
|
3976
|
+
target,
|
|
3977
|
+
root: workspaceRoot
|
|
3978
|
+
});
|
|
3979
|
+
else if (production?.enabled) processors = await buildProcessors({
|
|
3980
|
+
context: buildContext,
|
|
3981
|
+
units: hostedUnits.map((unit) => unit.id),
|
|
3982
|
+
serverDir: join(appRoot, ".gkm", "server"),
|
|
3983
|
+
processors: hostedProcessors,
|
|
3984
|
+
telemetry: (fileServerId) => telemetryFor({
|
|
3985
|
+
node: telemetryOf(declared, fileServerId),
|
|
3986
|
+
appRoot,
|
|
3987
|
+
app: appNameOf(input),
|
|
3988
|
+
cwd: workspaceRoot,
|
|
3989
|
+
serviceName: fileServerId,
|
|
3990
|
+
...input.workspaceName && { workspaceName: input.workspaceName }
|
|
3991
|
+
}),
|
|
3992
|
+
workspaceRoot,
|
|
3993
|
+
bundle: Boolean(production.bundle && !input.skipBundle),
|
|
3994
|
+
...input.stage ? { stage: input.stage } : {}
|
|
3995
|
+
});
|
|
3996
|
+
if (processors.length > 0 && result.built) result.built = {
|
|
3997
|
+
...result.built,
|
|
3998
|
+
processors
|
|
3999
|
+
};
|
|
3957
4000
|
await generateOpenApi(allEndpoints.map(({ construct }) => construct), {
|
|
3958
4001
|
openapi: config.openapi,
|
|
3959
4002
|
root: workspaceRoot,
|
|
@@ -4028,7 +4071,7 @@ async function buildWorkers(input) {
|
|
|
4028
4071
|
});
|
|
4029
4072
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4030
4073
|
if (!input.bundle) continue;
|
|
4031
|
-
const { bundleServer } = await import("./bundler-
|
|
4074
|
+
const { bundleServer } = await import("./bundler-2V2PR_E-.mjs");
|
|
4032
4075
|
const outfile = workerBundleName(worker.id);
|
|
4033
4076
|
await bundleServer({
|
|
4034
4077
|
entryPoint,
|
|
@@ -4048,6 +4091,45 @@ async function buildWorkers(input) {
|
|
|
4048
4091
|
}
|
|
4049
4092
|
}
|
|
4050
4093
|
/**
|
|
4094
|
+
* Write each processor unit's entry — and, for an image, bundle it — from the
|
|
4095
|
+
* processors of its file server and no other.
|
|
4096
|
+
*/
|
|
4097
|
+
async function buildProcessors(input) {
|
|
4098
|
+
const generator = new ProcessorGenerator();
|
|
4099
|
+
const infos = [];
|
|
4100
|
+
for (const fileServerId of input.units) {
|
|
4101
|
+
const processors = input.processors.filter(({ construct }) => construct.surfaceId === fileServerId);
|
|
4102
|
+
if (processors.length === 0) continue;
|
|
4103
|
+
const { context } = input;
|
|
4104
|
+
const telemetry = input.telemetry(fileServerId);
|
|
4105
|
+
const entryPoint = await generator.buildEntry({
|
|
4106
|
+
context,
|
|
4107
|
+
fileServerId,
|
|
4108
|
+
...telemetry ? { telemetry } : {},
|
|
4109
|
+
outputDir: processorEntryDir(input.serverDir, fileServerId),
|
|
4110
|
+
processors
|
|
4111
|
+
});
|
|
4112
|
+
const handler = relative(input.workspaceRoot, entryPoint);
|
|
4113
|
+
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4114
|
+
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4115
|
+
if (!input.bundle) continue;
|
|
4116
|
+
const { bundleServer } = await import("./bundler-2V2PR_E-.mjs");
|
|
4117
|
+
const outfile = processorBundleName(fileServerId);
|
|
4118
|
+
await bundleServer({
|
|
4119
|
+
entryPoint,
|
|
4120
|
+
outputDir: join(input.serverDir, "dist"),
|
|
4121
|
+
outfile,
|
|
4122
|
+
minify: context.production?.minify ?? false,
|
|
4123
|
+
sourcemap: false,
|
|
4124
|
+
external: [...context.production?.external ?? [], ...new Set(processors.flatMap(({ construct }) => construct.native))],
|
|
4125
|
+
...input.stage ? { stage: input.stage } : {},
|
|
4126
|
+
constructs: processors.map((p) => p.construct)
|
|
4127
|
+
});
|
|
4128
|
+
logger$4.log(`✅ Bundle complete: .gkm/server/dist/${outfile}`);
|
|
4129
|
+
}
|
|
4130
|
+
return infos;
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4051
4133
|
* Whether the surface's generated client propagates trace context, and at
|
|
4052
4134
|
* what rate: on when a site that calls it has an edge to a `Telemetry`
|
|
4053
4135
|
* construct, at the stage's sample rate — every trace locally, and on a build
|
|
@@ -4114,7 +4196,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4114
4196
|
let masterKey;
|
|
4115
4197
|
if (context.production?.bundle && !skipBundle) {
|
|
4116
4198
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4117
|
-
const { bundleServer } = await import("./bundler-
|
|
4199
|
+
const { bundleServer } = await import("./bundler-2V2PR_E-.mjs");
|
|
4118
4200
|
const allConstructs = [
|
|
4119
4201
|
...endpoints.map((e) => e.construct),
|
|
4120
4202
|
...functions.map((f) => f.construct),
|
|
@@ -5948,25 +6030,25 @@ function loadPackageJson() {
|
|
|
5948
6030
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5949
6031
|
*/
|
|
5950
6032
|
const GEEKMIDAS_VERSIONS = {
|
|
5951
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5952
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5953
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5954
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5955
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5956
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5957
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5958
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5959
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5960
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5961
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5962
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5963
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5964
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5965
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5966
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5967
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5968
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5969
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6033
|
+
"@geekmidas/audit": "~10.0.0-alpha.126",
|
|
6034
|
+
"@geekmidas/auth": "~10.0.0-alpha.126",
|
|
6035
|
+
"@geekmidas/cache": "~10.0.0-alpha.126",
|
|
6036
|
+
"@geekmidas/client": "~10.0.0-alpha.126",
|
|
6037
|
+
"@geekmidas/cloud": "~10.0.0-alpha.126",
|
|
6038
|
+
"@geekmidas/constructs": "~10.0.0-alpha.126",
|
|
6039
|
+
"@geekmidas/db": "~10.0.0-alpha.126",
|
|
6040
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.126",
|
|
6041
|
+
"@geekmidas/envkit": "~10.0.0-alpha.126",
|
|
6042
|
+
"@geekmidas/errors": "~10.0.0-alpha.126",
|
|
6043
|
+
"@geekmidas/events": "~10.0.0-alpha.126",
|
|
6044
|
+
"@geekmidas/logger": "~10.0.0-alpha.126",
|
|
6045
|
+
"@geekmidas/manifest": "~10.0.0-alpha.126",
|
|
6046
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.126",
|
|
6047
|
+
"@geekmidas/schema": "~10.0.0-alpha.126",
|
|
6048
|
+
"@geekmidas/services": "~10.0.0-alpha.126",
|
|
6049
|
+
"@geekmidas/storage": "~10.0.0-alpha.126",
|
|
6050
|
+
"@geekmidas/telescope": "~10.0.0-alpha.126",
|
|
6051
|
+
"@geekmidas/testkit": "~10.0.0-alpha.126",
|
|
5970
6052
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5971
6053
|
};
|
|
5972
6054
|
//#endregion
|
|
@@ -7159,7 +7241,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7159
7241
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7160
7242
|
* release the pinned commit is.
|
|
7161
7243
|
*/
|
|
7162
|
-
function stagesActionUses(commit = "
|
|
7244
|
+
function stagesActionUses(commit = "fba5cacc6aa27bc28fb25954325a4a62c13302e2", version = cliVersion()) {
|
|
7163
7245
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7164
7246
|
}
|
|
7165
7247
|
//#endregion
|
|
@@ -16131,8 +16213,8 @@ function testDatabases(reconciled) {
|
|
|
16131
16213
|
* starts without the reference data the app needs.
|
|
16132
16214
|
*/
|
|
16133
16215
|
async function migrateTestStage(workspace, env) {
|
|
16134
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16135
|
-
const { discover } = await import("./discover-
|
|
16216
|
+
const { migrateAndSeed } = await import("./migrate-DZeNpuX2.mjs");
|
|
16217
|
+
const { discover } = await import("./discover-CzGM5P3p.mjs").then((n) => n.a);
|
|
16136
16218
|
const sources = {};
|
|
16137
16219
|
const manifest = await discover({
|
|
16138
16220
|
patterns: constructGlobs(workspace),
|
|
@@ -16144,7 +16226,8 @@ async function migrateTestStage(workspace, env) {
|
|
|
16144
16226
|
manifest,
|
|
16145
16227
|
sources,
|
|
16146
16228
|
env,
|
|
16147
|
-
stage: TEST_STAGE
|
|
16229
|
+
stage: TEST_STAGE,
|
|
16230
|
+
backends: backendsOf$1(workspace)
|
|
16148
16231
|
});
|
|
16149
16232
|
for (const { target, applied } of migrations) if (applied.length > 0) console.log(` 🗄️ ${target.migrations}: applied ${applied.join(", ")}`);
|
|
16150
16233
|
for (const { target, seeded } of seeds) if (seeded.length > 0) console.log(` 🌱 ${target.seeds}: ran ${seeded.join(", ")}`);
|
|
@@ -16555,7 +16638,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16555
16638
|
try {
|
|
16556
16639
|
const globalOptions = program.opts();
|
|
16557
16640
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16558
|
-
const { easSync } = await import("./eas-
|
|
16641
|
+
const { easSync } = await import("./eas-CxX2RCE_.mjs");
|
|
16559
16642
|
await easSync(options);
|
|
16560
16643
|
} catch (error) {
|
|
16561
16644
|
exitWithError(error);
|
|
@@ -16565,7 +16648,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16565
16648
|
try {
|
|
16566
16649
|
const globalOptions = program.opts();
|
|
16567
16650
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16568
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16651
|
+
const { publish, PublishModeConflict } = await import("./publish-BsnDeOVL.mjs");
|
|
16569
16652
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16570
16653
|
const { build, update, ...rest } = options;
|
|
16571
16654
|
await publish({
|
|
@@ -16581,7 +16664,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16581
16664
|
try {
|
|
16582
16665
|
const globalOptions = program.opts();
|
|
16583
16666
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16584
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16667
|
+
const { deployGooglePlay } = await import("./googlePlay-DTuvDHi5.mjs");
|
|
16585
16668
|
await deployGooglePlay(options);
|
|
16586
16669
|
} catch (error) {
|
|
16587
16670
|
exitWithError(error);
|
|
@@ -16603,7 +16686,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16603
16686
|
try {
|
|
16604
16687
|
const globalOptions = program.opts();
|
|
16605
16688
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16606
|
-
const { migrateCommand } = await import("./migrate-
|
|
16689
|
+
const { migrateCommand } = await import("./migrate-DZeNpuX2.mjs");
|
|
16607
16690
|
await migrateCommand({
|
|
16608
16691
|
...options,
|
|
16609
16692
|
...construct ? { construct } : {}
|
|
@@ -16616,7 +16699,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16616
16699
|
try {
|
|
16617
16700
|
const globalOptions = program.opts();
|
|
16618
16701
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16619
|
-
const { seedCommand } = await import("./migrate-
|
|
16702
|
+
const { seedCommand } = await import("./migrate-DZeNpuX2.mjs");
|
|
16620
16703
|
await seedCommand({
|
|
16621
16704
|
...options,
|
|
16622
16705
|
...construct ? { construct } : {}
|
|
@@ -16629,7 +16712,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16629
16712
|
try {
|
|
16630
16713
|
const globalOptions = program.opts();
|
|
16631
16714
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16632
|
-
const { migrationCommand } = await import("./migrate-
|
|
16715
|
+
const { migrationCommand } = await import("./migrate-DZeNpuX2.mjs");
|
|
16633
16716
|
await migrationCommand({
|
|
16634
16717
|
construct,
|
|
16635
16718
|
...name ? { name } : {}
|
|
@@ -16729,7 +16812,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16729
16812
|
try {
|
|
16730
16813
|
const globalOptions = program.opts();
|
|
16731
16814
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16732
|
-
const { secretsAddCommand } = await import("./add-
|
|
16815
|
+
const { secretsAddCommand } = await import("./add-CamA9Uqv.mjs");
|
|
16733
16816
|
await secretsAddCommand(options);
|
|
16734
16817
|
} catch (error) {
|
|
16735
16818
|
exitWithError(error);
|
|
@@ -16739,7 +16822,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16739
16822
|
try {
|
|
16740
16823
|
const globalOptions = program.opts();
|
|
16741
16824
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16742
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16825
|
+
const { encryptionRotateCommand } = await import("./encryption-BFSrt89F.mjs");
|
|
16743
16826
|
await encryptionRotateCommand(construct, options);
|
|
16744
16827
|
} catch (error) {
|
|
16745
16828
|
exitWithError(error);
|
|
@@ -16749,7 +16832,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16749
16832
|
try {
|
|
16750
16833
|
const globalOptions = program.opts();
|
|
16751
16834
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16752
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16835
|
+
const { encryptionRetireCommand } = await import("./encryption-BFSrt89F.mjs");
|
|
16753
16836
|
await encryptionRetireCommand(construct, key, options);
|
|
16754
16837
|
} catch (error) {
|
|
16755
16838
|
exitWithError(error);
|
|
@@ -16788,7 +16871,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16788
16871
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16789
16872
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16790
16873
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16791
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16874
|
+
const { secretsStoreFor } = await import("./seeds-Cfejy8wj.mjs").then((n) => n.Zt);
|
|
16792
16875
|
const { workspace } = await loadWorkspaceConfig();
|
|
16793
16876
|
const stage = options.stage ?? workspace.stages.local;
|
|
16794
16877
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16797,7 +16880,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16797
16880
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16798
16881
|
process.exit(1);
|
|
16799
16882
|
}
|
|
16800
|
-
const { derivedContainers } = await import("./seeds-
|
|
16883
|
+
const { derivedContainers } = await import("./seeds-Cfejy8wj.mjs").then((n) => n.Dt);
|
|
16801
16884
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16802
16885
|
if (!result) {
|
|
16803
16886
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16814,14 +16897,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16814
16897
|
try {
|
|
16815
16898
|
const globalOptions = program.opts();
|
|
16816
16899
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16817
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16900
|
+
const { secretsMigrateCommand } = await import("./migrate-BABIuzQj.mjs");
|
|
16818
16901
|
await secretsMigrateCommand(options);
|
|
16819
16902
|
} catch (error) {
|
|
16820
16903
|
exitWithError(error);
|
|
16821
16904
|
}
|
|
16822
16905
|
});
|
|
16823
16906
|
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) => {
|
|
16824
|
-
const { deployCli } = await import("./cli-
|
|
16907
|
+
const { deployCli } = await import("./cli-PiyYqHGx.mjs");
|
|
16825
16908
|
const globalOptions = program.opts();
|
|
16826
16909
|
const code = await deployCli({
|
|
16827
16910
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16841,8 +16924,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16841
16924
|
});
|
|
16842
16925
|
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) => {
|
|
16843
16926
|
try {
|
|
16844
|
-
const { rollbackStage } = await import("./rollback-
|
|
16845
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16927
|
+
const { rollbackStage } = await import("./rollback-BkhVrtAf.mjs").then((n) => n.a);
|
|
16928
|
+
const { terminalCredentials } = await import("./terminal-bqY33lpN.mjs");
|
|
16846
16929
|
const globalOptions = program.opts();
|
|
16847
16930
|
await rollbackStage({
|
|
16848
16931
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16860,7 +16943,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16860
16943
|
try {
|
|
16861
16944
|
const globalOptions = program.opts();
|
|
16862
16945
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16863
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16946
|
+
const { composeServerCommand } = await import("./serverSetup-C8ZbHTm_.mjs");
|
|
16864
16947
|
await composeServerCommand(options);
|
|
16865
16948
|
} catch (error) {
|
|
16866
16949
|
exitWithError(error);
|
|
@@ -16885,7 +16968,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16885
16968
|
try {
|
|
16886
16969
|
const globalOptions = program.opts();
|
|
16887
16970
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16888
|
-
const { deployGithubCommand } = await import("./github-
|
|
16971
|
+
const { deployGithubCommand } = await import("./github-Dck0nLW9.mjs");
|
|
16889
16972
|
await deployGithubCommand(options);
|
|
16890
16973
|
} catch (error) {
|
|
16891
16974
|
exitWithError(error);
|
|
@@ -16895,7 +16978,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
16895
16978
|
try {
|
|
16896
16979
|
const globalOptions = program.opts();
|
|
16897
16980
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16898
|
-
const { stagesCommand } = await import("./stages-
|
|
16981
|
+
const { stagesCommand } = await import("./stages-DTTv0NZW.mjs");
|
|
16899
16982
|
await stagesCommand(options);
|
|
16900
16983
|
} catch (error) {
|
|
16901
16984
|
exitWithError(error);
|