@geekmidas/cli 10.0.0-alpha.123 → 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-BDa6pPgE.cjs → EndpointGenerator-BGxf9jWE.cjs} +8 -4
- package/dist/{EndpointGenerator-BDa6pPgE.cjs.map → EndpointGenerator-BGxf9jWE.cjs.map} +1 -1
- package/dist/{EndpointGenerator-CP_z_E3e.mjs → EndpointGenerator-errMeldx.mjs} +8 -4
- package/dist/{EndpointGenerator-CP_z_E3e.mjs.map → EndpointGenerator-errMeldx.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BlB5nJky.mjs → GoDaddyProvider-BN1dODm9.mjs} +3 -3
- package/dist/{GoDaddyProvider-BlB5nJky.mjs.map → GoDaddyProvider-BN1dODm9.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-Dubq-pCc.cjs → GoDaddyProvider-BTdtqhI_.cjs} +3 -3
- package/dist/{GoDaddyProvider-Dubq-pCc.cjs.map → GoDaddyProvider-BTdtqhI_.cjs.map} +1 -1
- package/dist/{HostingerProvider-BNpS9aRJ.mjs → HostingerProvider-Cjh_2Ml6.mjs} +2 -2
- package/dist/{HostingerProvider-BNpS9aRJ.mjs.map → HostingerProvider-Cjh_2Ml6.mjs.map} +1 -1
- package/dist/{HostingerProvider-DR1iws1P.cjs → HostingerProvider-OdQmKXE3.cjs} +2 -2
- package/dist/{HostingerProvider-DR1iws1P.cjs.map → HostingerProvider-OdQmKXE3.cjs.map} +1 -1
- package/dist/{LegacyStateStore-ClvUC8qy.cjs → LegacyStateStore-C2S8TGwx.cjs} +3 -3
- package/dist/{LegacyStateStore-ClvUC8qy.cjs.map → LegacyStateStore-C2S8TGwx.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DGALQGZu.mjs → LegacyStateStore-DgXmuG87.mjs} +3 -3
- package/dist/{LegacyStateStore-DGALQGZu.mjs.map → LegacyStateStore-DgXmuG87.mjs.map} +1 -1
- package/dist/{LocalStateStore-43kSYNpw.cjs → LocalStateStore-CaJw9H-3.cjs} +2 -2
- package/dist/{LocalStateStore-43kSYNpw.cjs.map → LocalStateStore-CaJw9H-3.cjs.map} +1 -1
- package/dist/{LocalStateStore-CBYUzVR5.mjs → LocalStateStore-ojY_BiMK.mjs} +2 -2
- package/dist/{LocalStateStore-CBYUzVR5.mjs.map → LocalStateStore-ojY_BiMK.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-CsrukCE-.mjs → OpenApiTsGenerator-W_HRXH1X.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-CsrukCE-.mjs.map → OpenApiTsGenerator-W_HRXH1X.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-FNhY7Ssz.cjs → OpenApiTsGenerator-cQgtxWQo.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-FNhY7Ssz.cjs.map → OpenApiTsGenerator-cQgtxWQo.cjs.map} +1 -1
- package/dist/{S3StateStore-DLHjDYYP.mjs → S3StateStore-BSPkxhrx.mjs} +2 -2
- package/dist/{S3StateStore-DLHjDYYP.mjs.map → S3StateStore-BSPkxhrx.mjs.map} +1 -1
- package/dist/{S3StateStore-ahE7hSNK.cjs → S3StateStore-BqugXIcb.cjs} +2 -2
- package/dist/{S3StateStore-ahE7hSNK.cjs.map → S3StateStore-BqugXIcb.cjs.map} +1 -1
- package/dist/{SSMStateStore-qIzIuazA.cjs → SSMStateStore-B0OsuT_k.cjs} +2 -2
- package/dist/{SSMStateStore-qIzIuazA.cjs.map → SSMStateStore-B0OsuT_k.cjs.map} +1 -1
- package/dist/{SSMStateStore-j5RuMkch.mjs → SSMStateStore-DM85OiH0.mjs} +2 -2
- package/dist/{SSMStateStore-j5RuMkch.mjs.map → SSMStateStore-DM85OiH0.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-C8CPxrCK.cjs → SubscriberGenerator-BDUp7OeY.cjs} +237 -54
- package/dist/SubscriberGenerator-BDUp7OeY.cjs.map +1 -0
- package/dist/{SubscriberGenerator-y3pncae_.mjs → SubscriberGenerator-ocQ2yj0K.mjs} +227 -56
- package/dist/SubscriberGenerator-ocQ2yj0K.mjs.map +1 -0
- package/dist/{add-Bm-C56lH.mjs → add-C7ZBXIzM.mjs} +6 -6
- package/dist/{add-Bm-C56lH.mjs.map → add-C7ZBXIzM.mjs.map} +1 -1
- package/dist/{add-C2CvXrYw.cjs → add-CrxvmSpq.cjs} +7 -7
- package/dist/{add-C2CvXrYw.cjs.map → add-CrxvmSpq.cjs.map} +1 -1
- package/dist/{bundler-Dk7tAvAX.cjs → bundler-DVUXW95p.cjs} +5 -5
- package/dist/{bundler-Dk7tAvAX.cjs.map → bundler-DVUXW95p.cjs.map} +1 -1
- package/dist/{bundler-DnkFt4mn.mjs → bundler-DpZ9uBGN.mjs} +5 -5
- package/dist/{bundler-DnkFt4mn.mjs.map → bundler-DpZ9uBGN.mjs.map} +1 -1
- package/dist/{cli-Di464j1O.cjs → cli-BMRhE6cZ.cjs} +4 -4
- package/dist/{cli-Di464j1O.cjs.map → cli-BMRhE6cZ.cjs.map} +1 -1
- package/dist/{cli-CVeHFXNE.mjs → cli-BWfYyy1k.mjs} +4 -4
- package/dist/{cli-CVeHFXNE.mjs.map → cli-BWfYyy1k.mjs.map} +1 -1
- package/dist/{compose-cHkF---f.mjs → compose-BFmdLig3.mjs} +525 -55
- package/dist/compose-BFmdLig3.mjs.map +1 -0
- package/dist/{compose-ChVvb3xM.cjs → compose-Bqcy0lqo.cjs} +554 -84
- package/dist/compose-Bqcy0lqo.cjs.map +1 -0
- package/dist/{config-DrOX29sT.d.mts → config-CdytFgSR.d.cts} +3 -4
- package/dist/config-CdytFgSR.d.cts.map +1 -0
- package/dist/{config-B3iz9BtK.d.cts → config-_y1FGBWR.d.mts} +3 -4
- package/dist/config-_y1FGBWR.d.mts.map +1 -0
- 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-B67WJOOm.cjs → credentialSchemas-DFxvGEwa.cjs} +2 -2
- package/dist/{credentialSchemas-B67WJOOm.cjs.map → credentialSchemas-DFxvGEwa.cjs.map} +1 -1
- package/dist/{credentialSchemas-DDOLRCLF.mjs → credentialSchemas-DaMpt-Dx.mjs} +2 -2
- package/dist/{credentialSchemas-DDOLRCLF.mjs.map → credentialSchemas-DaMpt-Dx.mjs.map} +1 -1
- package/dist/{credentials-Zqr3QQYB.cjs → credentials-D7XJypNd.cjs} +173 -3
- package/dist/credentials-D7XJypNd.cjs.map +1 -0
- package/dist/{credentials-B5N5yKk6.mjs → credentials-DpfnUvIR.mjs} +132 -4
- package/dist/credentials-DpfnUvIR.mjs.map +1 -0
- package/dist/deploy/public.cjs +16 -17
- package/dist/deploy/public.cjs.map +1 -1
- package/dist/deploy/public.d.cts +3 -5
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +3 -5
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +11 -12
- package/dist/deploy/public.mjs.map +1 -1
- package/dist/{deploy-DO4djCHb.mjs → deploy-D8pUA9Y0.mjs} +1240 -130
- package/dist/deploy-D8pUA9Y0.mjs.map +1 -0
- package/dist/{deploy-BffR_uEN.cjs → deploy-DVrNjX1X.cjs} +1261 -169
- package/dist/deploy-DVrNjX1X.cjs.map +1 -0
- package/dist/{discover-C5roJuc9.mjs → discover-CzGM5P3p.mjs} +136 -14
- package/dist/discover-CzGM5P3p.mjs.map +1 -0
- package/dist/{discover-DozUKs8f.cjs → discover-DL6h-J97.cjs} +158 -12
- package/dist/discover-DL6h-J97.cjs.map +1 -0
- package/dist/{dokploy-BcZm93Cc.mjs → dokploy-CzDGNB6A.mjs} +2 -2
- package/dist/{dokploy-BcZm93Cc.mjs.map → dokploy-CzDGNB6A.mjs.map} +1 -1
- package/dist/{dokploy-CsdvfH3t.cjs → dokploy-TtK6Zyl3.cjs} +2 -2
- package/dist/{dokploy-CsdvfH3t.cjs.map → dokploy-TtK6Zyl3.cjs.map} +1 -1
- package/dist/{drivers-BjGDYfnC.mjs → drivers-C-VqMtld.mjs} +2 -2
- package/dist/{drivers-BjGDYfnC.mjs.map → drivers-C-VqMtld.mjs.map} +1 -1
- package/dist/{drivers-DbjiYpW6.cjs → drivers-L29WvE95.cjs} +2 -2
- package/dist/{drivers-DbjiYpW6.cjs.map → drivers-L29WvE95.cjs.map} +1 -1
- package/dist/{eas-CN_cUXth.cjs → eas-D3clzkni.cjs} +2 -2
- package/dist/{eas-CN_cUXth.cjs.map → eas-D3clzkni.cjs.map} +1 -1
- package/dist/{eas-CBShP20v.mjs → eas-DaobzDks.mjs} +2 -2
- package/dist/{eas-CBShP20v.mjs.map → eas-DaobzDks.mjs.map} +1 -1
- package/dist/{emit-Dmc1nvdS.cjs → emit-CYloptRS.cjs} +34 -1
- package/dist/emit-CYloptRS.cjs.map +1 -0
- package/dist/{emit-C1e8qD08.mjs → emit-CiJGdy_f.mjs} +34 -1
- package/dist/emit-CiJGdy_f.mjs.map +1 -0
- package/dist/{encryption-CPDM49Hi.cjs → encryption-DBkIFiR2.cjs} +3 -3
- package/dist/{encryption-CPDM49Hi.cjs.map → encryption-DBkIFiR2.cjs.map} +1 -1
- package/dist/{encryption-CITa6dXL.mjs → encryption-DV31gEY8.mjs} +3 -3
- package/dist/{encryption-CITa6dXL.mjs.map → encryption-DV31gEY8.mjs.map} +1 -1
- package/dist/{engine-CTnHmHjz.mjs → engine-CFOR9h6X.mjs} +140 -16
- package/dist/engine-CFOR9h6X.mjs.map +1 -0
- package/dist/{engine-D-jfMVj-.cjs → engine-CuZUGbEh.cjs} +143 -19
- package/dist/engine-CuZUGbEh.cjs.map +1 -0
- package/dist/{github-D56PSK39.cjs → github-CsvtWSBW.cjs} +115 -47
- package/dist/github-CsvtWSBW.cjs.map +1 -0
- package/dist/{github-9RlA7EjN.mjs → github-Nep8pI4_.mjs} +113 -45
- package/dist/github-Nep8pI4_.mjs.map +1 -0
- package/dist/{googlePlay-SX_jQeJf.cjs → googlePlay-C-UfBXJU.cjs} +5 -5
- package/dist/{googlePlay-SX_jQeJf.cjs.map → googlePlay-C-UfBXJU.cjs.map} +1 -1
- package/dist/{googlePlay-COi5LXON.mjs → googlePlay-lF7Atm_N.mjs} +4 -4
- package/dist/{googlePlay-COi5LXON.mjs.map → googlePlay-lF7Atm_N.mjs.map} +1 -1
- package/dist/{index-DcyRA5Rf.d.mts → index-DrkV7N5w.d.mts} +2 -2
- package/dist/{index-DcyRA5Rf.d.mts.map → index-DrkV7N5w.d.mts.map} +1 -1
- package/dist/{index-DjLSMgAL.d.cts → index-yaXZ9m-J.d.cts} +2 -2
- package/dist/{index-DjLSMgAL.d.cts.map → index-yaXZ9m-J.d.cts.map} +1 -1
- package/dist/index.cjs +166 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +149 -68
- package/dist/index.mjs.map +1 -1
- package/dist/{local-BwC2v2Y8.mjs → local-B7Zv1NoA.mjs} +2 -2
- package/dist/{local-BwC2v2Y8.mjs.map → local-B7Zv1NoA.mjs.map} +1 -1
- package/dist/{local-DNhnkugT.cjs → local-OPC9BCZt.cjs} +3 -3
- package/dist/{local-DNhnkugT.cjs.map → local-OPC9BCZt.cjs.map} +1 -1
- package/dist/{migrate-CrtxXeGY.cjs → migrate-Dp3GhFnf.cjs} +4 -4
- package/dist/{migrate-CrtxXeGY.cjs.map → migrate-Dp3GhFnf.cjs.map} +1 -1
- package/dist/{migrate-0J6gsfrQ.mjs → migrate-NfbPVhi9.mjs} +4 -4
- package/dist/{migrate-0J6gsfrQ.mjs.map → migrate-NfbPVhi9.mjs.map} +1 -1
- package/dist/{migrate-DJa_Dlsl.mjs → migrate-_sBX0pve.mjs} +3 -3
- package/dist/{migrate-DJa_Dlsl.mjs.map → migrate-_sBX0pve.mjs.map} +1 -1
- package/dist/{migrate-BCz1lkh_.cjs → migrate-hlNKNWmg.cjs} +3 -3
- package/dist/{migrate-BCz1lkh_.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-CuQlOW5p.mjs → publish-BuUVaZVy.mjs} +2 -2
- package/dist/{publish-CuQlOW5p.mjs.map → publish-BuUVaZVy.mjs.map} +1 -1
- package/dist/{publish-qSpnvmdX.cjs → publish-ZOo4xEuZ.cjs} +2 -2
- package/dist/{publish-qSpnvmdX.cjs.map → publish-ZOo4xEuZ.cjs.map} +1 -1
- package/dist/{ready-BOfogqzr.mjs → ready-Ca883OvY.mjs} +6 -6
- package/dist/{ready-BOfogqzr.mjs.map → ready-Ca883OvY.mjs.map} +1 -1
- package/dist/{ready-BFFP838V.cjs → ready-qnqp6JAY.cjs} +6 -6
- package/dist/{ready-BFFP838V.cjs.map → ready-qnqp6JAY.cjs.map} +1 -1
- package/dist/reconcile/public.cjs +2 -2
- package/dist/reconcile/public.d.cts +1 -2
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +1 -2
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +2 -2
- package/dist/{resolve-j8hUcbGz.mjs → resolve-BCU9pYDx.mjs} +4 -4
- package/dist/{resolve-j8hUcbGz.mjs.map → resolve-BCU9pYDx.mjs.map} +1 -1
- package/dist/{resolve-AsfohXd1.cjs → resolve-C9QqOl5t.cjs} +4 -4
- package/dist/{resolve-AsfohXd1.cjs.map → resolve-C9QqOl5t.cjs.map} +1 -1
- package/dist/{rollback-Bxq_URgL.cjs → rollback-CTWdDBgB.cjs} +7 -7
- package/dist/{rollback-Bxq_URgL.cjs.map → rollback-CTWdDBgB.cjs.map} +1 -1
- package/dist/{rollback-JgbAY43C.mjs → rollback-CWyyTQ0B.mjs} +7 -7
- package/dist/{rollback-JgbAY43C.mjs.map → rollback-CWyyTQ0B.mjs.map} +1 -1
- package/dist/{runtime-DIZTeGJV.d.cts → runtime-DCkfI2E7.d.mts} +2 -2
- package/dist/{runtime-DIZTeGJV.d.cts.map → runtime-DCkfI2E7.d.mts.map} +1 -1
- package/dist/{runtime-WMLJY-db.d.mts → runtime-Ie4znWIB.d.cts} +2 -2
- package/dist/{runtime-WMLJY-db.d.mts.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-Dv78P9LS.mjs → seeds-CK7w79VC.mjs} +848 -61
- package/dist/seeds-CK7w79VC.mjs.map +1 -0
- package/dist/{seeds-BWC-qjSI.cjs → seeds-CPEcmoPn.cjs} +953 -64
- package/dist/seeds-CPEcmoPn.cjs.map +1 -0
- package/dist/{serverSetup-DB6sKwAy.mjs → serverSetup-BAPNuNEX.mjs} +6 -6
- package/dist/{serverSetup-DB6sKwAy.mjs.map → serverSetup-BAPNuNEX.mjs.map} +1 -1
- package/dist/{serverSetup-CtV80a5M.cjs → serverSetup-C6t6Vtt7.cjs} +6 -6
- package/dist/{serverSetup-CtV80a5M.cjs.map → serverSetup-C6t6Vtt7.cjs.map} +1 -1
- package/dist/{sniffer-ctpwBBkT.cjs → sniffer-DdX_WN_-.cjs} +9 -9
- package/dist/{sniffer-ctpwBBkT.cjs.map → sniffer-DdX_WN_-.cjs.map} +1 -1
- package/dist/{sniffer-qDFUQmWP.mjs → sniffer-g9v7cqDN.mjs} +9 -9
- package/dist/{sniffer-qDFUQmWP.mjs.map → sniffer-g9v7cqDN.mjs.map} +1 -1
- package/dist/{dns-Bmnuttja.cjs → snsSubscriptions-5Cqww8S7.cjs} +351 -3
- package/dist/snsSubscriptions-5Cqww8S7.cjs.map +1 -0
- package/dist/{dns-DFvO5a53.mjs → snsSubscriptions-BmYeeTH8.mjs} +280 -4
- package/dist/snsSubscriptions-BmYeeTH8.mjs.map +1 -0
- package/dist/{sst-C1pxbFEd.mjs → sst-CTqZZl1_.mjs} +3 -4
- package/dist/{sst-C1pxbFEd.mjs.map → sst-CTqZZl1_.mjs.map} +1 -1
- package/dist/{sst-B-Uz4cvm.cjs → sst-lEkBwzGc.cjs} +4 -5
- package/dist/{sst-B-Uz4cvm.cjs.map → sst-lEkBwzGc.cjs.map} +1 -1
- package/dist/{stage-C7lf36az.mjs → stage-C-I2dVw1.mjs} +6 -6
- package/dist/{stage-C7lf36az.mjs.map → stage-C-I2dVw1.mjs.map} +1 -1
- package/dist/{stage-DzALYUwY.cjs → stage-CUE5pMmw.cjs} +7 -7
- package/dist/{stage-DzALYUwY.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-DJlqcW_U.cjs → terminal-PKhPAajN.cjs} +3 -3
- package/dist/{terminal-DJlqcW_U.cjs.map → terminal-PKhPAajN.cjs.map} +1 -1
- package/dist/{terminal-CW_dWeTe.mjs → terminal-bqY33lpN.mjs} +3 -3
- package/dist/{terminal-CW_dWeTe.mjs.map → terminal-bqY33lpN.mjs.map} +1 -1
- package/dist/{types-Q2SC_ly2.d.cts → types-Bmjs4jZV.d.mts} +248 -4
- package/dist/types-Bmjs4jZV.d.mts.map +1 -0
- package/dist/{types-C8gXOLWL.d.mts → types-D0IsQxES.d.cts} +249 -3
- package/dist/types-D0IsQxES.d.cts.map +1 -0
- 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-C8CPxrCK.cjs.map +0 -1
- package/dist/SubscriberGenerator-y3pncae_.mjs.map +0 -1
- package/dist/compose-ChVvb3xM.cjs.map +0 -1
- package/dist/compose-cHkF---f.mjs.map +0 -1
- package/dist/config-B3iz9BtK.d.cts.map +0 -1
- package/dist/config-DrOX29sT.d.mts.map +0 -1
- package/dist/credentials-B5N5yKk6.mjs.map +0 -1
- package/dist/credentials-Zqr3QQYB.cjs.map +0 -1
- package/dist/deploy-BffR_uEN.cjs.map +0 -1
- package/dist/deploy-DO4djCHb.mjs.map +0 -1
- package/dist/discover-C08meHhu.d.mts +0 -125
- package/dist/discover-C08meHhu.d.mts.map +0 -1
- package/dist/discover-C5roJuc9.mjs.map +0 -1
- package/dist/discover-DipvfWpK.d.cts +0 -125
- package/dist/discover-DipvfWpK.d.cts.map +0 -1
- package/dist/discover-DozUKs8f.cjs.map +0 -1
- package/dist/dns-Bmnuttja.cjs.map +0 -1
- package/dist/dns-DFvO5a53.mjs.map +0 -1
- package/dist/emit-C1e8qD08.mjs.map +0 -1
- package/dist/emit-Dmc1nvdS.cjs.map +0 -1
- package/dist/engine-CTnHmHjz.mjs.map +0 -1
- package/dist/engine-D-jfMVj-.cjs.map +0 -1
- package/dist/github-9RlA7EjN.mjs.map +0 -1
- package/dist/github-D56PSK39.cjs.map +0 -1
- package/dist/run-BJLIerMM.mjs +0 -133
- package/dist/run-BJLIerMM.mjs.map +0 -1
- package/dist/run-fVZ-rLnc.cjs +0 -174
- package/dist/run-fVZ-rLnc.cjs.map +0 -1
- package/dist/sandbox-Co1y2CmF.d.mts +0 -104
- package/dist/sandbox-Co1y2CmF.d.mts.map +0 -1
- package/dist/sandbox-DvNqr6od.d.cts +0 -104
- package/dist/sandbox-DvNqr6od.d.cts.map +0 -1
- package/dist/seeds-BWC-qjSI.cjs.map +0 -1
- package/dist/seeds-Dv78P9LS.mjs.map +0 -1
- package/dist/types-C8gXOLWL.d.mts.map +0 -1
- package/dist/types-Q2SC_ly2.d.cts.map +0 -1
- package/dist/workspace-C82GLPnf.cjs.map +0 -1
- package/dist/workspace-DUnnVjqC.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { C as backupFile, E as stageBackups, T as runTime, _ as RUNNER_PATH, g as BACKUPS_URL_KEY, h as BACKUPS_SERVICE, w as backupsPrefix, x as backupDatabases } from "./dns-DFvO5a53.mjs";
|
|
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-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";
|
|
9
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
10
|
-
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";
|
|
11
10
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
12
|
-
import {
|
|
11
|
+
import { f as isCacheBackend, n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-ocQ2yj0K.mjs";
|
|
13
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
14
|
-
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-
|
|
15
|
-
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";
|
|
16
15
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
17
|
-
import { d as awsEndpoint, f as awsProvisioningCredentials, t as deploy$1, u as awsClientConfig } from "./deploy-DO4djCHb.mjs";
|
|
18
16
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
19
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";
|
|
20
|
-
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-
|
|
21
|
-
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-
|
|
22
|
-
import { t as LocalSandbox } from "./local-
|
|
23
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
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
|
+
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
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";
|
|
26
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";
|
|
27
|
-
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";
|
|
28
27
|
import { createRequire } from "node:module";
|
|
29
28
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
30
29
|
import { Command, Option } from "commander";
|
|
@@ -52,7 +51,7 @@ import crypto from "crypto";
|
|
|
52
51
|
import { Function } from "@geekmidas/constructs/functions";
|
|
53
52
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
54
53
|
//#region package.json
|
|
55
|
-
var version = "10.0.0-alpha.
|
|
54
|
+
var version = "10.0.0-alpha.125";
|
|
56
55
|
//#endregion
|
|
57
56
|
//#region src/prompt.ts
|
|
58
57
|
/**
|
|
@@ -135,7 +134,7 @@ const logger$8 = console;
|
|
|
135
134
|
* Validate Dokploy token by making a test API call
|
|
136
135
|
*/
|
|
137
136
|
async function validateDokployToken(endpoint, token) {
|
|
138
|
-
const { DokployApi } = await import("./sniffer-
|
|
137
|
+
const { DokployApi } = await import("./sniffer-g9v7cqDN.mjs").then((n) => n.c);
|
|
139
138
|
return new DokployApi({
|
|
140
139
|
baseUrl: endpoint,
|
|
141
140
|
token
|
|
@@ -2175,7 +2174,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2175
2174
|
const cwd = options.cwd ?? process.cwd();
|
|
2176
2175
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2177
2176
|
if (options.stage && !isImageBuild()) {
|
|
2178
|
-
const { execOnStage } = await import("./stage-
|
|
2177
|
+
const { execOnStage } = await import("./stage-C-I2dVw1.mjs").then((n) => n.n);
|
|
2179
2178
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2180
2179
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2181
2180
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2748,9 +2747,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2748
2747
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2749
2748
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2750
2749
|
if (options.migrate || options.seed) {
|
|
2751
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2750
|
+
const { prepareDevDatabases } = await import("./migrate-NfbPVhi9.mjs");
|
|
2752
2751
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2753
|
-
} else await import("./migrate-
|
|
2752
|
+
} else await import("./migrate-NfbPVhi9.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2754
2753
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2755
2754
|
});
|
|
2756
2755
|
const appUrls = {};
|
|
@@ -3776,7 +3775,8 @@ async function writeManifest(input) {
|
|
|
3776
3775
|
functions: builds.flatMap((build) => build.functions),
|
|
3777
3776
|
crons: builds.flatMap((build) => build.crons),
|
|
3778
3777
|
queues: builds.flatMap((build) => build.queues),
|
|
3779
|
-
subscribers: builds.flatMap((build) => build.subscribers)
|
|
3778
|
+
subscribers: builds.flatMap((build) => build.subscribers),
|
|
3779
|
+
processors: builds.flatMap((build) => build.processors ?? [])
|
|
3780
3780
|
});
|
|
3781
3781
|
const path = join(manifestDir, `${target}.ts`);
|
|
3782
3782
|
await writeFile(path, manifestModule(folded, backends));
|
|
@@ -3826,7 +3826,7 @@ async function buildApp(input) {
|
|
|
3826
3826
|
...production,
|
|
3827
3827
|
...telemetry ? { telemetry } : {}
|
|
3828
3828
|
});
|
|
3829
|
-
const { bundleServer } = await import("./bundler-
|
|
3829
|
+
const { bundleServer } = await import("./bundler-DpZ9uBGN.mjs");
|
|
3830
3830
|
await bundleServer({
|
|
3831
3831
|
entryPoint,
|
|
3832
3832
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3877,6 +3877,10 @@ async function buildApp(input) {
|
|
|
3877
3877
|
const hostedIds = new Set(hosted.map((unit) => unit.id));
|
|
3878
3878
|
const appRootAbs = resolve(appRoot);
|
|
3879
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;
|
|
3880
3884
|
const hostedCrons = hostedHere(allCrons);
|
|
3881
3885
|
const hostedQueues = hostedHere(allQueues);
|
|
3882
3886
|
const hostedSubscribers = hostedHere(allSubscribers);
|
|
@@ -3890,12 +3894,20 @@ async function buildApp(input) {
|
|
|
3890
3894
|
queues: hostedQueues,
|
|
3891
3895
|
subscribers: hostedSubscribers
|
|
3892
3896
|
};
|
|
3893
|
-
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
|
+
], [
|
|
3894
3905
|
...allEndpoints,
|
|
3895
3906
|
...allFunctions,
|
|
3896
3907
|
...inProcess.crons,
|
|
3897
3908
|
...inProcess.queues,
|
|
3898
|
-
...inProcess.subscribers
|
|
3909
|
+
...inProcess.subscribers,
|
|
3910
|
+
...production?.enabled ? [] : hostedProcessors
|
|
3899
3911
|
]) : declared;
|
|
3900
3912
|
Object.assign(buildContext, runtimeDrivers({
|
|
3901
3913
|
appRoot,
|
|
@@ -3927,6 +3939,10 @@ async function buildApp(input) {
|
|
|
3927
3939
|
...production,
|
|
3928
3940
|
subscribers: "exclude"
|
|
3929
3941
|
};
|
|
3942
|
+
if (target === "server" && !production?.enabled && hostedProcessors.length) {
|
|
3943
|
+
await processorGenerator.buildDev(join(appRoot, ".gkm", "server"), hostedProcessors);
|
|
3944
|
+
buildContext.devProcessors = true;
|
|
3945
|
+
}
|
|
3930
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);
|
|
3931
3947
|
if (target === "server" && production?.enabled) await buildWorkers({
|
|
3932
3948
|
context: (workerId, work) => ({
|
|
@@ -3955,6 +3971,32 @@ async function buildApp(input) {
|
|
|
3955
3971
|
bundle: Boolean(production.bundle && !input.skipBundle),
|
|
3956
3972
|
...input.stage ? { stage: input.stage } : {}
|
|
3957
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
|
+
};
|
|
3958
4000
|
await generateOpenApi(allEndpoints.map(({ construct }) => construct), {
|
|
3959
4001
|
openapi: config.openapi,
|
|
3960
4002
|
root: workspaceRoot,
|
|
@@ -4029,7 +4071,7 @@ async function buildWorkers(input) {
|
|
|
4029
4071
|
});
|
|
4030
4072
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4031
4073
|
if (!input.bundle) continue;
|
|
4032
|
-
const { bundleServer } = await import("./bundler-
|
|
4074
|
+
const { bundleServer } = await import("./bundler-DpZ9uBGN.mjs");
|
|
4033
4075
|
const outfile = workerBundleName(worker.id);
|
|
4034
4076
|
await bundleServer({
|
|
4035
4077
|
entryPoint,
|
|
@@ -4049,6 +4091,45 @@ async function buildWorkers(input) {
|
|
|
4049
4091
|
}
|
|
4050
4092
|
}
|
|
4051
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
|
+
/**
|
|
4052
4133
|
* Whether the surface's generated client propagates trace context, and at
|
|
4053
4134
|
* what rate: on when a site that calls it has an edge to a `Telemetry`
|
|
4054
4135
|
* construct, at the stage's sample rate — every trace locally, and on a build
|
|
@@ -4115,7 +4196,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4115
4196
|
let masterKey;
|
|
4116
4197
|
if (context.production?.bundle && !skipBundle) {
|
|
4117
4198
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4118
|
-
const { bundleServer } = await import("./bundler-
|
|
4199
|
+
const { bundleServer } = await import("./bundler-DpZ9uBGN.mjs");
|
|
4119
4200
|
const allConstructs = [
|
|
4120
4201
|
...endpoints.map((e) => e.construct),
|
|
4121
4202
|
...functions.map((f) => f.construct),
|
|
@@ -5949,25 +6030,25 @@ function loadPackageJson() {
|
|
|
5949
6030
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5950
6031
|
*/
|
|
5951
6032
|
const GEEKMIDAS_VERSIONS = {
|
|
5952
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5953
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5954
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5955
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5956
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5957
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5958
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5959
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5960
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5961
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5962
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5963
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5964
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5965
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5966
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5967
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5968
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5969
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5970
|
-
"@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",
|
|
5971
6052
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5972
6053
|
};
|
|
5973
6054
|
//#endregion
|
|
@@ -7160,7 +7241,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7160
7241
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7161
7242
|
* release the pinned commit is.
|
|
7162
7243
|
*/
|
|
7163
|
-
function stagesActionUses(commit = "
|
|
7244
|
+
function stagesActionUses(commit = "72a50c6bd9e71af983cc5e2a7c9f3654bfc1afdc", version = cliVersion()) {
|
|
7164
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`;
|
|
7165
7246
|
}
|
|
7166
7247
|
//#endregion
|
|
@@ -16132,8 +16213,8 @@ function testDatabases(reconciled) {
|
|
|
16132
16213
|
* starts without the reference data the app needs.
|
|
16133
16214
|
*/
|
|
16134
16215
|
async function migrateTestStage(workspace, env) {
|
|
16135
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16136
|
-
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);
|
|
16137
16218
|
const sources = {};
|
|
16138
16219
|
const manifest = await discover({
|
|
16139
16220
|
patterns: constructGlobs(workspace),
|
|
@@ -16556,7 +16637,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16556
16637
|
try {
|
|
16557
16638
|
const globalOptions = program.opts();
|
|
16558
16639
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16559
|
-
const { easSync } = await import("./eas-
|
|
16640
|
+
const { easSync } = await import("./eas-DaobzDks.mjs");
|
|
16560
16641
|
await easSync(options);
|
|
16561
16642
|
} catch (error) {
|
|
16562
16643
|
exitWithError(error);
|
|
@@ -16566,7 +16647,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16566
16647
|
try {
|
|
16567
16648
|
const globalOptions = program.opts();
|
|
16568
16649
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16569
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16650
|
+
const { publish, PublishModeConflict } = await import("./publish-BuUVaZVy.mjs");
|
|
16570
16651
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16571
16652
|
const { build, update, ...rest } = options;
|
|
16572
16653
|
await publish({
|
|
@@ -16582,7 +16663,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16582
16663
|
try {
|
|
16583
16664
|
const globalOptions = program.opts();
|
|
16584
16665
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16585
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16666
|
+
const { deployGooglePlay } = await import("./googlePlay-lF7Atm_N.mjs");
|
|
16586
16667
|
await deployGooglePlay(options);
|
|
16587
16668
|
} catch (error) {
|
|
16588
16669
|
exitWithError(error);
|
|
@@ -16604,7 +16685,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16604
16685
|
try {
|
|
16605
16686
|
const globalOptions = program.opts();
|
|
16606
16687
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16607
|
-
const { migrateCommand } = await import("./migrate-
|
|
16688
|
+
const { migrateCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16608
16689
|
await migrateCommand({
|
|
16609
16690
|
...options,
|
|
16610
16691
|
...construct ? { construct } : {}
|
|
@@ -16617,7 +16698,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16617
16698
|
try {
|
|
16618
16699
|
const globalOptions = program.opts();
|
|
16619
16700
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16620
|
-
const { seedCommand } = await import("./migrate-
|
|
16701
|
+
const { seedCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16621
16702
|
await seedCommand({
|
|
16622
16703
|
...options,
|
|
16623
16704
|
...construct ? { construct } : {}
|
|
@@ -16630,7 +16711,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16630
16711
|
try {
|
|
16631
16712
|
const globalOptions = program.opts();
|
|
16632
16713
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16633
|
-
const { migrationCommand } = await import("./migrate-
|
|
16714
|
+
const { migrationCommand } = await import("./migrate-NfbPVhi9.mjs");
|
|
16634
16715
|
await migrationCommand({
|
|
16635
16716
|
construct,
|
|
16636
16717
|
...name ? { name } : {}
|
|
@@ -16730,7 +16811,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16730
16811
|
try {
|
|
16731
16812
|
const globalOptions = program.opts();
|
|
16732
16813
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16733
|
-
const { secretsAddCommand } = await import("./add-
|
|
16814
|
+
const { secretsAddCommand } = await import("./add-C7ZBXIzM.mjs");
|
|
16734
16815
|
await secretsAddCommand(options);
|
|
16735
16816
|
} catch (error) {
|
|
16736
16817
|
exitWithError(error);
|
|
@@ -16740,7 +16821,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16740
16821
|
try {
|
|
16741
16822
|
const globalOptions = program.opts();
|
|
16742
16823
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16743
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16824
|
+
const { encryptionRotateCommand } = await import("./encryption-DV31gEY8.mjs");
|
|
16744
16825
|
await encryptionRotateCommand(construct, options);
|
|
16745
16826
|
} catch (error) {
|
|
16746
16827
|
exitWithError(error);
|
|
@@ -16750,7 +16831,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16750
16831
|
try {
|
|
16751
16832
|
const globalOptions = program.opts();
|
|
16752
16833
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16753
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16834
|
+
const { encryptionRetireCommand } = await import("./encryption-DV31gEY8.mjs");
|
|
16754
16835
|
await encryptionRetireCommand(construct, key, options);
|
|
16755
16836
|
} catch (error) {
|
|
16756
16837
|
exitWithError(error);
|
|
@@ -16789,7 +16870,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16789
16870
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16790
16871
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16791
16872
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16792
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16873
|
+
const { secretsStoreFor } = await import("./seeds-CK7w79VC.mjs").then((n) => n.Zt);
|
|
16793
16874
|
const { workspace } = await loadWorkspaceConfig();
|
|
16794
16875
|
const stage = options.stage ?? workspace.stages.local;
|
|
16795
16876
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16798,7 +16879,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16798
16879
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16799
16880
|
process.exit(1);
|
|
16800
16881
|
}
|
|
16801
|
-
const { derivedContainers } = await import("./seeds-
|
|
16882
|
+
const { derivedContainers } = await import("./seeds-CK7w79VC.mjs").then((n) => n.Dt);
|
|
16802
16883
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16803
16884
|
if (!result) {
|
|
16804
16885
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16815,14 +16896,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16815
16896
|
try {
|
|
16816
16897
|
const globalOptions = program.opts();
|
|
16817
16898
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16818
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16899
|
+
const { secretsMigrateCommand } = await import("./migrate-_sBX0pve.mjs");
|
|
16819
16900
|
await secretsMigrateCommand(options);
|
|
16820
16901
|
} catch (error) {
|
|
16821
16902
|
exitWithError(error);
|
|
16822
16903
|
}
|
|
16823
16904
|
});
|
|
16824
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) => {
|
|
16825
|
-
const { deployCli } = await import("./cli-
|
|
16906
|
+
const { deployCli } = await import("./cli-BWfYyy1k.mjs");
|
|
16826
16907
|
const globalOptions = program.opts();
|
|
16827
16908
|
const code = await deployCli({
|
|
16828
16909
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16842,8 +16923,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16842
16923
|
});
|
|
16843
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) => {
|
|
16844
16925
|
try {
|
|
16845
|
-
const { rollbackStage } = await import("./rollback-
|
|
16846
|
-
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");
|
|
16847
16928
|
const globalOptions = program.opts();
|
|
16848
16929
|
await rollbackStage({
|
|
16849
16930
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16861,7 +16942,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16861
16942
|
try {
|
|
16862
16943
|
const globalOptions = program.opts();
|
|
16863
16944
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16864
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16945
|
+
const { composeServerCommand } = await import("./serverSetup-BAPNuNEX.mjs");
|
|
16865
16946
|
await composeServerCommand(options);
|
|
16866
16947
|
} catch (error) {
|
|
16867
16948
|
exitWithError(error);
|
|
@@ -16886,7 +16967,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16886
16967
|
try {
|
|
16887
16968
|
const globalOptions = program.opts();
|
|
16888
16969
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16889
|
-
const { deployGithubCommand } = await import("./github-
|
|
16970
|
+
const { deployGithubCommand } = await import("./github-Nep8pI4_.mjs");
|
|
16890
16971
|
await deployGithubCommand(options);
|
|
16891
16972
|
} catch (error) {
|
|
16892
16973
|
exitWithError(error);
|
|
@@ -16896,7 +16977,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
16896
16977
|
try {
|
|
16897
16978
|
const globalOptions = program.opts();
|
|
16898
16979
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16899
|
-
const { stagesCommand } = await import("./stages-
|
|
16980
|
+
const { stagesCommand } = await import("./stages-DTTv0NZW.mjs");
|
|
16900
16981
|
await stagesCommand(options);
|
|
16901
16982
|
} catch (error) {
|
|
16902
16983
|
exitWithError(error);
|