@geekmidas/cli 10.0.0-alpha.144 → 10.0.0-alpha.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GoDaddyProvider-IVuFcWyc.mjs → GoDaddyProvider-BESq24p-.mjs} +2 -2
- package/dist/{GoDaddyProvider-IVuFcWyc.mjs.map → GoDaddyProvider-BESq24p-.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DAJIa64i.cjs → GoDaddyProvider-BK5N6-fx.cjs} +2 -2
- package/dist/{GoDaddyProvider-DAJIa64i.cjs.map → GoDaddyProvider-BK5N6-fx.cjs.map} +1 -1
- package/dist/{HostingerProvider-BtLb-jkn.mjs → HostingerProvider-BV30wTNI.mjs} +2 -2
- package/dist/{HostingerProvider-BtLb-jkn.mjs.map → HostingerProvider-BV30wTNI.mjs.map} +1 -1
- package/dist/{HostingerProvider-DdikWVRy.cjs → HostingerProvider-BbQod5OB.cjs} +2 -2
- package/dist/{HostingerProvider-DdikWVRy.cjs.map → HostingerProvider-BbQod5OB.cjs.map} +1 -1
- package/dist/{LegacyStateStore-CmgUY9kR.mjs → LegacyStateStore-Ck3HI28A.mjs} +2 -2
- package/dist/{LegacyStateStore-CmgUY9kR.mjs.map → LegacyStateStore-Ck3HI28A.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CWwT7Mj5.cjs → LegacyStateStore-OEno6vIb.cjs} +2 -2
- package/dist/{LegacyStateStore-CWwT7Mj5.cjs.map → LegacyStateStore-OEno6vIb.cjs.map} +1 -1
- package/dist/{LocalStateStore-NOmS4QyA.mjs → LocalStateStore-Fa54CpLw.mjs} +2 -2
- package/dist/{LocalStateStore-NOmS4QyA.mjs.map → LocalStateStore-Fa54CpLw.mjs.map} +1 -1
- package/dist/{LocalStateStore-BkeQg1ga.cjs → LocalStateStore-ukDFg6GM.cjs} +2 -2
- package/dist/{LocalStateStore-BkeQg1ga.cjs.map → LocalStateStore-ukDFg6GM.cjs.map} +1 -1
- package/dist/{S3StateStore-Cw2nwI5C.cjs → S3StateStore-Cjuft2Lk.cjs} +4 -4
- package/dist/{S3StateStore-Cw2nwI5C.cjs.map → S3StateStore-Cjuft2Lk.cjs.map} +1 -1
- package/dist/{S3StateStore-SjIxuWHM.mjs → S3StateStore-D53985SR.mjs} +4 -4
- package/dist/{S3StateStore-SjIxuWHM.mjs.map → S3StateStore-D53985SR.mjs.map} +1 -1
- package/dist/{SSMStateStore-DGqzo4Ob.mjs → SSMStateStore-CRjV2h2G.mjs} +2 -2
- package/dist/{SSMStateStore-DGqzo4Ob.mjs.map → SSMStateStore-CRjV2h2G.mjs.map} +1 -1
- package/dist/{SSMStateStore-DC1N1Baw.cjs → SSMStateStore-CnJgw3_-.cjs} +2 -2
- package/dist/{SSMStateStore-DC1N1Baw.cjs.map → SSMStateStore-CnJgw3_-.cjs.map} +1 -1
- package/dist/{add-BwC_EH0e.cjs → add-CG_4mNir.cjs} +7 -7
- package/dist/{add-BwC_EH0e.cjs.map → add-CG_4mNir.cjs.map} +1 -1
- package/dist/{add-Bnd7vuUN.mjs → add-D0-1UyFj.mjs} +7 -7
- package/dist/{add-Bnd7vuUN.mjs.map → add-D0-1UyFj.mjs.map} +1 -1
- package/dist/{apps-D1svw9OG.cjs → apps-DHi6E_yH.cjs} +416 -51
- package/dist/apps-DHi6E_yH.cjs.map +1 -0
- package/dist/{apps-Xrlvir2-.mjs → apps-DWALM-8s.mjs} +389 -49
- package/dist/apps-DWALM-8s.mjs.map +1 -0
- package/dist/{bundler-CoRIF5bx.mjs → bundler-Cb5ynXXS.mjs} +6 -6
- package/dist/{bundler-CoRIF5bx.mjs.map → bundler-Cb5ynXXS.mjs.map} +1 -1
- package/dist/{bundler-CgWYsgqb.cjs → bundler-Co_7zpYC.cjs} +6 -6
- package/dist/{bundler-CgWYsgqb.cjs.map → bundler-Co_7zpYC.cjs.map} +1 -1
- package/dist/{cli-DsPHbC7p.cjs → cli-C5M_7Kux.cjs} +4 -4
- package/dist/{cli-DsPHbC7p.cjs.map → cli-C5M_7Kux.cjs.map} +1 -1
- package/dist/{cli-CKlTRVwo.mjs → cli-D_9WqN6C.mjs} +4 -4
- package/dist/{cli-CKlTRVwo.mjs.map → cli-D_9WqN6C.mjs.map} +1 -1
- package/dist/{compose-BMTnoIek.mjs → compose-7p0-3ogo.mjs} +5 -5
- package/dist/compose-7p0-3ogo.mjs.map +1 -0
- package/dist/{compose-ChUQHKG3.cjs → compose-BeQ01iYk.cjs} +27 -25
- package/dist/compose-BeQ01iYk.cjs.map +1 -0
- package/dist/{compose-CVAoA04l.cjs → compose-C10hkeHU.cjs} +5 -5
- package/dist/compose-C10hkeHU.cjs.map +1 -0
- package/dist/{compose-CkvPmijw.mjs → compose-DxmEMeTu.mjs} +27 -25
- package/dist/compose-DxmEMeTu.mjs.map +1 -0
- package/dist/{config-BKpzKP6W.mjs → config-B-wza0Xk.mjs} +2 -2
- package/dist/{config-BKpzKP6W.mjs.map → config-B-wza0Xk.mjs.map} +1 -1
- package/dist/{config-QAqAEgb0.cjs → config-CWExbDxA.cjs} +2 -2
- package/dist/{config-QAqAEgb0.cjs.map → config-CWExbDxA.cjs.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{credentials-Jx1Vdisc.mjs → credentials-B5Oe4fLE.mjs} +7 -7
- package/dist/{credentials-Jx1Vdisc.mjs.map → credentials-B5Oe4fLE.mjs.map} +1 -1
- package/dist/{credentials-CCIXh-cq.cjs → credentials-Csnd7M8M.cjs} +7 -7
- package/dist/{credentials-CCIXh-cq.cjs.map → credentials-Csnd7M8M.cjs.map} +1 -1
- package/dist/deploy/public.cjs +12 -12
- package/dist/deploy/public.mjs +12 -12
- package/dist/{deploy-8wsaNpPW.mjs → deploy-6DDEG4Ai.mjs} +13 -13
- package/dist/{deploy-8wsaNpPW.mjs.map → deploy-6DDEG4Ai.mjs.map} +1 -1
- package/dist/{deploy-CEX0YRdq.cjs → deploy-BwNxJ3ZI.cjs} +13 -13
- package/dist/{deploy-CEX0YRdq.cjs.map → deploy-BwNxJ3ZI.cjs.map} +1 -1
- package/dist/{docker-M_-xKiFU.cjs → docker-BZnNUJCy.cjs} +5 -5
- package/dist/{docker-M_-xKiFU.cjs.map → docker-BZnNUJCy.cjs.map} +1 -1
- package/dist/{docker-M4kCqczV.mjs → docker-Ch5aPQ04.mjs} +5 -5
- package/dist/{docker-M4kCqczV.mjs.map → docker-Ch5aPQ04.mjs.map} +1 -1
- package/dist/{dokploy-BsAPW8K1.mjs → dokploy-CTWw3WSo.mjs} +2 -2
- package/dist/{dokploy-BsAPW8K1.mjs.map → dokploy-CTWw3WSo.mjs.map} +1 -1
- package/dist/{dokploy-Djm8QIQZ.cjs → dokploy-Cn7dQqmE.cjs} +2 -2
- package/dist/{dokploy-Djm8QIQZ.cjs.map → dokploy-Cn7dQqmE.cjs.map} +1 -1
- package/dist/{eas-zEpuiYYj.mjs → eas-D0B8H7hT.mjs} +3 -3
- package/dist/{eas-zEpuiYYj.mjs.map → eas-D0B8H7hT.mjs.map} +1 -1
- package/dist/{eas-B-Ac5NjL.cjs → eas-IPjz0PWK.cjs} +3 -3
- package/dist/{eas-B-Ac5NjL.cjs.map → eas-IPjz0PWK.cjs.map} +1 -1
- package/dist/{encryption-EOEhb95p.mjs → encryption-C9auXcSV.mjs} +4 -4
- package/dist/{encryption-EOEhb95p.mjs.map → encryption-C9auXcSV.mjs.map} +1 -1
- package/dist/{encryption-B4LCEdXH.cjs → encryption-vK64UP4M.cjs} +4 -4
- package/dist/{encryption-B4LCEdXH.cjs.map → encryption-vK64UP4M.cjs.map} +1 -1
- package/dist/{engine-Ci-uU3kt.mjs → engine-C3N2WhbC.mjs} +10 -10
- package/dist/{engine-Ci-uU3kt.mjs.map → engine-C3N2WhbC.mjs.map} +1 -1
- package/dist/{engine-6NLOikTQ.cjs → engine-Icqv5JI6.cjs} +10 -10
- package/dist/{engine-6NLOikTQ.cjs.map → engine-Icqv5JI6.cjs.map} +1 -1
- package/dist/{github-C0oLDg5G.mjs → github-D24wTOe2.mjs} +9 -9
- package/dist/{github-C0oLDg5G.mjs.map → github-D24wTOe2.mjs.map} +1 -1
- package/dist/{github-u9sfpl0l.cjs → github-DUuNInc0.cjs} +9 -9
- package/dist/{github-u9sfpl0l.cjs.map → github-DUuNInc0.cjs.map} +1 -1
- package/dist/{googlePlay-DfLH_sPa.cjs → googlePlay-BGDKlnPx.cjs} +5 -5
- package/dist/{googlePlay-DfLH_sPa.cjs.map → googlePlay-BGDKlnPx.cjs.map} +1 -1
- package/dist/{googlePlay-3nfA-wWh.mjs → googlePlay-Cy-MaYr2.mjs} +5 -5
- package/dist/{googlePlay-3nfA-wWh.mjs.map → googlePlay-Cy-MaYr2.mjs.map} +1 -1
- package/dist/index.cjs +71 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +71 -79
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CtzKG55y.cjs → local-B4xobzh-.cjs} +2 -2
- package/dist/{local-CtzKG55y.cjs.map → local-B4xobzh-.cjs.map} +1 -1
- package/dist/{local-uvqZDwZ9.mjs → local-CdpBgn3d.mjs} +2 -2
- package/dist/{local-uvqZDwZ9.mjs.map → local-CdpBgn3d.mjs.map} +1 -1
- package/dist/{migrate-C6V9bEVY.cjs → migrate--hMBtpx-.cjs} +4 -4
- package/dist/{migrate-C6V9bEVY.cjs.map → migrate--hMBtpx-.cjs.map} +1 -1
- package/dist/{migrate-CA1GWA4t.mjs → migrate-DVrXTq58.mjs} +4 -4
- package/dist/{migrate-CA1GWA4t.mjs.map → migrate-DVrXTq58.mjs.map} +1 -1
- package/dist/{migrate-s9lVmF98.mjs → migrate-DhZfvCkJ.mjs} +6 -6
- package/dist/{migrate-s9lVmF98.mjs.map → migrate-DhZfvCkJ.mjs.map} +1 -1
- package/dist/{migrate-FKPFIzwd.cjs → migrate-DwQ-zaMy.cjs} +6 -6
- package/dist/{migrate-FKPFIzwd.cjs.map → migrate-DwQ-zaMy.cjs.map} +1 -1
- package/dist/{notes-BjxySbyH.cjs → notes-C2b5RzGl.cjs} +4 -4
- package/dist/{notes-BjxySbyH.cjs.map → notes-C2b5RzGl.cjs.map} +1 -1
- package/dist/{notes-Dz1M9_q9.mjs → notes-z5OOMqm4.mjs} +4 -4
- package/dist/{notes-Dz1M9_q9.mjs.map → notes-z5OOMqm4.mjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-2XgQSnLw.mjs → projectBucket-DPD0_B8N.mjs} +2 -2
- package/dist/{projectBucket-2XgQSnLw.mjs.map → projectBucket-DPD0_B8N.mjs.map} +1 -1
- package/dist/{projectBucket-DsXNW1Yc.cjs → projectBucket-Dk_aZ1cD.cjs} +2 -2
- package/dist/{projectBucket-DsXNW1Yc.cjs.map → projectBucket-Dk_aZ1cD.cjs.map} +1 -1
- package/dist/{publish-Dmy_OhvF.mjs → publish-Bmc1Wfs3.mjs} +2 -2
- package/dist/{publish-Dmy_OhvF.mjs.map → publish-Bmc1Wfs3.mjs.map} +1 -1
- package/dist/{publish-7-dwP5TL.cjs → publish-CDvh-9OG.cjs} +2 -2
- package/dist/{publish-7-dwP5TL.cjs.map → publish-CDvh-9OG.cjs.map} +1 -1
- package/dist/{resolve-DhsUJwm8.cjs → resolve-CuxPZ3ga.cjs} +4 -4
- package/dist/{resolve-DhsUJwm8.cjs.map → resolve-CuxPZ3ga.cjs.map} +1 -1
- package/dist/{resolve-BK7mzDBb.mjs → resolve-DHARlMdl.mjs} +4 -4
- package/dist/{resolve-BK7mzDBb.mjs.map → resolve-DHARlMdl.mjs.map} +1 -1
- package/dist/{rollback-8qHgyadV.mjs → rollback-DZq_dIbl.mjs} +7 -7
- package/dist/{rollback-8qHgyadV.mjs.map → rollback-DZq_dIbl.mjs.map} +1 -1
- package/dist/{rollback-DP2iDjc9.cjs → rollback-DxHut8C-.cjs} +7 -7
- package/dist/{rollback-DP2iDjc9.cjs.map → rollback-DxHut8C-.cjs.map} +1 -1
- package/dist/{s3-DxCex5Fx.mjs → s3-Cd7UK2y8.mjs} +3 -3
- package/dist/{s3-DxCex5Fx.mjs.map → s3-Cd7UK2y8.mjs.map} +1 -1
- package/dist/{s3-DSPbU5gN.cjs → s3-Dhy58V_y.cjs} +3 -3
- package/dist/{s3-DSPbU5gN.cjs.map → s3-Dhy58V_y.cjs.map} +1 -1
- package/dist/{serverSetup-BSuHk2t2.cjs → serverSetup-DYiKHMVp.cjs} +7 -7
- package/dist/{serverSetup-BSuHk2t2.cjs.map → serverSetup-DYiKHMVp.cjs.map} +1 -1
- package/dist/{serverSetup-CeFpl5VJ.mjs → serverSetup-qe5bdBhO.mjs} +7 -7
- package/dist/{serverSetup-CeFpl5VJ.mjs.map → serverSetup-qe5bdBhO.mjs.map} +1 -1
- package/dist/{sniffer-BfNl8jn-.mjs → sniffer-BNcLP8MO.mjs} +7 -7
- package/dist/{sniffer-BfNl8jn-.mjs.map → sniffer-BNcLP8MO.mjs.map} +1 -1
- package/dist/{sniffer-Cb3n63dY.cjs → sniffer-DFix2ORf.cjs} +7 -7
- package/dist/{sniffer-Cb3n63dY.cjs.map → sniffer-DFix2ORf.cjs.map} +1 -1
- package/dist/{snsSubscriptions-DoZ0Q1n6.mjs → snsSubscriptions-BwX28_Kl.mjs} +3 -3
- package/dist/{snsSubscriptions-DoZ0Q1n6.mjs.map → snsSubscriptions-BwX28_Kl.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Bd40ebt6.cjs → snsSubscriptions-Dr-gJWtR.cjs} +3 -3
- package/dist/{snsSubscriptions-Bd40ebt6.cjs.map → snsSubscriptions-Dr-gJWtR.cjs.map} +1 -1
- package/dist/{sst-B6RbJp8g.mjs → sst-Bvtx6uZ9.mjs} +5 -5
- package/dist/{sst-B6RbJp8g.mjs.map → sst-Bvtx6uZ9.mjs.map} +1 -1
- package/dist/{sst-DKNyfTpw.cjs → sst-CoKFPW7f.cjs} +5 -5
- package/dist/{sst-DKNyfTpw.cjs.map → sst-CoKFPW7f.cjs.map} +1 -1
- package/dist/{stack-DwQ62dKK.mjs → stack-BeSbt_7k.mjs} +100 -45
- package/dist/stack-BeSbt_7k.mjs.map +1 -0
- package/dist/{stack-UcV-V6Qk.cjs → stack-DbaKGKnI.cjs} +100 -45
- package/dist/stack-DbaKGKnI.cjs.map +1 -0
- package/dist/{stage-52sKecmS.mjs → stage-BblkSR2C.mjs} +7 -7
- package/dist/{stage-52sKecmS.mjs.map → stage-BblkSR2C.mjs.map} +1 -1
- package/dist/{stage-C2v5890I.cjs → stage-DI5mzoAi.cjs} +7 -7
- package/dist/{stage-C2v5890I.cjs.map → stage-DI5mzoAi.cjs.map} +1 -1
- package/dist/{stages-CFI0OiLj.cjs → stages-C-bVwvJZ.cjs} +3 -3
- package/dist/{stages-CFI0OiLj.cjs.map → stages-C-bVwvJZ.cjs.map} +1 -1
- package/dist/{stages-DoYa81kN.mjs → stages-DBsDvEbo.mjs} +3 -3
- package/dist/{stages-DoYa81kN.mjs.map → stages-DBsDvEbo.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-DkXWdU0E.cjs → terminal-Bxy_A8iP.cjs} +2 -2
- package/dist/{terminal-DkXWdU0E.cjs.map → terminal-Bxy_A8iP.cjs.map} +1 -1
- package/dist/{terminal-BDEqpkbO.mjs → terminal-DDqusYW0.mjs} +2 -2
- package/dist/{terminal-BDEqpkbO.mjs.map → terminal-DDqusYW0.mjs.map} +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-Dkm3HL9e.cjs → workspace-BbbkJDUU.cjs} +5 -5
- package/dist/workspace-BbbkJDUU.cjs.map +1 -0
- package/dist/{workspace-BbfBFtjn.mjs → workspace-CZGJdcTs.mjs} +5 -5
- package/dist/workspace-CZGJdcTs.mjs.map +1 -0
- package/package.json +17 -15
- package/dist/apps-D1svw9OG.cjs.map +0 -1
- package/dist/apps-Xrlvir2-.mjs.map +0 -1
- package/dist/compose-BMTnoIek.mjs.map +0 -1
- package/dist/compose-CVAoA04l.cjs.map +0 -1
- package/dist/compose-ChUQHKG3.cjs.map +0 -1
- package/dist/compose-CkvPmijw.mjs.map +0 -1
- package/dist/stack-DwQ62dKK.mjs.map +0 -1
- package/dist/stack-UcV-V6Qk.cjs.map +0 -1
- package/dist/workspace-BbfBFtjn.mjs.map +0 -1
- package/dist/workspace-Dkm3HL9e.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
|
-
import { A as eventsBackendFor, B as toEmbeddableSecrets, Ct as storeHostingerToken, G as FileSecretsStore, J as getKeyPath, P as secretsStoreFor, Q as projectKey, R as maskPassword, St as storeGoDaddyToken, V as withCustomSecret, bt as removeGoDaddyCredentials, ct as CommandFailed, gt as getDokployToken, ht as getDokployRegistryId, j as providerOf, k as cacheBackendFor, mt as getDokployCredentials, pt as getCredentialsPath, tt as deployIdentity, ut as DEFAULT_TIMEOUT_MS, vt as readCredentials, xt as storeDokployCredentials, yt as removeDokployCredentials } from "./credentials-
|
|
5
|
-
import { c as edgeRef, d as dockerHost, h as projectNetwork, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as dockerCompose, o as stackOverrideFile, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-
|
|
6
|
-
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-
|
|
7
|
-
import { A as BACKUPS_URL_KEY, E as parseDigests, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as pinnedRef, R as stageBackups, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, j as RUNNER_PATH, k as BACKUPS_SERVICE, v as EDGE_PROJECT } from "./stack-
|
|
4
|
+
import { A as eventsBackendFor, B as toEmbeddableSecrets, Ct as storeHostingerToken, G as FileSecretsStore, J as getKeyPath, P as secretsStoreFor, Q as projectKey, R as maskPassword, St as storeGoDaddyToken, V as withCustomSecret, bt as removeGoDaddyCredentials, ct as CommandFailed, gt as getDokployToken, ht as getDokployRegistryId, j as providerOf, k as cacheBackendFor, mt as getDokployCredentials, pt as getCredentialsPath, tt as deployIdentity, ut as DEFAULT_TIMEOUT_MS, vt as readCredentials, xt as storeDokployCredentials, yt as removeDokployCredentials } from "./credentials-B5Oe4fLE.mjs";
|
|
5
|
+
import { c as edgeRef, d as dockerHost, h as projectNetwork, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as dockerCompose, o as stackOverrideFile, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-DxmEMeTu.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-CZGJdcTs.mjs";
|
|
7
|
+
import { A as BACKUPS_URL_KEY, E as parseDigests, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as pinnedRef, R as stageBackups, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, j as RUNNER_PATH, k as BACKUPS_SERVICE, v as EDGE_PROJECT } from "./stack-BeSbt_7k.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { G as LOCAL_LOGS_EMAIL, R as describeServices, U as primaryPortKey, V as portsOf, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as fakeKey } from "./compose-
|
|
10
|
-
import {
|
|
9
|
+
import { G as LOCAL_LOGS_EMAIL, R as describeServices, U as primaryPortKey, V as portsOf, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as fakeKey } from "./compose-7p0-3ogo.mjs";
|
|
10
|
+
import { B as imageBuildCredentials, G as processorUnits, K as workerUnits, U as isUnder, V as isImageBuild, _ as pgClient, b as localAuthorityPaths, c as constructGlobs, et as postgresDatabaseNames, ft as scopeTelemetryEnv, ht as telemetryOf, l as derivedContainers, mt as surfaceClientTraced, nt as quoteIdentifier, o as FAKE_ENV, ot as stageEnv$1, p as forgetState, s as backendsOf$1, st as TELEMETRY_CONTAINER, u as reconcileWorkspace, ut as appTelemetry, v as ensureLocalAuthority } from "./apps-DWALM-8s.mjs";
|
|
11
11
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-CzPrixYu.mjs";
|
|
12
|
-
import { a as NotABackendApp, d as loadConfig, g as appKey, h as parseModuleConfig, m as loadWorkspaceSettings, o as NotInAnApp, p as loadWorkspaceConfig, r as ConfigNotFound, u as loadAppConfig, v as protectedSubdomains, y as wildcardSite } from "./config-
|
|
12
|
+
import { a as NotABackendApp, d as loadConfig, g as appKey, h as parseModuleConfig, m as loadWorkspaceSettings, o as NotInAnApp, p as loadWorkspaceConfig, r as ConfigNotFound, u as loadAppConfig, v as protectedSubdomains, y as wildcardSite } from "./config-B-wza0Xk.mjs";
|
|
13
13
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
14
14
|
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-CusLH-9S.mjs";
|
|
15
15
|
import { i as discover, r as consumedBy, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-DbDrCQ8h.mjs";
|
|
16
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
17
|
-
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-
|
|
18
|
-
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
16
|
+
import { d as assertDevServicesFlag } from "./notes-z5OOMqm4.mjs";
|
|
17
|
+
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-Ch5aPQ04.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-BwX28_Kl.mjs";
|
|
19
19
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
20
20
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
21
21
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-uxLBq3e3.mjs";
|
|
22
22
|
import { n as withHandlers, t as manifestModule } from "./emit-Bj6XSivk.mjs";
|
|
23
|
-
import { t as LocalSandbox } from "./local-
|
|
24
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
25
|
-
import { t as deploy$1 } from "./deploy-
|
|
23
|
+
import { t as LocalSandbox } from "./local-CdpBgn3d.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-BNcLP8MO.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-6DDEG4Ai.mjs";
|
|
26
26
|
import { a as dnsResources, l as describeActor } from "./seeds-BCC8vAXR.mjs";
|
|
27
27
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-mz9QZTYh.mjs";
|
|
28
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
28
|
+
import { t as LocalStateStore } from "./LocalStateStore-Fa54CpLw.mjs";
|
|
29
29
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
30
30
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-g25dcGzK.mjs";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
@@ -55,7 +55,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
55
55
|
import crypto from "crypto";
|
|
56
56
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
57
57
|
//#region package.json
|
|
58
|
-
var version = "10.0.0-alpha.
|
|
58
|
+
var version = "10.0.0-alpha.146";
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/prompt.ts
|
|
61
61
|
/**
|
|
@@ -138,7 +138,7 @@ const logger$8 = console;
|
|
|
138
138
|
* Validate Dokploy token by making a test API call
|
|
139
139
|
*/
|
|
140
140
|
async function validateDokployToken(endpoint, token) {
|
|
141
|
-
const { DokployApi } = await import("./sniffer-
|
|
141
|
+
const { DokployApi } = await import("./sniffer-BNcLP8MO.mjs").then((n) => n.c);
|
|
142
142
|
return new DokployApi({
|
|
143
143
|
baseUrl: endpoint,
|
|
144
144
|
token
|
|
@@ -770,10 +770,12 @@ function describeLogins(logins) {
|
|
|
770
770
|
//#endregion
|
|
771
771
|
//#region src/trust/index.ts
|
|
772
772
|
/**
|
|
773
|
-
* Installing
|
|
773
|
+
* Installing gkm's local certificate authority (`./authority.ts`) — the root
|
|
774
|
+
* every local edge's certificate is issued from — into the OS trust store.
|
|
774
775
|
*
|
|
775
776
|
* `NODE_EXTRA_CA_CERTS` covers everything gkm starts — the dev server, the test
|
|
776
|
-
* suite, anything under `gkm exec
|
|
777
|
+
* suite, anything under `gkm exec`, a local stack's containers — because gkm
|
|
778
|
+
* injects it. A browser
|
|
777
779
|
* reads none of that: it asks the operating system, so until the root is in the
|
|
778
780
|
* system store a local `https://` address is "not secure", which is true and
|
|
779
781
|
* unhelpful.
|
|
@@ -825,15 +827,14 @@ function installation(platform, certificate) {
|
|
|
825
827
|
throw new UnsupportedPlatform(platform, certificate);
|
|
826
828
|
}
|
|
827
829
|
/**
|
|
828
|
-
* Trust
|
|
830
|
+
* Trust gkm's local certificate authority, making it first if this machine
|
|
831
|
+
* has none — so it works before any edge has started, in any directory.
|
|
829
832
|
*
|
|
830
833
|
* Idempotent in effect: installing a root that is already trusted replaces the
|
|
831
834
|
* same entry, so running it twice is not an error.
|
|
832
835
|
*/
|
|
833
836
|
async function trustCommand(options = {}) {
|
|
834
|
-
const {
|
|
835
|
-
const certificate = join(workspace.root, LOCAL_CA_PATH);
|
|
836
|
-
if (!existsSync(certificate)) throw new NoLocalAuthority(certificate);
|
|
837
|
+
const { certFile: certificate } = await ensureLocalAuthority(options.authority ?? localAuthorityPaths());
|
|
837
838
|
const { describe, asks, steps } = installation(process.platform, certificate);
|
|
838
839
|
logger$7.log(`\n🔐 Trusting the local authority in ${describe}`);
|
|
839
840
|
logger$7.log(` ${certificate}\n`);
|
|
@@ -867,7 +868,7 @@ async function ensureTrusted(root, url, options = {}) {
|
|
|
867
868
|
const { install } = await prompts({
|
|
868
869
|
type: "confirm",
|
|
869
870
|
name: "install",
|
|
870
|
-
message: "Trust
|
|
871
|
+
message: "Trust gkm's local certificate authority, so a browser accepts its https addresses? (asks for your password)",
|
|
871
872
|
initial: false
|
|
872
873
|
});
|
|
873
874
|
if (!install) {
|
|
@@ -921,15 +922,6 @@ async function isTrusted(url) {
|
|
|
921
922
|
return false;
|
|
922
923
|
}
|
|
923
924
|
}
|
|
924
|
-
/** The edge has not run, so there is no authority to trust yet. */
|
|
925
|
-
var NoLocalAuthority = class extends GkmError {
|
|
926
|
-
path;
|
|
927
|
-
constructor(path) {
|
|
928
|
-
super(`No local certificate authority at ${path}. It is generated the first time the edge starts, so run "gkm setup" (or "gkm dev") once — and if this project declares no file server, nothing needs one.`);
|
|
929
|
-
this.path = path;
|
|
930
|
-
this.name = "NoLocalAuthority";
|
|
931
|
-
}
|
|
932
|
-
};
|
|
933
925
|
/** A platform with no trust store this knows how to write to. */
|
|
934
926
|
var UnsupportedPlatform = class extends GkmError {
|
|
935
927
|
platform;
|
|
@@ -2206,7 +2198,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2206
2198
|
const cwd = options.cwd ?? process.cwd();
|
|
2207
2199
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2208
2200
|
if (options.stage && !isImageBuild()) {
|
|
2209
|
-
const { execOnStage } = await import("./stage-
|
|
2201
|
+
const { execOnStage } = await import("./stage-BblkSR2C.mjs").then((n) => n.n);
|
|
2210
2202
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2211
2203
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2212
2204
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2776,9 +2768,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2776
2768
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2777
2769
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2778
2770
|
if (options.migrate || options.seed) {
|
|
2779
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2771
|
+
const { prepareDevDatabases } = await import("./migrate-DhZfvCkJ.mjs");
|
|
2780
2772
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2781
|
-
} else await import("./migrate-
|
|
2773
|
+
} else await import("./migrate-DhZfvCkJ.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2782
2774
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2783
2775
|
});
|
|
2784
2776
|
const appUrls = {};
|
|
@@ -3884,7 +3876,7 @@ async function buildApp(input) {
|
|
|
3884
3876
|
...production,
|
|
3885
3877
|
...telemetry ? { telemetry } : {}
|
|
3886
3878
|
});
|
|
3887
|
-
const { bundleServer } = await import("./bundler-
|
|
3879
|
+
const { bundleServer } = await import("./bundler-Cb5ynXXS.mjs");
|
|
3888
3880
|
await bundleServer({
|
|
3889
3881
|
entryPoint,
|
|
3890
3882
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4129,7 +4121,7 @@ async function buildWorkers(input) {
|
|
|
4129
4121
|
});
|
|
4130
4122
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4131
4123
|
if (!input.bundle) continue;
|
|
4132
|
-
const { bundleServer } = await import("./bundler-
|
|
4124
|
+
const { bundleServer } = await import("./bundler-Cb5ynXXS.mjs");
|
|
4133
4125
|
const outfile = workerBundleName(worker.id);
|
|
4134
4126
|
await bundleServer({
|
|
4135
4127
|
entryPoint,
|
|
@@ -4171,7 +4163,7 @@ async function buildProcessors(input) {
|
|
|
4171
4163
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4172
4164
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4173
4165
|
if (!input.bundle) continue;
|
|
4174
|
-
const { bundleServer } = await import("./bundler-
|
|
4166
|
+
const { bundleServer } = await import("./bundler-Cb5ynXXS.mjs");
|
|
4175
4167
|
const outfile = processorBundleName(fileServerId);
|
|
4176
4168
|
await bundleServer({
|
|
4177
4169
|
entryPoint,
|
|
@@ -4254,7 +4246,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4254
4246
|
let masterKey;
|
|
4255
4247
|
if (context.production?.bundle && !skipBundle) {
|
|
4256
4248
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4257
|
-
const { bundleServer } = await import("./bundler-
|
|
4249
|
+
const { bundleServer } = await import("./bundler-Cb5ynXXS.mjs");
|
|
4258
4250
|
const allConstructs = [
|
|
4259
4251
|
...endpoints.map((e) => e.construct),
|
|
4260
4252
|
...functions.map((f) => f.construct),
|
|
@@ -6090,25 +6082,25 @@ function loadPackageJson() {
|
|
|
6090
6082
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6091
6083
|
*/
|
|
6092
6084
|
const GEEKMIDAS_VERSIONS = {
|
|
6093
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6104
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6105
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6106
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6107
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6108
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6109
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6110
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6111
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6085
|
+
"@geekmidas/audit": "~10.0.0-alpha.146",
|
|
6086
|
+
"@geekmidas/auth": "~10.0.0-alpha.146",
|
|
6087
|
+
"@geekmidas/cache": "~10.0.0-alpha.146",
|
|
6088
|
+
"@geekmidas/client": "~10.0.0-alpha.146",
|
|
6089
|
+
"@geekmidas/cloud": "~10.0.0-alpha.146",
|
|
6090
|
+
"@geekmidas/constructs": "~10.0.0-alpha.146",
|
|
6091
|
+
"@geekmidas/db": "~10.0.0-alpha.146",
|
|
6092
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.146",
|
|
6093
|
+
"@geekmidas/envkit": "~10.0.0-alpha.146",
|
|
6094
|
+
"@geekmidas/errors": "~10.0.0-alpha.146",
|
|
6095
|
+
"@geekmidas/events": "~10.0.0-alpha.146",
|
|
6096
|
+
"@geekmidas/logger": "~10.0.0-alpha.146",
|
|
6097
|
+
"@geekmidas/manifest": "~10.0.0-alpha.146",
|
|
6098
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.146",
|
|
6099
|
+
"@geekmidas/schema": "~10.0.0-alpha.146",
|
|
6100
|
+
"@geekmidas/services": "~10.0.0-alpha.146",
|
|
6101
|
+
"@geekmidas/storage": "~10.0.0-alpha.146",
|
|
6102
|
+
"@geekmidas/telescope": "~10.0.0-alpha.146",
|
|
6103
|
+
"@geekmidas/testkit": "~10.0.0-alpha.146",
|
|
6112
6104
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6113
6105
|
};
|
|
6114
6106
|
//#endregion
|
|
@@ -7301,7 +7293,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7301
7293
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7302
7294
|
* release the pinned commit is.
|
|
7303
7295
|
*/
|
|
7304
|
-
function stagesActionUses(commit = "
|
|
7296
|
+
function stagesActionUses(commit = "7498fa9a3d0b45b589a3cf42568a7b7b74321d89", version = cliVersion()) {
|
|
7305
7297
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7306
7298
|
}
|
|
7307
7299
|
//#endregion
|
|
@@ -16273,7 +16265,7 @@ function testDatabases(reconciled) {
|
|
|
16273
16265
|
* starts without the reference data the app needs.
|
|
16274
16266
|
*/
|
|
16275
16267
|
async function migrateTestStage(workspace, env) {
|
|
16276
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16268
|
+
const { migrateAndSeed } = await import("./migrate-DhZfvCkJ.mjs");
|
|
16277
16269
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16278
16270
|
const sources = {};
|
|
16279
16271
|
const manifest = await discover({
|
|
@@ -16619,7 +16611,7 @@ program.command("init").description("Scaffold a new project").argument("[name]",
|
|
|
16619
16611
|
exitWithError(error);
|
|
16620
16612
|
}
|
|
16621
16613
|
});
|
|
16622
|
-
program.command("trust").description("Trust
|
|
16614
|
+
program.command("trust").description("Trust gkm's local certificate authority, so a browser accepts local https").option("--dry-run", "Print the commands instead of running them").action(async (options) => {
|
|
16623
16615
|
try {
|
|
16624
16616
|
const globalOptions = program.opts();
|
|
16625
16617
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
@@ -16698,7 +16690,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16698
16690
|
try {
|
|
16699
16691
|
const globalOptions = program.opts();
|
|
16700
16692
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16701
|
-
const { easSync } = await import("./eas-
|
|
16693
|
+
const { easSync } = await import("./eas-D0B8H7hT.mjs");
|
|
16702
16694
|
await easSync(options);
|
|
16703
16695
|
} catch (error) {
|
|
16704
16696
|
exitWithError(error);
|
|
@@ -16708,7 +16700,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16708
16700
|
try {
|
|
16709
16701
|
const globalOptions = program.opts();
|
|
16710
16702
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16711
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16703
|
+
const { publish, PublishModeConflict } = await import("./publish-Bmc1Wfs3.mjs");
|
|
16712
16704
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16713
16705
|
const { build, update, ...rest } = options;
|
|
16714
16706
|
await publish({
|
|
@@ -16724,7 +16716,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16724
16716
|
try {
|
|
16725
16717
|
const globalOptions = program.opts();
|
|
16726
16718
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16727
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16719
|
+
const { deployGooglePlay } = await import("./googlePlay-Cy-MaYr2.mjs");
|
|
16728
16720
|
await deployGooglePlay(options);
|
|
16729
16721
|
} catch (error) {
|
|
16730
16722
|
exitWithError(error);
|
|
@@ -16746,7 +16738,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16746
16738
|
try {
|
|
16747
16739
|
const globalOptions = program.opts();
|
|
16748
16740
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16749
|
-
const { migrateCommand } = await import("./migrate-
|
|
16741
|
+
const { migrateCommand } = await import("./migrate-DhZfvCkJ.mjs");
|
|
16750
16742
|
await migrateCommand({
|
|
16751
16743
|
...options,
|
|
16752
16744
|
...construct ? { construct } : {}
|
|
@@ -16759,7 +16751,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16759
16751
|
try {
|
|
16760
16752
|
const globalOptions = program.opts();
|
|
16761
16753
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16762
|
-
const { seedCommand } = await import("./migrate-
|
|
16754
|
+
const { seedCommand } = await import("./migrate-DhZfvCkJ.mjs");
|
|
16763
16755
|
await seedCommand({
|
|
16764
16756
|
...options,
|
|
16765
16757
|
...construct ? { construct } : {}
|
|
@@ -16772,7 +16764,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16772
16764
|
try {
|
|
16773
16765
|
const globalOptions = program.opts();
|
|
16774
16766
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16775
|
-
const { migrationCommand } = await import("./migrate-
|
|
16767
|
+
const { migrationCommand } = await import("./migrate-DhZfvCkJ.mjs");
|
|
16776
16768
|
await migrationCommand({
|
|
16777
16769
|
construct,
|
|
16778
16770
|
...name ? { name } : {}
|
|
@@ -16872,7 +16864,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16872
16864
|
try {
|
|
16873
16865
|
const globalOptions = program.opts();
|
|
16874
16866
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16875
|
-
const { secretsAddCommand } = await import("./add-
|
|
16867
|
+
const { secretsAddCommand } = await import("./add-D0-1UyFj.mjs");
|
|
16876
16868
|
await secretsAddCommand(options);
|
|
16877
16869
|
} catch (error) {
|
|
16878
16870
|
exitWithError(error);
|
|
@@ -16882,7 +16874,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16882
16874
|
try {
|
|
16883
16875
|
const globalOptions = program.opts();
|
|
16884
16876
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16885
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16877
|
+
const { encryptionRotateCommand } = await import("./encryption-C9auXcSV.mjs");
|
|
16886
16878
|
await encryptionRotateCommand(construct, options);
|
|
16887
16879
|
} catch (error) {
|
|
16888
16880
|
exitWithError(error);
|
|
@@ -16892,7 +16884,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16892
16884
|
try {
|
|
16893
16885
|
const globalOptions = program.opts();
|
|
16894
16886
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16895
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16887
|
+
const { encryptionRetireCommand } = await import("./encryption-C9auXcSV.mjs");
|
|
16896
16888
|
await encryptionRetireCommand(construct, key, options);
|
|
16897
16889
|
} catch (error) {
|
|
16898
16890
|
exitWithError(error);
|
|
@@ -16931,7 +16923,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16931
16923
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16932
16924
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16933
16925
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16934
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
16926
|
+
const { secretsStoreFor } = await import("./credentials-B5Oe4fLE.mjs").then((n) => n.I);
|
|
16935
16927
|
const { workspace } = await loadWorkspaceConfig();
|
|
16936
16928
|
const stage = options.stage ?? workspace.stages.local;
|
|
16937
16929
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16940,7 +16932,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16940
16932
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16941
16933
|
process.exit(1);
|
|
16942
16934
|
}
|
|
16943
|
-
const { derivedContainers } = await import("./apps-
|
|
16935
|
+
const { derivedContainers } = await import("./apps-DWALM-8s.mjs").then((n) => n.d);
|
|
16944
16936
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16945
16937
|
if (!result) {
|
|
16946
16938
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16957,14 +16949,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16957
16949
|
try {
|
|
16958
16950
|
const globalOptions = program.opts();
|
|
16959
16951
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16960
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16952
|
+
const { secretsMigrateCommand } = await import("./migrate-DVrXTq58.mjs");
|
|
16961
16953
|
await secretsMigrateCommand(options);
|
|
16962
16954
|
} catch (error) {
|
|
16963
16955
|
exitWithError(error);
|
|
16964
16956
|
}
|
|
16965
16957
|
});
|
|
16966
16958
|
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
|
|
16967
|
-
const { deployCli } = await import("./cli-
|
|
16959
|
+
const { deployCli } = await import("./cli-D_9WqN6C.mjs");
|
|
16968
16960
|
const globalOptions = program.opts();
|
|
16969
16961
|
const code = await deployCli({
|
|
16970
16962
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16984,8 +16976,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16984
16976
|
});
|
|
16985
16977
|
program.command("deploy:rollback").description("Put a stage's app back on its previous release (Dokploy): one app with --app, every app with --atomic").requiredOption("--stage <stage>", "A deployed stage").option("--app <app>", "The app to roll back").option("--atomic", "Roll back every app that has an earlier release").action(async (options) => {
|
|
16986
16978
|
try {
|
|
16987
|
-
const { rollbackStage } = await import("./rollback-
|
|
16988
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16979
|
+
const { rollbackStage } = await import("./rollback-DZq_dIbl.mjs").then((n) => n.a);
|
|
16980
|
+
const { terminalCredentials } = await import("./terminal-DDqusYW0.mjs");
|
|
16989
16981
|
const globalOptions = program.opts();
|
|
16990
16982
|
await rollbackStage({
|
|
16991
16983
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17003,7 +16995,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17003
16995
|
try {
|
|
17004
16996
|
const globalOptions = program.opts();
|
|
17005
16997
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17006
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16998
|
+
const { composeServerCommand } = await import("./serverSetup-qe5bdBhO.mjs");
|
|
17007
16999
|
await composeServerCommand(options);
|
|
17008
17000
|
} catch (error) {
|
|
17009
17001
|
exitWithError(error);
|
|
@@ -17028,7 +17020,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17028
17020
|
try {
|
|
17029
17021
|
const globalOptions = program.opts();
|
|
17030
17022
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17031
|
-
const { deployGithubCommand } = await import("./github-
|
|
17023
|
+
const { deployGithubCommand } = await import("./github-D24wTOe2.mjs");
|
|
17032
17024
|
await deployGithubCommand(options);
|
|
17033
17025
|
} catch (error) {
|
|
17034
17026
|
exitWithError(error);
|
|
@@ -17038,7 +17030,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17038
17030
|
try {
|
|
17039
17031
|
const globalOptions = program.opts();
|
|
17040
17032
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17041
|
-
const { stagesCommand } = await import("./stages-
|
|
17033
|
+
const { stagesCommand } = await import("./stages-DBsDvEbo.mjs");
|
|
17042
17034
|
await stagesCommand(options);
|
|
17043
17035
|
} catch (error) {
|
|
17044
17036
|
exitWithError(error);
|