@geekmidas/cli 10.0.0-alpha.124 → 10.0.0-alpha.125
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-BN1dODm9.mjs} +2 -2
- package/dist/{GoDaddyProvider-55x4o-4z.mjs.map → GoDaddyProvider-BN1dODm9.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-0z5RAN1k.cjs → GoDaddyProvider-BTdtqhI_.cjs} +2 -2
- package/dist/{GoDaddyProvider-0z5RAN1k.cjs.map → GoDaddyProvider-BTdtqhI_.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DRpB-yC5.cjs → LegacyStateStore-C2S8TGwx.cjs} +3 -3
- package/dist/{LegacyStateStore-DRpB-yC5.cjs.map → LegacyStateStore-C2S8TGwx.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C-vumKSN.mjs → LegacyStateStore-DgXmuG87.mjs} +3 -3
- package/dist/{LegacyStateStore-C-vumKSN.mjs.map → LegacyStateStore-DgXmuG87.mjs.map} +1 -1
- package/dist/{LocalStateStore-C3ummuDT.cjs → LocalStateStore-CaJw9H-3.cjs} +2 -2
- package/dist/{LocalStateStore-C3ummuDT.cjs.map → LocalStateStore-CaJw9H-3.cjs.map} +1 -1
- package/dist/{LocalStateStore-CtOjpV1w.mjs → LocalStateStore-ojY_BiMK.mjs} +2 -2
- package/dist/{LocalStateStore-CtOjpV1w.mjs.map → LocalStateStore-ojY_BiMK.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-BSPkxhrx.mjs} +2 -2
- package/dist/{S3StateStore-BC4Jm3Tw.mjs.map → S3StateStore-BSPkxhrx.mjs.map} +1 -1
- package/dist/{S3StateStore-BeArp0aF.cjs → S3StateStore-BqugXIcb.cjs} +2 -2
- package/dist/{S3StateStore-BeArp0aF.cjs.map → S3StateStore-BqugXIcb.cjs.map} +1 -1
- package/dist/{SSMStateStore-DcstR6cW.cjs → SSMStateStore-B0OsuT_k.cjs} +2 -2
- package/dist/{SSMStateStore-DcstR6cW.cjs.map → SSMStateStore-B0OsuT_k.cjs.map} +1 -1
- package/dist/{SSMStateStore-Crl76aYZ.mjs → SSMStateStore-DM85OiH0.mjs} +2 -2
- package/dist/{SSMStateStore-Crl76aYZ.mjs.map → SSMStateStore-DM85OiH0.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-C3QTae-R.cjs → SubscriberGenerator-BDUp7OeY.cjs} +3 -3
- package/dist/SubscriberGenerator-BDUp7OeY.cjs.map +1 -0
- package/dist/{SubscriberGenerator-COAVPgM-.mjs → SubscriberGenerator-ocQ2yj0K.mjs} +3 -3
- package/dist/{SubscriberGenerator-C3QTae-R.cjs.map → SubscriberGenerator-ocQ2yj0K.mjs.map} +1 -1
- package/dist/{add-CIjmgzkb.mjs → add-C7ZBXIzM.mjs} +6 -6
- package/dist/{add-CIjmgzkb.mjs.map → add-C7ZBXIzM.mjs.map} +1 -1
- package/dist/{add-BFjb6mMq.cjs → add-CrxvmSpq.cjs} +6 -6
- package/dist/{add-BFjb6mMq.cjs.map → add-CrxvmSpq.cjs.map} +1 -1
- package/dist/{bundler-CiUoIsku.cjs → bundler-DVUXW95p.cjs} +5 -5
- package/dist/{bundler-CiUoIsku.cjs.map → bundler-DVUXW95p.cjs.map} +1 -1
- package/dist/{bundler-D6KFNpQk.mjs → bundler-DpZ9uBGN.mjs} +5 -5
- package/dist/{bundler-D6KFNpQk.mjs.map → bundler-DpZ9uBGN.mjs.map} +1 -1
- package/dist/{cli-r4eUr98C.cjs → cli-BMRhE6cZ.cjs} +3 -3
- package/dist/{cli-r4eUr98C.cjs.map → cli-BMRhE6cZ.cjs.map} +1 -1
- package/dist/{cli-DNtSTtMc.mjs → cli-BWfYyy1k.mjs} +3 -3
- package/dist/{cli-DNtSTtMc.mjs.map → cli-BWfYyy1k.mjs.map} +1 -1
- package/dist/{compose-DJvvmF3X.mjs → compose-BFmdLig3.mjs} +232 -36
- package/dist/compose-BFmdLig3.mjs.map +1 -0
- package/dist/{compose-BfXXWJSp.cjs → compose-Bqcy0lqo.cjs} +232 -36
- package/dist/compose-Bqcy0lqo.cjs.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/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-D8pUA9Y0.mjs} +797 -25
- package/dist/deploy-D8pUA9Y0.mjs.map +1 -0
- package/dist/{deploy-BbI1UMh3.cjs → deploy-DVrNjX1X.cjs} +796 -24
- package/dist/deploy-DVrNjX1X.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-MM7c3IE0.mjs → dokploy-CzDGNB6A.mjs} +2 -2
- package/dist/{dokploy-MM7c3IE0.mjs.map → dokploy-CzDGNB6A.mjs.map} +1 -1
- package/dist/{dokploy-C0aQrCgs.cjs → dokploy-TtK6Zyl3.cjs} +2 -2
- package/dist/{dokploy-C0aQrCgs.cjs.map → dokploy-TtK6Zyl3.cjs.map} +1 -1
- package/dist/{drivers-Chb5Akov.mjs → drivers-C-VqMtld.mjs} +2 -2
- package/dist/{drivers-Chb5Akov.mjs.map → drivers-C-VqMtld.mjs.map} +1 -1
- package/dist/{drivers-CQ32PB5w.cjs → drivers-L29WvE95.cjs} +2 -2
- package/dist/{drivers-CQ32PB5w.cjs.map → drivers-L29WvE95.cjs.map} +1 -1
- package/dist/{eas-CJoys9yh.cjs → eas-D3clzkni.cjs} +2 -2
- package/dist/{eas-CJoys9yh.cjs.map → eas-D3clzkni.cjs.map} +1 -1
- package/dist/{eas-1Ee6kql0.mjs → eas-DaobzDks.mjs} +2 -2
- package/dist/{eas-1Ee6kql0.mjs.map → eas-DaobzDks.mjs.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-Bo9VlRnl.cjs → encryption-DBkIFiR2.cjs} +3 -3
- package/dist/{encryption-Bo9VlRnl.cjs.map → encryption-DBkIFiR2.cjs.map} +1 -1
- package/dist/{encryption-B8Bk1Mvu.mjs → encryption-DV31gEY8.mjs} +3 -3
- package/dist/{encryption-B8Bk1Mvu.mjs.map → encryption-DV31gEY8.mjs.map} +1 -1
- package/dist/{engine-BuinpJfS.mjs → engine-CFOR9h6X.mjs} +138 -13
- package/dist/engine-CFOR9h6X.mjs.map +1 -0
- package/dist/{engine-esxTxcIx.cjs → engine-CuZUGbEh.cjs} +138 -13
- package/dist/engine-CuZUGbEh.cjs.map +1 -0
- package/dist/{github-BEA4K3_X.cjs → github-CsvtWSBW.cjs} +41 -6
- package/dist/github-CsvtWSBW.cjs.map +1 -0
- package/dist/{github-BUlKJfOV.mjs → github-Nep8pI4_.mjs} +41 -6
- package/dist/github-Nep8pI4_.mjs.map +1 -0
- package/dist/{googlePlay-CiqAS2ma.cjs → googlePlay-C-UfBXJU.cjs} +3 -3
- package/dist/{googlePlay-CiqAS2ma.cjs.map → googlePlay-C-UfBXJU.cjs.map} +1 -1
- package/dist/{googlePlay-CK05QiTq.mjs → googlePlay-lF7Atm_N.mjs} +3 -3
- package/dist/{googlePlay-CK05QiTq.mjs.map → googlePlay-lF7Atm_N.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 +147 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +147 -65
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-DeQJBexh.cjs → migrate-Dp3GhFnf.cjs} +4 -4
- package/dist/{migrate-DeQJBexh.cjs.map → migrate-Dp3GhFnf.cjs.map} +1 -1
- package/dist/{migrate-CnbvrVag.mjs → migrate-NfbPVhi9.mjs} +4 -4
- package/dist/{migrate-CnbvrVag.mjs.map → migrate-NfbPVhi9.mjs.map} +1 -1
- package/dist/{migrate-BzCHT9qs.mjs → migrate-_sBX0pve.mjs} +3 -3
- package/dist/{migrate-BzCHT9qs.mjs.map → migrate-_sBX0pve.mjs.map} +1 -1
- package/dist/{migrate-C-hmbjpG.cjs → migrate-hlNKNWmg.cjs} +3 -3
- package/dist/{migrate-C-hmbjpG.cjs.map → migrate-hlNKNWmg.cjs.map} +1 -1
- 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-BuUVaZVy.mjs} +2 -2
- package/dist/{publish-BISBrrqR.mjs.map → publish-BuUVaZVy.mjs.map} +1 -1
- package/dist/{publish-DtSIB-hZ.cjs → publish-ZOo4xEuZ.cjs} +2 -2
- package/dist/{publish-DtSIB-hZ.cjs.map → publish-ZOo4xEuZ.cjs.map} +1 -1
- package/dist/{ready-DqsyadOs.mjs → ready-Ca883OvY.mjs} +6 -6
- package/dist/{ready-DqsyadOs.mjs.map → ready-Ca883OvY.mjs.map} +1 -1
- package/dist/{ready-IVGu-q18.cjs → ready-qnqp6JAY.cjs} +6 -6
- package/dist/{ready-IVGu-q18.cjs.map → ready-qnqp6JAY.cjs.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-BCU9pYDx.mjs} +3 -3
- package/dist/{resolve-BT7fkPN5.mjs.map → resolve-BCU9pYDx.mjs.map} +1 -1
- package/dist/{resolve-C7GKQcE4.cjs → resolve-C9QqOl5t.cjs} +3 -3
- package/dist/{resolve-C7GKQcE4.cjs.map → resolve-C9QqOl5t.cjs.map} +1 -1
- package/dist/{rollback-BEiB-Pje.cjs → rollback-CTWdDBgB.cjs} +5 -5
- package/dist/{rollback-BEiB-Pje.cjs.map → rollback-CTWdDBgB.cjs.map} +1 -1
- package/dist/{rollback-DbP0KuDw.mjs → rollback-CWyyTQ0B.mjs} +5 -5
- package/dist/{rollback-DbP0KuDw.mjs.map → rollback-CWyyTQ0B.mjs.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 +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{seeds-rG-Evfz9.mjs → seeds-CK7w79VC.mjs} +516 -39
- package/dist/seeds-CK7w79VC.mjs.map +1 -0
- package/dist/{seeds-DOfxmDRO.cjs → seeds-CPEcmoPn.cjs} +599 -38
- package/dist/seeds-CPEcmoPn.cjs.map +1 -0
- package/dist/{serverSetup-xGw1fxuZ.mjs → serverSetup-BAPNuNEX.mjs} +6 -6
- package/dist/{serverSetup-xGw1fxuZ.mjs.map → serverSetup-BAPNuNEX.mjs.map} +1 -1
- package/dist/{serverSetup-CWWVcU6Y.cjs → serverSetup-C6t6Vtt7.cjs} +6 -6
- package/dist/{serverSetup-CWWVcU6Y.cjs.map → serverSetup-C6t6Vtt7.cjs.map} +1 -1
- package/dist/{sniffer-C7O9Pna_.cjs → sniffer-DdX_WN_-.cjs} +8 -8
- package/dist/{sniffer-C7O9Pna_.cjs.map → sniffer-DdX_WN_-.cjs.map} +1 -1
- package/dist/{sniffer-DVPgfyHr.mjs → sniffer-g9v7cqDN.mjs} +8 -8
- package/dist/{sniffer-DVPgfyHr.mjs.map → sniffer-g9v7cqDN.mjs.map} +1 -1
- package/dist/{snsSubscriptions-CSkteK2J.cjs → snsSubscriptions-5Cqww8S7.cjs} +15 -3
- package/dist/snsSubscriptions-5Cqww8S7.cjs.map +1 -0
- package/dist/{snsSubscriptions-CvBIGGp0.mjs → snsSubscriptions-BmYeeTH8.mjs} +4 -4
- package/dist/snsSubscriptions-BmYeeTH8.mjs.map +1 -0
- package/dist/{stage-2EKpzPQ1.mjs → stage-C-I2dVw1.mjs} +6 -6
- package/dist/{stage-2EKpzPQ1.mjs.map → stage-C-I2dVw1.mjs.map} +1 -1
- package/dist/{stage-fRfFtLwj.cjs → stage-CUE5pMmw.cjs} +6 -6
- package/dist/{stage-fRfFtLwj.cjs.map → stage-CUE5pMmw.cjs.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-COAVPgM-.mjs.map +0 -1
- package/dist/compose-BfXXWJSp.cjs.map +0 -1
- package/dist/compose-DJvvmF3X.mjs.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/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/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-BFmdLig3.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-BmYeeTH8.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-CK7w79VC.mjs";
|
|
10
10
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
11
|
-
import { f as isCacheBackend, n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
11
|
+
import { f as isCacheBackend, n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-ocQ2yj0K.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
16
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
17
17
|
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 { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-
|
|
19
|
-
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-
|
|
18
|
+
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-C-VqMtld.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-g9v7cqDN.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-D8pUA9Y0.mjs";
|
|
23
|
+
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DaMpt-Dx.mjs";
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-ojY_BiMK.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-Ca883OvY.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.125";
|
|
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-g9v7cqDN.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-C-I2dVw1.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-NfbPVhi9.mjs");
|
|
2751
2751
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2752
|
-
} else await import("./migrate-
|
|
2752
|
+
} else await import("./migrate-NfbPVhi9.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-DpZ9uBGN.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-DpZ9uBGN.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-DpZ9uBGN.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-DpZ9uBGN.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.125",
|
|
6034
|
+
"@geekmidas/auth": "~10.0.0-alpha.125",
|
|
6035
|
+
"@geekmidas/cache": "~10.0.0-alpha.125",
|
|
6036
|
+
"@geekmidas/client": "~10.0.0-alpha.125",
|
|
6037
|
+
"@geekmidas/cloud": "~10.0.0-alpha.125",
|
|
6038
|
+
"@geekmidas/constructs": "~10.0.0-alpha.125",
|
|
6039
|
+
"@geekmidas/db": "~10.0.0-alpha.125",
|
|
6040
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.125",
|
|
6041
|
+
"@geekmidas/envkit": "~10.0.0-alpha.125",
|
|
6042
|
+
"@geekmidas/errors": "~10.0.0-alpha.125",
|
|
6043
|
+
"@geekmidas/events": "~10.0.0-alpha.125",
|
|
6044
|
+
"@geekmidas/logger": "~10.0.0-alpha.125",
|
|
6045
|
+
"@geekmidas/manifest": "~10.0.0-alpha.125",
|
|
6046
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.125",
|
|
6047
|
+
"@geekmidas/schema": "~10.0.0-alpha.125",
|
|
6048
|
+
"@geekmidas/services": "~10.0.0-alpha.125",
|
|
6049
|
+
"@geekmidas/storage": "~10.0.0-alpha.125",
|
|
6050
|
+
"@geekmidas/telescope": "~10.0.0-alpha.125",
|
|
6051
|
+
"@geekmidas/testkit": "~10.0.0-alpha.125",
|
|
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 = "72a50c6bd9e71af983cc5e2a7c9f3654bfc1afdc", 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-NfbPVhi9.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),
|
|
@@ -16555,7 +16637,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16555
16637
|
try {
|
|
16556
16638
|
const globalOptions = program.opts();
|
|
16557
16639
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16558
|
-
const { easSync } = await import("./eas-
|
|
16640
|
+
const { easSync } = await import("./eas-DaobzDks.mjs");
|
|
16559
16641
|
await easSync(options);
|
|
16560
16642
|
} catch (error) {
|
|
16561
16643
|
exitWithError(error);
|
|
@@ -16565,7 +16647,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16565
16647
|
try {
|
|
16566
16648
|
const globalOptions = program.opts();
|
|
16567
16649
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16568
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16650
|
+
const { publish, PublishModeConflict } = await import("./publish-BuUVaZVy.mjs");
|
|
16569
16651
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16570
16652
|
const { build, update, ...rest } = options;
|
|
16571
16653
|
await publish({
|
|
@@ -16581,7 +16663,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16581
16663
|
try {
|
|
16582
16664
|
const globalOptions = program.opts();
|
|
16583
16665
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16584
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16666
|
+
const { deployGooglePlay } = await import("./googlePlay-lF7Atm_N.mjs");
|
|
16585
16667
|
await deployGooglePlay(options);
|
|
16586
16668
|
} catch (error) {
|
|
16587
16669
|
exitWithError(error);
|
|
@@ -16603,7 +16685,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16603
16685
|
try {
|
|
16604
16686
|
const globalOptions = program.opts();
|
|
16605
16687
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16606
|
-
const { migrateCommand } = await import("./migrate-
|
|
16688
|
+
const { migrateCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16607
16689
|
await migrateCommand({
|
|
16608
16690
|
...options,
|
|
16609
16691
|
...construct ? { construct } : {}
|
|
@@ -16616,7 +16698,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16616
16698
|
try {
|
|
16617
16699
|
const globalOptions = program.opts();
|
|
16618
16700
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16619
|
-
const { seedCommand } = await import("./migrate-
|
|
16701
|
+
const { seedCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16620
16702
|
await seedCommand({
|
|
16621
16703
|
...options,
|
|
16622
16704
|
...construct ? { construct } : {}
|
|
@@ -16629,7 +16711,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16629
16711
|
try {
|
|
16630
16712
|
const globalOptions = program.opts();
|
|
16631
16713
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16632
|
-
const { migrationCommand } = await import("./migrate-
|
|
16714
|
+
const { migrationCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16633
16715
|
await migrationCommand({
|
|
16634
16716
|
construct,
|
|
16635
16717
|
...name ? { name } : {}
|
|
@@ -16729,7 +16811,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16729
16811
|
try {
|
|
16730
16812
|
const globalOptions = program.opts();
|
|
16731
16813
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16732
|
-
const { secretsAddCommand } = await import("./add-
|
|
16814
|
+
const { secretsAddCommand } = await import("./add-C7ZBXIzM.mjs");
|
|
16733
16815
|
await secretsAddCommand(options);
|
|
16734
16816
|
} catch (error) {
|
|
16735
16817
|
exitWithError(error);
|
|
@@ -16739,7 +16821,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16739
16821
|
try {
|
|
16740
16822
|
const globalOptions = program.opts();
|
|
16741
16823
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16742
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16824
|
+
const { encryptionRotateCommand } = await import("./encryption-DV31gEY8.mjs");
|
|
16743
16825
|
await encryptionRotateCommand(construct, options);
|
|
16744
16826
|
} catch (error) {
|
|
16745
16827
|
exitWithError(error);
|
|
@@ -16749,7 +16831,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16749
16831
|
try {
|
|
16750
16832
|
const globalOptions = program.opts();
|
|
16751
16833
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16752
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16834
|
+
const { encryptionRetireCommand } = await import("./encryption-DV31gEY8.mjs");
|
|
16753
16835
|
await encryptionRetireCommand(construct, key, options);
|
|
16754
16836
|
} catch (error) {
|
|
16755
16837
|
exitWithError(error);
|
|
@@ -16788,7 +16870,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16788
16870
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16789
16871
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16790
16872
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16791
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16873
|
+
const { secretsStoreFor } = await import("./seeds-CK7w79VC.mjs").then((n) => n.Zt);
|
|
16792
16874
|
const { workspace } = await loadWorkspaceConfig();
|
|
16793
16875
|
const stage = options.stage ?? workspace.stages.local;
|
|
16794
16876
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16797,7 +16879,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16797
16879
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16798
16880
|
process.exit(1);
|
|
16799
16881
|
}
|
|
16800
|
-
const { derivedContainers } = await import("./seeds-
|
|
16882
|
+
const { derivedContainers } = await import("./seeds-CK7w79VC.mjs").then((n) => n.Dt);
|
|
16801
16883
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16802
16884
|
if (!result) {
|
|
16803
16885
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16814,14 +16896,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16814
16896
|
try {
|
|
16815
16897
|
const globalOptions = program.opts();
|
|
16816
16898
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16817
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16899
|
+
const { secretsMigrateCommand } = await import("./migrate-_sBX0pve.mjs");
|
|
16818
16900
|
await secretsMigrateCommand(options);
|
|
16819
16901
|
} catch (error) {
|
|
16820
16902
|
exitWithError(error);
|
|
16821
16903
|
}
|
|
16822
16904
|
});
|
|
16823
16905
|
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-
|
|
16906
|
+
const { deployCli } = await import("./cli-BWfYyy1k.mjs");
|
|
16825
16907
|
const globalOptions = program.opts();
|
|
16826
16908
|
const code = await deployCli({
|
|
16827
16909
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16841,8 +16923,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16841
16923
|
});
|
|
16842
16924
|
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
16925
|
try {
|
|
16844
|
-
const { rollbackStage } = await import("./rollback-
|
|
16845
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16926
|
+
const { rollbackStage } = await import("./rollback-CWyyTQ0B.mjs").then((n) => n.a);
|
|
16927
|
+
const { terminalCredentials } = await import("./terminal-bqY33lpN.mjs");
|
|
16846
16928
|
const globalOptions = program.opts();
|
|
16847
16929
|
await rollbackStage({
|
|
16848
16930
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16860,7 +16942,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16860
16942
|
try {
|
|
16861
16943
|
const globalOptions = program.opts();
|
|
16862
16944
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16863
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16945
|
+
const { composeServerCommand } = await import("./serverSetup-BAPNuNEX.mjs");
|
|
16864
16946
|
await composeServerCommand(options);
|
|
16865
16947
|
} catch (error) {
|
|
16866
16948
|
exitWithError(error);
|
|
@@ -16885,7 +16967,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16885
16967
|
try {
|
|
16886
16968
|
const globalOptions = program.opts();
|
|
16887
16969
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16888
|
-
const { deployGithubCommand } = await import("./github-
|
|
16970
|
+
const { deployGithubCommand } = await import("./github-Nep8pI4_.mjs");
|
|
16889
16971
|
await deployGithubCommand(options);
|
|
16890
16972
|
} catch (error) {
|
|
16891
16973
|
exitWithError(error);
|
|
@@ -16895,7 +16977,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
16895
16977
|
try {
|
|
16896
16978
|
const globalOptions = program.opts();
|
|
16897
16979
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16898
|
-
const { stagesCommand } = await import("./stages-
|
|
16980
|
+
const { stagesCommand } = await import("./stages-DTTv0NZW.mjs");
|
|
16899
16981
|
await stagesCommand(options);
|
|
16900
16982
|
} catch (error) {
|
|
16901
16983
|
exitWithError(error);
|