@geekmidas/cli 10.0.0-alpha.157 → 10.0.0-alpha.159
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-CusLH-9S.mjs → EndpointGenerator-B5BKAoLz.mjs} +4 -2
- package/dist/EndpointGenerator-B5BKAoLz.mjs.map +1 -0
- package/dist/{EndpointGenerator-DyLMYClE.cjs → EndpointGenerator-DxrRqfJ3.cjs} +4 -2
- package/dist/EndpointGenerator-DxrRqfJ3.cjs.map +1 -0
- package/dist/{GoDaddyProvider-CRDZ574t.cjs → GoDaddyProvider-CKDquvxI.cjs} +2 -2
- package/dist/{GoDaddyProvider-CRDZ574t.cjs.map → GoDaddyProvider-CKDquvxI.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-DplVl6PV.mjs → GoDaddyProvider-DwyQXxO9.mjs} +2 -2
- package/dist/{GoDaddyProvider-DplVl6PV.mjs.map → GoDaddyProvider-DwyQXxO9.mjs.map} +1 -1
- package/dist/{HostingerProvider-B4pWxtNL.mjs → HostingerProvider-BZIKJDKU.mjs} +2 -2
- package/dist/{HostingerProvider-B4pWxtNL.mjs.map → HostingerProvider-BZIKJDKU.mjs.map} +1 -1
- package/dist/{HostingerProvider-Car70UOZ.cjs → HostingerProvider-CRDllmxA.cjs} +2 -2
- package/dist/{HostingerProvider-Car70UOZ.cjs.map → HostingerProvider-CRDllmxA.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DLfjqri1.mjs → LegacyStateStore-BwnVnaHW.mjs} +2 -2
- package/dist/{LegacyStateStore-DLfjqri1.mjs.map → LegacyStateStore-BwnVnaHW.mjs.map} +1 -1
- package/dist/{LegacyStateStore--HvaCD_x.cjs → LegacyStateStore-CQ1J1rpx.cjs} +2 -2
- package/dist/{LegacyStateStore--HvaCD_x.cjs.map → LegacyStateStore-CQ1J1rpx.cjs.map} +1 -1
- package/dist/{LocalStateStore-Bck7bNAu.cjs → LocalStateStore-BvlLiIO_.cjs} +2 -2
- package/dist/{LocalStateStore-Bck7bNAu.cjs.map → LocalStateStore-BvlLiIO_.cjs.map} +1 -1
- package/dist/{LocalStateStore-BxvEMGIg.mjs → LocalStateStore-vA76-rrz.mjs} +2 -2
- package/dist/{LocalStateStore-BxvEMGIg.mjs.map → LocalStateStore-vA76-rrz.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-CI-tceXV.cjs → OpenApiTsGenerator-DOTLKBFf.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-CI-tceXV.cjs.map → OpenApiTsGenerator-DOTLKBFf.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-BTMuu1WS.mjs → OpenApiTsGenerator-Vaf0pI8u.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-BTMuu1WS.mjs.map → OpenApiTsGenerator-Vaf0pI8u.mjs.map} +1 -1
- package/dist/{S3StateStore-BFJ3KaNH.cjs → S3StateStore-BxeAk09j.cjs} +4 -4
- package/dist/{S3StateStore-BFJ3KaNH.cjs.map → S3StateStore-BxeAk09j.cjs.map} +1 -1
- package/dist/{S3StateStore-Ba9zrMWD.mjs → S3StateStore-DnJHHDPk.mjs} +4 -4
- package/dist/{S3StateStore-Ba9zrMWD.mjs.map → S3StateStore-DnJHHDPk.mjs.map} +1 -1
- package/dist/{SSMStateStore-C0xhLKD2.mjs → SSMStateStore-DXzyEcIH.mjs} +2 -2
- package/dist/{SSMStateStore-C0xhLKD2.mjs.map → SSMStateStore-DXzyEcIH.mjs.map} +1 -1
- package/dist/{SSMStateStore-a5oX3zgi.cjs → SSMStateStore-DzXyEoBx.cjs} +2 -2
- package/dist/{SSMStateStore-a5oX3zgi.cjs.map → SSMStateStore-DzXyEoBx.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-CzPrixYu.mjs → SubscriberGenerator-BybB6uez.mjs} +2 -2
- package/dist/{SubscriberGenerator-CzPrixYu.mjs.map → SubscriberGenerator-BybB6uez.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-BNJyPmXJ.cjs → SubscriberGenerator-mZpSuSU7.cjs} +2 -2
- package/dist/{SubscriberGenerator-BNJyPmXJ.cjs.map → SubscriberGenerator-mZpSuSU7.cjs.map} +1 -1
- package/dist/{add-5QcLsP3H.cjs → add-C_adddD3.cjs} +4 -4
- package/dist/{add-5QcLsP3H.cjs.map → add-C_adddD3.cjs.map} +1 -1
- package/dist/{add-CO16e9iI.mjs → add-WRwjtnks.mjs} +4 -4
- package/dist/{add-CO16e9iI.mjs.map → add-WRwjtnks.mjs.map} +1 -1
- package/dist/{apps-BVcA1Hy7.mjs → apps-BHiqiigd.mjs} +5 -5
- package/dist/{apps-BVcA1Hy7.mjs.map → apps-BHiqiigd.mjs.map} +1 -1
- package/dist/{apps-BRzZ5pIa.cjs → apps-Cri_aQvD.cjs} +5 -5
- package/dist/{apps-BRzZ5pIa.cjs.map → apps-Cri_aQvD.cjs.map} +1 -1
- package/dist/{bundler-CrNow5yF.mjs → bundler-Bh5MoDSl.mjs} +6 -6
- package/dist/{bundler-CrNow5yF.mjs.map → bundler-Bh5MoDSl.mjs.map} +1 -1
- package/dist/{bundler-Bo4JMtRH.cjs → bundler-CP0Nw6_V.cjs} +6 -6
- package/dist/{bundler-Bo4JMtRH.cjs.map → bundler-CP0Nw6_V.cjs.map} +1 -1
- package/dist/{cli-CEbLgLW5.cjs → cli-D8hr5lr4.cjs} +4 -4
- package/dist/{cli-CEbLgLW5.cjs.map → cli-D8hr5lr4.cjs.map} +1 -1
- package/dist/{cli-BsiiOIVE.mjs → cli-LI1NhjE5.mjs} +4 -4
- package/dist/{cli-BsiiOIVE.mjs.map → cli-LI1NhjE5.mjs.map} +1 -1
- package/dist/{compose-DZroNh2I.cjs → compose-CQPisITP.cjs} +4 -4
- package/dist/{compose-DZroNh2I.cjs.map → compose-CQPisITP.cjs.map} +1 -1
- package/dist/{compose-BSLOkoX8.mjs → compose-CS6WIN-0.mjs} +4 -4
- package/dist/{compose-BSLOkoX8.mjs.map → compose-CS6WIN-0.mjs.map} +1 -1
- package/dist/{compose-CtL6-1af.mjs → compose-D1rST6pU.mjs} +7 -7
- package/dist/{compose-CtL6-1af.mjs.map → compose-D1rST6pU.mjs.map} +1 -1
- package/dist/{compose-RtLoPN86.cjs → compose-DWgccYYU.cjs} +7 -7
- package/dist/{compose-RtLoPN86.cjs.map → compose-DWgccYYU.cjs.map} +1 -1
- package/dist/{credentials-C69J5G91.mjs → credentials-CKCKknMs.mjs} +5 -5
- package/dist/{credentials-C69J5G91.mjs.map → credentials-CKCKknMs.mjs.map} +1 -1
- package/dist/{credentials-D4XclzQZ.cjs → credentials-i6NycDXd.cjs} +5 -5
- package/dist/{credentials-D4XclzQZ.cjs.map → credentials-i6NycDXd.cjs.map} +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-uxEAC6Vv.cjs → deploy-DGjYbiqq.cjs} +12 -12
- package/dist/{deploy-uxEAC6Vv.cjs.map → deploy-DGjYbiqq.cjs.map} +1 -1
- package/dist/{deploy-RD6J-w2h.mjs → deploy-EopBQqnJ.mjs} +12 -12
- package/dist/{deploy-RD6J-w2h.mjs.map → deploy-EopBQqnJ.mjs.map} +1 -1
- package/dist/{docker-C2WagkrW.cjs → docker-2PN6JmUz.cjs} +6 -6
- package/dist/{docker-C2WagkrW.cjs.map → docker-2PN6JmUz.cjs.map} +1 -1
- package/dist/{docker-Db0TnF9j.mjs → docker-Br4lwU8K.mjs} +6 -6
- package/dist/{docker-Db0TnF9j.mjs.map → docker-Br4lwU8K.mjs.map} +1 -1
- package/dist/{dokploy-Ds1AvRQa.mjs → dokploy-Bq06k6hU.mjs} +2 -2
- package/dist/{dokploy-Ds1AvRQa.mjs.map → dokploy-Bq06k6hU.mjs.map} +1 -1
- package/dist/{dokploy-Ds-dwYjG.cjs → dokploy-DP07onK9.cjs} +2 -2
- package/dist/{dokploy-Ds-dwYjG.cjs.map → dokploy-DP07onK9.cjs.map} +1 -1
- package/dist/{eas-C_96kJG8.mjs → eas-e1TJSqsO.mjs} +2 -2
- package/dist/{eas-C_96kJG8.mjs.map → eas-e1TJSqsO.mjs.map} +1 -1
- package/dist/{eas-BgC-aXgY.cjs → eas-hSOnAjM1.cjs} +2 -2
- package/dist/{eas-BgC-aXgY.cjs.map → eas-hSOnAjM1.cjs.map} +1 -1
- package/dist/{encryption-KErhFgTQ.cjs → encryption-5g0QMUXJ.cjs} +2 -2
- package/dist/{encryption-KErhFgTQ.cjs.map → encryption-5g0QMUXJ.cjs.map} +1 -1
- package/dist/{encryption-DfoPAQ06.mjs → encryption-Bkiis13Q.mjs} +2 -2
- package/dist/{encryption-DfoPAQ06.mjs.map → encryption-Bkiis13Q.mjs.map} +1 -1
- package/dist/{engine-eaVZpdsY.mjs → engine-DB08e1EB.mjs} +8 -8
- package/dist/{engine-eaVZpdsY.mjs.map → engine-DB08e1EB.mjs.map} +1 -1
- package/dist/{engine-CgkVqYY-.cjs → engine-g86XmSu-.cjs} +8 -8
- package/dist/{engine-CgkVqYY-.cjs.map → engine-g86XmSu-.cjs.map} +1 -1
- package/dist/{github-DWgux2Mc.mjs → github-BuDZaqTQ.mjs} +6 -6
- package/dist/{github-DWgux2Mc.mjs.map → github-BuDZaqTQ.mjs.map} +1 -1
- package/dist/{github-hZ_qJn2O.cjs → github-Dx_XSH19.cjs} +6 -6
- package/dist/{github-hZ_qJn2O.cjs.map → github-Dx_XSH19.cjs.map} +1 -1
- package/dist/{googlePlay-BneaYZYU.cjs → googlePlay-BY9o6t23.cjs} +4 -4
- package/dist/{googlePlay-BneaYZYU.cjs.map → googlePlay-BY9o6t23.cjs.map} +1 -1
- package/dist/{googlePlay-CcDoKDlM.mjs → googlePlay-ewWbA1n2.mjs} +4 -4
- package/dist/{googlePlay-CcDoKDlM.mjs.map → googlePlay-ewWbA1n2.mjs.map} +1 -1
- package/dist/index.cjs +63 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +63 -63
- package/dist/index.mjs.map +1 -1
- package/dist/{local-DX5F9mI1.cjs → local-B_-OnfQ3.cjs} +2 -2
- package/dist/{local-DX5F9mI1.cjs.map → local-B_-OnfQ3.cjs.map} +1 -1
- package/dist/{local-CSkxxmZ5.mjs → local-DdqiukDq.mjs} +2 -2
- package/dist/{local-CSkxxmZ5.mjs.map → local-DdqiukDq.mjs.map} +1 -1
- package/dist/{migrate-T0b6IPf-.cjs → migrate-39p-DRKn.cjs} +4 -4
- package/dist/{migrate-T0b6IPf-.cjs.map → migrate-39p-DRKn.cjs.map} +1 -1
- package/dist/{migrate-Y_QjN95a.mjs → migrate-77UvdtrA.mjs} +4 -4
- package/dist/{migrate-Y_QjN95a.mjs.map → migrate-77UvdtrA.mjs.map} +1 -1
- package/dist/{migrate-Hi5BARdP.mjs → migrate-BhvmnG65.mjs} +2 -2
- package/dist/{migrate-Hi5BARdP.mjs.map → migrate-BhvmnG65.mjs.map} +1 -1
- package/dist/{migrate-BA2AgnvW.cjs → migrate-Dwdxal87.cjs} +2 -2
- package/dist/{migrate-BA2AgnvW.cjs.map → migrate-Dwdxal87.cjs.map} +1 -1
- package/dist/{notes-CjFVW8bn.cjs → notes-BI7Dnyrp.cjs} +2 -2
- package/dist/{notes-CjFVW8bn.cjs.map → notes-BI7Dnyrp.cjs.map} +1 -1
- package/dist/{notes-C5LmC9-z.mjs → notes-DdNcS5q5.mjs} +2 -2
- package/dist/{notes-C5LmC9-z.mjs.map → notes-DdNcS5q5.mjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-BokyGleo.cjs → projectBucket-BxLoiySR.cjs} +2 -2
- package/dist/{projectBucket-BokyGleo.cjs.map → projectBucket-BxLoiySR.cjs.map} +1 -1
- package/dist/{projectBucket-CJC-C3cD.mjs → projectBucket-q4M_7rYh.mjs} +2 -2
- package/dist/{projectBucket-CJC-C3cD.mjs.map → projectBucket-q4M_7rYh.mjs.map} +1 -1
- package/dist/{publish-CxQyLRhO.mjs → publish-Bfr2okmd.mjs} +2 -2
- package/dist/{publish-CxQyLRhO.mjs.map → publish-Bfr2okmd.mjs.map} +1 -1
- package/dist/{publish-CKuhnFwH.cjs → publish-DqnMTMq0.cjs} +2 -2
- package/dist/{publish-CKuhnFwH.cjs.map → publish-DqnMTMq0.cjs.map} +1 -1
- package/dist/{ready-Dkw_Xt4P.mjs → ready-BjFMu_1J.mjs} +4 -4
- package/dist/{ready-Dkw_Xt4P.mjs.map → ready-BjFMu_1J.mjs.map} +1 -1
- package/dist/{ready-DV-_oK_O.cjs → ready-eVMJIcWn.cjs} +4 -4
- package/dist/{ready-DV-_oK_O.cjs.map → ready-eVMJIcWn.cjs.map} +1 -1
- package/dist/{resolve-CenYGcnj.mjs → resolve-DQ3QsMGK.mjs} +4 -4
- package/dist/{resolve-CenYGcnj.mjs.map → resolve-DQ3QsMGK.mjs.map} +1 -1
- package/dist/{resolve-mS7fO8YL.cjs → resolve-Ysdv1y9t.cjs} +4 -4
- package/dist/{resolve-mS7fO8YL.cjs.map → resolve-Ysdv1y9t.cjs.map} +1 -1
- package/dist/{rollback-DfJ0Rpkb.mjs → rollback-CbpKGQGn.mjs} +5 -5
- package/dist/{rollback-DfJ0Rpkb.mjs.map → rollback-CbpKGQGn.mjs.map} +1 -1
- package/dist/{rollback-D5rjIQwJ.cjs → rollback-D8-jEiQa.cjs} +5 -5
- package/dist/{rollback-D5rjIQwJ.cjs.map → rollback-D8-jEiQa.cjs.map} +1 -1
- package/dist/{s3-jtCO7o69.mjs → s3-Di_aCl0q.mjs} +2 -2
- package/dist/{s3-jtCO7o69.mjs.map → s3-Di_aCl0q.mjs.map} +1 -1
- package/dist/{s3-AIH2NmEI.cjs → s3-DtLAvo4D.cjs} +2 -2
- package/dist/{s3-AIH2NmEI.cjs.map → s3-DtLAvo4D.cjs.map} +1 -1
- package/dist/{serverSetup-6bczKo49.mjs → serverSetup-CrCEhS0g.mjs} +42 -9
- package/dist/serverSetup-CrCEhS0g.mjs.map +1 -0
- package/dist/{serverSetup-CVeRKNXR.cjs → serverSetup-WWrNW3Md.cjs} +42 -9
- package/dist/serverSetup-WWrNW3Md.cjs.map +1 -0
- package/dist/{sniffer-CzjFwmlR.mjs → sniffer-CEw1spoV.mjs} +6 -6
- package/dist/{sniffer-CzjFwmlR.mjs.map → sniffer-CEw1spoV.mjs.map} +1 -1
- package/dist/{sniffer-3Wix1Bez.cjs → sniffer-CvsdmfuV.cjs} +6 -6
- package/dist/{sniffer-3Wix1Bez.cjs.map → sniffer-CvsdmfuV.cjs.map} +1 -1
- package/dist/{snsSubscriptions-ByM_a0-4.mjs → snsSubscriptions-CB-WnmUi.mjs} +2 -2
- package/dist/{snsSubscriptions-ByM_a0-4.mjs.map → snsSubscriptions-CB-WnmUi.mjs.map} +1 -1
- package/dist/{snsSubscriptions-CDFlapU9.cjs → snsSubscriptions-G-FNGLvt.cjs} +2 -2
- package/dist/{snsSubscriptions-CDFlapU9.cjs.map → snsSubscriptions-G-FNGLvt.cjs.map} +1 -1
- package/dist/{sst-DykouxeI.cjs → sst-B3DBmq5F.cjs} +4 -4
- package/dist/{sst-DykouxeI.cjs.map → sst-B3DBmq5F.cjs.map} +1 -1
- package/dist/{sst-Bsf-6bw5.mjs → sst-CjiSTuNU.mjs} +4 -4
- package/dist/{sst-Bsf-6bw5.mjs.map → sst-CjiSTuNU.mjs.map} +1 -1
- package/dist/{stack-DbM4Z8XX.mjs → stack--9_32IOM.mjs} +7 -7
- package/dist/{stack-DbM4Z8XX.mjs.map → stack--9_32IOM.mjs.map} +1 -1
- package/dist/{stack-wBYoBpNL.cjs → stack-B4PwA10G.cjs} +7 -7
- package/dist/{stack-wBYoBpNL.cjs.map → stack-B4PwA10G.cjs.map} +1 -1
- package/dist/{stage-BAeoWlaT.cjs → stage-Dk52SAc3.cjs} +5 -5
- package/dist/{stage-BAeoWlaT.cjs.map → stage-Dk52SAc3.cjs.map} +1 -1
- package/dist/{stage-C9OePz1T.mjs → stage-sirtVzDQ.mjs} +5 -5
- package/dist/{stage-C9OePz1T.mjs.map → stage-sirtVzDQ.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-vsCCECku.cjs → terminal-BBjilWid.cjs} +2 -2
- package/dist/{terminal-vsCCECku.cjs.map → terminal-BBjilWid.cjs.map} +1 -1
- package/dist/{terminal-cYD0PvkL.mjs → terminal-CEORTJyM.mjs} +2 -2
- package/dist/{terminal-cYD0PvkL.mjs.map → terminal-CEORTJyM.mjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/package.json +15 -15
- package/dist/EndpointGenerator-CusLH-9S.mjs.map +0 -1
- package/dist/EndpointGenerator-DyLMYClE.cjs.map +0 -1
- package/dist/serverSetup-6bczKo49.mjs.map +0 -1
- package/dist/serverSetup-CVeRKNXR.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
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 { B as FileSecretsStore, E as providerOf, F as toEmbeddableSecrets, I as withCustomSecret, N as maskPassword, T as eventsBackendFor, U as getKeyPath, X as deployIdentity, _t as storeGoDaddyToken, at as DEFAULT_TIMEOUT_MS, ct as getCredentialsPath, dt as getDokployToken, gt as storeDokployCredentials, ht as removeGoDaddyCredentials, k as secretsStoreFor, lt as getDokployCredentials, mt as removeDokployCredentials, pt as readCredentials, q as projectKey, rt as CommandFailed, ut as getDokployRegistryId, vt as storeHostingerToken, w as cacheBackendFor } from "./credentials-
|
|
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-
|
|
4
|
+
import { B as FileSecretsStore, E as providerOf, F as toEmbeddableSecrets, I as withCustomSecret, N as maskPassword, T as eventsBackendFor, U as getKeyPath, X as deployIdentity, _t as storeGoDaddyToken, at as DEFAULT_TIMEOUT_MS, ct as getCredentialsPath, dt as getDokployToken, gt as storeDokployCredentials, ht as removeGoDaddyCredentials, k as secretsStoreFor, lt as getDokployCredentials, mt as removeDokployCredentials, pt as readCredentials, q as projectKey, rt as CommandFailed, ut as getDokployRegistryId, vt as storeHostingerToken, w as cacheBackendFor } from "./credentials-CKCKknMs.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-D1rST6pU.mjs";
|
|
6
6
|
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-DFGsrjGD.mjs";
|
|
7
|
-
import { $ as imageBuildCredentials, At as TELEMETRY_CONTAINER, Ct as postgresDatabaseNames, Ft as scopeTelemetryEnv, Jt as runTime, Kt as backupFile, Lt as surfaceClientTraced, Nt as appTelemetry, Rt as telemetryOf, S as ensureLocalAuthority, Tt as quoteIdentifier, Wt as backupDatabases, Yt as stageBackups, _ as forgetState, ct as processorUnits, d as backendsOf$1, dt as BACKUPS_URL_KEY, et as isImageBuild, f as constructGlobs, ft as RUNNER_PATH, kt as stageEnv$1, lt as workerUnits, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as isUnder, p as derivedContainers, qt as backupsPrefix, u as FAKE_ENV, ut as BACKUPS_SERVICE, w as localAuthorityPaths, x as pgClient } from "./apps-
|
|
7
|
+
import { $ as imageBuildCredentials, At as TELEMETRY_CONTAINER, Ct as postgresDatabaseNames, Ft as scopeTelemetryEnv, Jt as runTime, Kt as backupFile, Lt as surfaceClientTraced, Nt as appTelemetry, Rt as telemetryOf, S as ensureLocalAuthority, Tt as quoteIdentifier, Wt as backupDatabases, Yt as stageBackups, _ as forgetState, ct as processorUnits, d as backendsOf$1, dt as BACKUPS_URL_KEY, et as isImageBuild, f as constructGlobs, ft as RUNNER_PATH, kt as stageEnv$1, lt as workerUnits, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as isUnder, p as derivedContainers, qt as backupsPrefix, u as FAKE_ENV, ut as BACKUPS_SERVICE, w as localAuthorityPaths, x as pgClient } from "./apps-BHiqiigd.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { B as fakeKey, H as portsOf, K as LOCAL_LOGS_EMAIL, W as primaryPortKey, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as describeServices } from "./compose-
|
|
10
|
-
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
9
|
+
import { B as fakeKey, H as portsOf, K as LOCAL_LOGS_EMAIL, W as primaryPortKey, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as describeServices } from "./compose-CS6WIN-0.mjs";
|
|
10
|
+
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-BybB6uez.mjs";
|
|
11
11
|
import { a as NotABackendApp, d as loadConfig, g as appKey, h as parseModuleConfig, m as loadWorkspaceSettings, o as NotInAnApp, p as loadWorkspaceConfig, r as ConfigNotFound, u as loadAppConfig, v as protectedSubdomains, y as wildcardSite } from "./config-BLrAd7Of.mjs";
|
|
12
12
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
13
|
-
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-
|
|
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-B5BKAoLz.mjs";
|
|
14
14
|
import { i as discover, r as consumedBy, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-DbDrCQ8h.mjs";
|
|
15
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
16
|
-
import { D as parseDigests, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, k as pinnedRef, v as EDGE_PROJECT } from "./stack
|
|
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-
|
|
15
|
+
import { d as assertDevServicesFlag } from "./notes-DdNcS5q5.mjs";
|
|
16
|
+
import { D as parseDigests, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, k as pinnedRef, v as EDGE_PROJECT } from "./stack--9_32IOM.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-Br4lwU8K.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-CB-WnmUi.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, o as publishesToApiGateway, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-wcDnzf7l.mjs";
|
|
22
22
|
import { n as withHandlers, t as manifestModule } from "./emit-C4KSXOeS.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-DdqiukDq.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-CEw1spoV.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-EopBQqnJ.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-vA76-rrz.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
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
30
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-BjFMu_1J.mjs";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
32
32
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
33
33
|
import { Command, Option } from "commander";
|
|
@@ -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.159";
|
|
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-CEw1spoV.mjs").then((n) => n.c);
|
|
142
142
|
return new DokployApi({
|
|
143
143
|
baseUrl: endpoint,
|
|
144
144
|
token
|
|
@@ -2198,7 +2198,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2198
2198
|
const cwd = options.cwd ?? process.cwd();
|
|
2199
2199
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2200
2200
|
if (options.stage && !isImageBuild()) {
|
|
2201
|
-
const { execOnStage } = await import("./stage-
|
|
2201
|
+
const { execOnStage } = await import("./stage-sirtVzDQ.mjs").then((n) => n.n);
|
|
2202
2202
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2203
2203
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2204
2204
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2773,9 +2773,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2773
2773
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2774
2774
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2775
2775
|
if (options.migrate || options.seed) {
|
|
2776
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2776
|
+
const { prepareDevDatabases } = await import("./migrate-77UvdtrA.mjs");
|
|
2777
2777
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2778
|
-
} else await import("./migrate-
|
|
2778
|
+
} else await import("./migrate-77UvdtrA.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2779
2779
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2780
2780
|
});
|
|
2781
2781
|
const appUrls = {};
|
|
@@ -3979,7 +3979,7 @@ async function buildApp(input) {
|
|
|
3979
3979
|
...telemetry ? { telemetry } : {},
|
|
3980
3980
|
trustedOriginsKey: provideKey(selfServing.id, "trustedOrigins")
|
|
3981
3981
|
});
|
|
3982
|
-
const { bundleServer } = await import("./bundler-
|
|
3982
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
3983
3983
|
await bundleServer({
|
|
3984
3984
|
entryPoint,
|
|
3985
3985
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4249,7 +4249,7 @@ async function buildWorkers(input) {
|
|
|
4249
4249
|
});
|
|
4250
4250
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4251
4251
|
if (!input.bundle) continue;
|
|
4252
|
-
const { bundleServer } = await import("./bundler-
|
|
4252
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4253
4253
|
const outfile = workerBundleName(worker.id);
|
|
4254
4254
|
await bundleServer({
|
|
4255
4255
|
entryPoint,
|
|
@@ -4291,7 +4291,7 @@ async function buildProcessors(input) {
|
|
|
4291
4291
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4292
4292
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4293
4293
|
if (!input.bundle) continue;
|
|
4294
|
-
const { bundleServer } = await import("./bundler-
|
|
4294
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4295
4295
|
const outfile = processorBundleName(fileServerId);
|
|
4296
4296
|
await bundleServer({
|
|
4297
4297
|
entryPoint,
|
|
@@ -4374,7 +4374,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4374
4374
|
let masterKey;
|
|
4375
4375
|
if (context.production?.bundle && !skipBundle) {
|
|
4376
4376
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4377
|
-
const { bundleServer } = await import("./bundler-
|
|
4377
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4378
4378
|
const allConstructs = [
|
|
4379
4379
|
...endpoints.map((e) => e.construct),
|
|
4380
4380
|
...functions.map((f) => f.construct),
|
|
@@ -6228,25 +6228,25 @@ function loadPackageJson() {
|
|
|
6228
6228
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6229
6229
|
*/
|
|
6230
6230
|
const GEEKMIDAS_VERSIONS = {
|
|
6231
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6232
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6233
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6234
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6235
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6236
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6237
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6238
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6239
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6240
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6241
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6242
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6243
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6244
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6245
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6246
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6247
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6248
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6249
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6231
|
+
"@geekmidas/audit": ">=10.0.0-alpha.159 <10.0.0",
|
|
6232
|
+
"@geekmidas/auth": ">=10.0.0-alpha.159 <10.0.0",
|
|
6233
|
+
"@geekmidas/cache": ">=10.0.0-alpha.159 <10.0.0",
|
|
6234
|
+
"@geekmidas/client": ">=10.0.0-alpha.159 <10.0.0",
|
|
6235
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.159 <10.0.0",
|
|
6236
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.159 <10.0.0",
|
|
6237
|
+
"@geekmidas/db": ">=10.0.0-alpha.159 <10.0.0",
|
|
6238
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.159 <10.0.0",
|
|
6239
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.159 <10.0.0",
|
|
6240
|
+
"@geekmidas/errors": ">=10.0.0-alpha.159 <10.0.0",
|
|
6241
|
+
"@geekmidas/events": ">=10.0.0-alpha.159 <10.0.0",
|
|
6242
|
+
"@geekmidas/logger": ">=10.0.0-alpha.159 <10.0.0",
|
|
6243
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.159 <10.0.0",
|
|
6244
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.159 <10.0.0",
|
|
6245
|
+
"@geekmidas/schema": ">=10.0.0-alpha.159 <10.0.0",
|
|
6246
|
+
"@geekmidas/services": ">=10.0.0-alpha.159 <10.0.0",
|
|
6247
|
+
"@geekmidas/storage": ">=10.0.0-alpha.159 <10.0.0",
|
|
6248
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.159 <10.0.0",
|
|
6249
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.159 <10.0.0",
|
|
6250
6250
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6251
6251
|
};
|
|
6252
6252
|
//#endregion
|
|
@@ -7439,7 +7439,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7439
7439
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7440
7440
|
* release the pinned commit is.
|
|
7441
7441
|
*/
|
|
7442
|
-
function stagesActionUses(commit = "
|
|
7442
|
+
function stagesActionUses(commit = "e39550a86710102d80a1f5abb43463ca601bf415", version = cliVersion()) {
|
|
7443
7443
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7444
7444
|
}
|
|
7445
7445
|
//#endregion
|
|
@@ -16411,7 +16411,7 @@ function testDatabases(reconciled) {
|
|
|
16411
16411
|
* starts without the reference data the app needs.
|
|
16412
16412
|
*/
|
|
16413
16413
|
async function migrateTestStage(workspace, env) {
|
|
16414
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16414
|
+
const { migrateAndSeed } = await import("./migrate-77UvdtrA.mjs");
|
|
16415
16415
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16416
16416
|
const sources = {};
|
|
16417
16417
|
const manifest = await discover({
|
|
@@ -16864,7 +16864,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16864
16864
|
try {
|
|
16865
16865
|
const globalOptions = program.opts();
|
|
16866
16866
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16867
|
-
const { easSync } = await import("./eas-
|
|
16867
|
+
const { easSync } = await import("./eas-e1TJSqsO.mjs");
|
|
16868
16868
|
await easSync(options);
|
|
16869
16869
|
} catch (error) {
|
|
16870
16870
|
exitWithError(error);
|
|
@@ -16874,7 +16874,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16874
16874
|
try {
|
|
16875
16875
|
const globalOptions = program.opts();
|
|
16876
16876
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16877
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16877
|
+
const { publish, PublishModeConflict } = await import("./publish-Bfr2okmd.mjs");
|
|
16878
16878
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16879
16879
|
const { build, update, ...rest } = options;
|
|
16880
16880
|
await publish({
|
|
@@ -16890,7 +16890,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16890
16890
|
try {
|
|
16891
16891
|
const globalOptions = program.opts();
|
|
16892
16892
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16893
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16893
|
+
const { deployGooglePlay } = await import("./googlePlay-ewWbA1n2.mjs");
|
|
16894
16894
|
await deployGooglePlay(options);
|
|
16895
16895
|
} catch (error) {
|
|
16896
16896
|
exitWithError(error);
|
|
@@ -16912,7 +16912,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16912
16912
|
try {
|
|
16913
16913
|
const globalOptions = program.opts();
|
|
16914
16914
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16915
|
-
const { migrateCommand } = await import("./migrate-
|
|
16915
|
+
const { migrateCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16916
16916
|
await migrateCommand({
|
|
16917
16917
|
...options,
|
|
16918
16918
|
...construct ? { construct } : {}
|
|
@@ -16925,7 +16925,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16925
16925
|
try {
|
|
16926
16926
|
const globalOptions = program.opts();
|
|
16927
16927
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16928
|
-
const { seedCommand } = await import("./migrate-
|
|
16928
|
+
const { seedCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16929
16929
|
await seedCommand({
|
|
16930
16930
|
...options,
|
|
16931
16931
|
...construct ? { construct } : {}
|
|
@@ -16938,7 +16938,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16938
16938
|
try {
|
|
16939
16939
|
const globalOptions = program.opts();
|
|
16940
16940
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16941
|
-
const { migrationCommand } = await import("./migrate-
|
|
16941
|
+
const { migrationCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16942
16942
|
await migrationCommand({
|
|
16943
16943
|
construct,
|
|
16944
16944
|
...name ? { name } : {}
|
|
@@ -17038,7 +17038,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17038
17038
|
try {
|
|
17039
17039
|
const globalOptions = program.opts();
|
|
17040
17040
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17041
|
-
const { secretsAddCommand } = await import("./add-
|
|
17041
|
+
const { secretsAddCommand } = await import("./add-WRwjtnks.mjs");
|
|
17042
17042
|
await secretsAddCommand(options);
|
|
17043
17043
|
} catch (error) {
|
|
17044
17044
|
exitWithError(error);
|
|
@@ -17048,7 +17048,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17048
17048
|
try {
|
|
17049
17049
|
const globalOptions = program.opts();
|
|
17050
17050
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17051
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17051
|
+
const { encryptionRotateCommand } = await import("./encryption-Bkiis13Q.mjs");
|
|
17052
17052
|
await encryptionRotateCommand(construct, options);
|
|
17053
17053
|
} catch (error) {
|
|
17054
17054
|
exitWithError(error);
|
|
@@ -17058,7 +17058,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17058
17058
|
try {
|
|
17059
17059
|
const globalOptions = program.opts();
|
|
17060
17060
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17061
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17061
|
+
const { encryptionRetireCommand } = await import("./encryption-Bkiis13Q.mjs");
|
|
17062
17062
|
await encryptionRetireCommand(construct, key, options);
|
|
17063
17063
|
} catch (error) {
|
|
17064
17064
|
exitWithError(error);
|
|
@@ -17097,7 +17097,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17097
17097
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17098
17098
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17099
17099
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17100
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
17100
|
+
const { secretsStoreFor } = await import("./credentials-CKCKknMs.mjs").then((n) => n.j);
|
|
17101
17101
|
const { workspace } = await loadWorkspaceConfig();
|
|
17102
17102
|
const stage = options.stage ?? workspace.stages.local;
|
|
17103
17103
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17106,7 +17106,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17106
17106
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17107
17107
|
process.exit(1);
|
|
17108
17108
|
}
|
|
17109
|
-
const { derivedContainers } = await import("./apps-
|
|
17109
|
+
const { derivedContainers } = await import("./apps-BHiqiigd.mjs").then((n) => n.h);
|
|
17110
17110
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17111
17111
|
if (!result) {
|
|
17112
17112
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17123,14 +17123,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17123
17123
|
try {
|
|
17124
17124
|
const globalOptions = program.opts();
|
|
17125
17125
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17126
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17126
|
+
const { secretsMigrateCommand } = await import("./migrate-BhvmnG65.mjs");
|
|
17127
17127
|
await secretsMigrateCommand(options);
|
|
17128
17128
|
} catch (error) {
|
|
17129
17129
|
exitWithError(error);
|
|
17130
17130
|
}
|
|
17131
17131
|
});
|
|
17132
17132
|
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) => {
|
|
17133
|
-
const { deployCli } = await import("./cli-
|
|
17133
|
+
const { deployCli } = await import("./cli-LI1NhjE5.mjs");
|
|
17134
17134
|
const globalOptions = program.opts();
|
|
17135
17135
|
const code = await deployCli({
|
|
17136
17136
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17150,8 +17150,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17150
17150
|
});
|
|
17151
17151
|
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) => {
|
|
17152
17152
|
try {
|
|
17153
|
-
const { rollbackStage } = await import("./rollback-
|
|
17154
|
-
const { terminalCredentials } = await import("./terminal-
|
|
17153
|
+
const { rollbackStage } = await import("./rollback-CbpKGQGn.mjs").then((n) => n.a);
|
|
17154
|
+
const { terminalCredentials } = await import("./terminal-CEORTJyM.mjs");
|
|
17155
17155
|
const globalOptions = program.opts();
|
|
17156
17156
|
await rollbackStage({
|
|
17157
17157
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17165,11 +17165,11 @@ program.command("deploy:rollback").description("Put a stage's app back on its pr
|
|
|
17165
17165
|
exitWithError(error);
|
|
17166
17166
|
}
|
|
17167
17167
|
});
|
|
17168
|
-
program.command("compose:server").description("Set up a stage's server for compose deploys: harden it (SSH keys only, no root login, firewall, security updates, fail2ban), install Docker, create the deploy user, and give its key to GitHub").requiredOption("--stage <stage>", "A deployed stage from gkm.config.ts").option("--admin <user>", "The sudo user you log in to the server as — never root (default: ssh's own user for the host)").option("--identity <path>", "The SSH key the admin logs in with (default: ssh's own choice)").option("--key-file <path>", "The deploy key pair (default: ~/.ssh/gkm-<project>-<stage>)").option("--repo <owner/name>", "GitHub repository (default: this one)").option("--no-github", "Leave the GitHub environment's key and host alone").option("--yes", "Set the server up without asking first").option("--dry-run", "Print the plan and the script; connect to nothing").action(async (options) => {
|
|
17168
|
+
program.command("compose:server").description("Set up a stage's server for compose deploys: harden it (SSH keys only, no root login, firewall, security updates, fail2ban), install Docker, create the deploy user, and give its key to GitHub").requiredOption("--stage <stage>", "A deployed stage from gkm.config.ts").option("--admin <user>", "The sudo user you log in to the server as — never root (default: ssh's own user for the host)").option("--identity <path>", "The SSH key the admin logs in with (default: ssh's own choice)").option("--key-file <path>", "The deploy key pair (default: ~/.ssh/gkm-<project>-<stage>)").option("--repo <owner/name>", "GitHub repository (default: this one)").option("--no-github", "Leave the GitHub environment's key and host alone").option("--zsh", "Install zsh and make it the admin's login shell").option("--oh-my-zsh", "Install zsh with Oh My Zsh for the admin (implies --zsh)").option("--yes", "Set the server up without asking first").option("--dry-run", "Print the plan and the script; connect to nothing").action(async (options) => {
|
|
17169
17169
|
try {
|
|
17170
17170
|
const globalOptions = program.opts();
|
|
17171
17171
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17172
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17172
|
+
const { composeServerCommand } = await import("./serverSetup-CrCEhS0g.mjs");
|
|
17173
17173
|
await composeServerCommand(options);
|
|
17174
17174
|
} catch (error) {
|
|
17175
17175
|
exitWithError(error);
|
|
@@ -17194,7 +17194,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17194
17194
|
try {
|
|
17195
17195
|
const globalOptions = program.opts();
|
|
17196
17196
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17197
|
-
const { deployGithubCommand } = await import("./github-
|
|
17197
|
+
const { deployGithubCommand } = await import("./github-BuDZaqTQ.mjs");
|
|
17198
17198
|
await deployGithubCommand(options);
|
|
17199
17199
|
} catch (error) {
|
|
17200
17200
|
exitWithError(error);
|