@geekmidas/cli 10.0.0-alpha.159 → 10.0.0-alpha.160
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-DwyQXxO9.mjs → GoDaddyProvider-C9dDlH9I.mjs} +2 -2
- package/dist/{GoDaddyProvider-DwyQXxO9.mjs.map → GoDaddyProvider-C9dDlH9I.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-CKDquvxI.cjs → GoDaddyProvider-DkUMcMYy.cjs} +2 -2
- package/dist/{GoDaddyProvider-CKDquvxI.cjs.map → GoDaddyProvider-DkUMcMYy.cjs.map} +1 -1
- package/dist/{HostingerProvider-CRDllmxA.cjs → HostingerProvider-9faYOQnQ.cjs} +2 -2
- package/dist/{HostingerProvider-CRDllmxA.cjs.map → HostingerProvider-9faYOQnQ.cjs.map} +1 -1
- package/dist/{HostingerProvider-BZIKJDKU.mjs → HostingerProvider-BEuKG2gz.mjs} +2 -2
- package/dist/{HostingerProvider-BZIKJDKU.mjs.map → HostingerProvider-BEuKG2gz.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CQ1J1rpx.cjs → LegacyStateStore-C44jUnMH.cjs} +2 -2
- package/dist/{LegacyStateStore-CQ1J1rpx.cjs.map → LegacyStateStore-C44jUnMH.cjs.map} +1 -1
- package/dist/{LegacyStateStore-BwnVnaHW.mjs → LegacyStateStore-DPKhjUR6.mjs} +2 -2
- package/dist/{LegacyStateStore-BwnVnaHW.mjs.map → LegacyStateStore-DPKhjUR6.mjs.map} +1 -1
- package/dist/{LocalStateStore-BvlLiIO_.cjs → LocalStateStore-B95WE99i.cjs} +2 -2
- package/dist/{LocalStateStore-BvlLiIO_.cjs.map → LocalStateStore-B95WE99i.cjs.map} +1 -1
- package/dist/{LocalStateStore-vA76-rrz.mjs → LocalStateStore-BU3fWkcT.mjs} +2 -2
- package/dist/{LocalStateStore-vA76-rrz.mjs.map → LocalStateStore-BU3fWkcT.mjs.map} +1 -1
- package/dist/{S3StateStore-DnJHHDPk.mjs → S3StateStore-Cpbeijr5.mjs} +4 -4
- package/dist/{S3StateStore-DnJHHDPk.mjs.map → S3StateStore-Cpbeijr5.mjs.map} +1 -1
- package/dist/{S3StateStore-BxeAk09j.cjs → S3StateStore-zU5kClhd.cjs} +4 -4
- package/dist/{S3StateStore-BxeAk09j.cjs.map → S3StateStore-zU5kClhd.cjs.map} +1 -1
- package/dist/{SSMStateStore-DXzyEcIH.mjs → SSMStateStore-BxkKMBi_.mjs} +2 -2
- package/dist/{SSMStateStore-DXzyEcIH.mjs.map → SSMStateStore-BxkKMBi_.mjs.map} +1 -1
- package/dist/{SSMStateStore-DzXyEoBx.cjs → SSMStateStore-D9uviQ3T.cjs} +2 -2
- package/dist/{SSMStateStore-DzXyEoBx.cjs.map → SSMStateStore-D9uviQ3T.cjs.map} +1 -1
- package/dist/{add-C_adddD3.cjs → add-Bb2IL3Yq.cjs} +5 -5
- package/dist/{add-C_adddD3.cjs.map → add-Bb2IL3Yq.cjs.map} +1 -1
- package/dist/{add-WRwjtnks.mjs → add-Dj-gtqTO.mjs} +5 -5
- package/dist/{add-WRwjtnks.mjs.map → add-Dj-gtqTO.mjs.map} +1 -1
- package/dist/{apps-Cri_aQvD.cjs → apps-0vc4Oz9_.cjs} +4 -4
- package/dist/{apps-Cri_aQvD.cjs.map → apps-0vc4Oz9_.cjs.map} +1 -1
- package/dist/{apps-BHiqiigd.mjs → apps-FRNlECwi.mjs} +4 -4
- package/dist/{apps-BHiqiigd.mjs.map → apps-FRNlECwi.mjs.map} +1 -1
- package/dist/{bundler-Bh5MoDSl.mjs → bundler-9EM4ZHcu.mjs} +6 -6
- package/dist/{bundler-Bh5MoDSl.mjs.map → bundler-9EM4ZHcu.mjs.map} +1 -1
- package/dist/{bundler-CP0Nw6_V.cjs → bundler-Bg2eEFEh.cjs} +6 -6
- package/dist/{bundler-CP0Nw6_V.cjs.map → bundler-Bg2eEFEh.cjs.map} +1 -1
- package/dist/{cli-LI1NhjE5.mjs → cli-CmoSOzNq.mjs} +13 -4
- package/dist/cli-CmoSOzNq.mjs.map +1 -0
- package/dist/{cli-D8hr5lr4.cjs → cli-YtLjcAZT.cjs} +13 -4
- package/dist/cli-YtLjcAZT.cjs.map +1 -0
- package/dist/{compose-CS6WIN-0.mjs → compose-3AtZF7ul.mjs} +5 -5
- package/dist/{compose-CS6WIN-0.mjs.map → compose-3AtZF7ul.mjs.map} +1 -1
- package/dist/{compose-CQPisITP.cjs → compose-CW1DGfYc.cjs} +5 -5
- package/dist/{compose-CQPisITP.cjs.map → compose-CW1DGfYc.cjs.map} +1 -1
- package/dist/{compose-D1rST6pU.mjs → compose-CnXZAYNM.mjs} +7 -7
- package/dist/{compose-D1rST6pU.mjs.map → compose-CnXZAYNM.mjs.map} +1 -1
- package/dist/{compose-DWgccYYU.cjs → compose-D7gOSspy.cjs} +7 -7
- package/dist/{compose-DWgccYYU.cjs.map → compose-D7gOSspy.cjs.map} +1 -1
- package/dist/{config-juUyBlb1.cjs → config-B5Hi3mLK.cjs} +50 -1
- package/dist/config-B5Hi3mLK.cjs.map +1 -0
- package/dist/{config-oBgsbLip.d.cts → config-BNmLn0dw.d.mts} +27 -4
- package/dist/config-BNmLn0dw.d.mts.map +1 -0
- package/dist/{config-CRk2vdSp.d.mts → config-CkuiD9Jv.d.cts} +27 -4
- package/dist/config-CkuiD9Jv.d.cts.map +1 -0
- package/dist/{config-BLrAd7Of.mjs → config-DWTUVGRE.mjs} +39 -2
- package/dist/config-DWTUVGRE.mjs.map +1 -0
- package/dist/config.cjs +3 -1
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{credentials-CKCKknMs.mjs → credentials-CjFtNBVH.mjs} +5 -5
- package/dist/{credentials-CKCKknMs.mjs.map → credentials-CjFtNBVH.mjs.map} +1 -1
- package/dist/{credentials-i6NycDXd.cjs → credentials-DwIRfeBL.cjs} +5 -5
- package/dist/{credentials-i6NycDXd.cjs.map → credentials-DwIRfeBL.cjs.map} +1 -1
- package/dist/deploy/public.cjs +11 -11
- package/dist/deploy/public.d.cts +13 -2
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +13 -2
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +11 -11
- package/dist/{deploy-DGjYbiqq.cjs → deploy-3bsiWJxj.cjs} +50 -17
- package/dist/deploy-3bsiWJxj.cjs.map +1 -0
- package/dist/{deploy-EopBQqnJ.mjs → deploy-BI3fHnyb.mjs} +50 -17
- package/dist/deploy-BI3fHnyb.mjs.map +1 -0
- package/dist/{docker-2PN6JmUz.cjs → docker-CwayjAF2.cjs} +5 -5
- package/dist/{docker-2PN6JmUz.cjs.map → docker-CwayjAF2.cjs.map} +1 -1
- package/dist/{docker-Br4lwU8K.mjs → docker-DPdn7tYJ.mjs} +5 -5
- package/dist/{docker-Br4lwU8K.mjs.map → docker-DPdn7tYJ.mjs.map} +1 -1
- package/dist/{dokploy-DP07onK9.cjs → dokploy-BMBL-_Xu.cjs} +2 -2
- package/dist/{dokploy-DP07onK9.cjs.map → dokploy-BMBL-_Xu.cjs.map} +1 -1
- package/dist/{dokploy-Bq06k6hU.mjs → dokploy-tmnH0Du_.mjs} +2 -2
- package/dist/{dokploy-Bq06k6hU.mjs.map → dokploy-tmnH0Du_.mjs.map} +1 -1
- package/dist/{eas-e1TJSqsO.mjs → eas-BVGQAUDc.mjs} +3 -3
- package/dist/{eas-e1TJSqsO.mjs.map → eas-BVGQAUDc.mjs.map} +1 -1
- package/dist/{eas-hSOnAjM1.cjs → eas-meN1xady.cjs} +3 -3
- package/dist/{eas-hSOnAjM1.cjs.map → eas-meN1xady.cjs.map} +1 -1
- package/dist/{encryption-Bkiis13Q.mjs → encryption-C8AMbomA.mjs} +3 -3
- package/dist/{encryption-Bkiis13Q.mjs.map → encryption-C8AMbomA.mjs.map} +1 -1
- package/dist/{encryption-5g0QMUXJ.cjs → encryption-DvFVZdGz.cjs} +3 -3
- package/dist/{encryption-5g0QMUXJ.cjs.map → encryption-DvFVZdGz.cjs.map} +1 -1
- package/dist/{engine-DB08e1EB.mjs → engine-BbWj0w3F.mjs} +9 -9
- package/dist/{engine-DB08e1EB.mjs.map → engine-BbWj0w3F.mjs.map} +1 -1
- package/dist/{engine-g86XmSu-.cjs → engine-BmiIUVWa.cjs} +9 -9
- package/dist/{engine-g86XmSu-.cjs.map → engine-BmiIUVWa.cjs.map} +1 -1
- package/dist/{github-Dx_XSH19.cjs → github-BWqQr8q6.cjs} +7 -7
- package/dist/{github-Dx_XSH19.cjs.map → github-BWqQr8q6.cjs.map} +1 -1
- package/dist/{github-BuDZaqTQ.mjs → github-Dc1daUbH.mjs} +7 -7
- package/dist/{github-BuDZaqTQ.mjs.map → github-Dc1daUbH.mjs.map} +1 -1
- package/dist/{googlePlay-ewWbA1n2.mjs → googlePlay-ByaFUly7.mjs} +5 -5
- package/dist/{googlePlay-ewWbA1n2.mjs.map → googlePlay-ByaFUly7.mjs.map} +1 -1
- package/dist/{googlePlay-BY9o6t23.cjs → googlePlay-CdVCdfU8.cjs} +5 -5
- package/dist/{googlePlay-BY9o6t23.cjs.map → googlePlay-CdVCdfU8.cjs.map} +1 -1
- package/dist/index.cjs +64 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +64 -62
- package/dist/index.mjs.map +1 -1
- package/dist/{local-DdqiukDq.mjs → local-CnVFHJjS.mjs} +2 -2
- package/dist/{local-DdqiukDq.mjs.map → local-CnVFHJjS.mjs.map} +1 -1
- package/dist/{local-B_-OnfQ3.cjs → local-qevrV6dZ.cjs} +2 -2
- package/dist/{local-B_-OnfQ3.cjs.map → local-qevrV6dZ.cjs.map} +1 -1
- package/dist/{migrate-77UvdtrA.mjs → migrate-BEuCcCwN.mjs} +5 -5
- package/dist/{migrate-77UvdtrA.mjs.map → migrate-BEuCcCwN.mjs.map} +1 -1
- package/dist/{migrate-39p-DRKn.cjs → migrate-CRRps1i6.cjs} +5 -5
- package/dist/{migrate-39p-DRKn.cjs.map → migrate-CRRps1i6.cjs.map} +1 -1
- package/dist/{migrate-Dwdxal87.cjs → migrate-CU8_ZWP1.cjs} +3 -3
- package/dist/{migrate-Dwdxal87.cjs.map → migrate-CU8_ZWP1.cjs.map} +1 -1
- package/dist/{migrate-BhvmnG65.mjs → migrate-DgfKZB41.mjs} +3 -3
- package/dist/{migrate-BhvmnG65.mjs.map → migrate-DgfKZB41.mjs.map} +1 -1
- package/dist/{notes-BI7Dnyrp.cjs → notes-BrBnyZz5.cjs} +3 -3
- package/dist/{notes-BI7Dnyrp.cjs.map → notes-BrBnyZz5.cjs.map} +1 -1
- package/dist/{notes-DdNcS5q5.mjs → notes-CIzrdBKE.mjs} +3 -3
- package/dist/{notes-DdNcS5q5.mjs.map → notes-CIzrdBKE.mjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/{projectBucket-q4M_7rYh.mjs → projectBucket-CDJd3prK.mjs} +2 -2
- package/dist/{projectBucket-q4M_7rYh.mjs.map → projectBucket-CDJd3prK.mjs.map} +1 -1
- package/dist/{projectBucket-BxLoiySR.cjs → projectBucket-CKr_zObJ.cjs} +2 -2
- package/dist/{projectBucket-BxLoiySR.cjs.map → projectBucket-CKr_zObJ.cjs.map} +1 -1
- package/dist/{publish-Bfr2okmd.mjs → publish-Bq96_QnK.mjs} +2 -2
- package/dist/{publish-Bfr2okmd.mjs.map → publish-Bq96_QnK.mjs.map} +1 -1
- package/dist/{publish-DqnMTMq0.cjs → publish-DMKXh1Tb.cjs} +2 -2
- package/dist/{publish-DqnMTMq0.cjs.map → publish-DMKXh1Tb.cjs.map} +1 -1
- package/dist/{resolve-DQ3QsMGK.mjs → resolve-CSsE7frp.mjs} +4 -4
- package/dist/{resolve-DQ3QsMGK.mjs.map → resolve-CSsE7frp.mjs.map} +1 -1
- package/dist/{resolve-Ysdv1y9t.cjs → resolve-DF9GrosZ.cjs} +4 -4
- package/dist/{resolve-Ysdv1y9t.cjs.map → resolve-DF9GrosZ.cjs.map} +1 -1
- package/dist/{rollback-D8-jEiQa.cjs → rollback-BBFGGmMa.cjs} +6 -6
- package/dist/{rollback-D8-jEiQa.cjs.map → rollback-BBFGGmMa.cjs.map} +1 -1
- package/dist/{rollback-CbpKGQGn.mjs → rollback-CZthwqus.mjs} +6 -6
- package/dist/{rollback-CbpKGQGn.mjs.map → rollback-CZthwqus.mjs.map} +1 -1
- package/dist/{s3-Di_aCl0q.mjs → s3-BBRkezf7.mjs} +2 -2
- package/dist/{s3-Di_aCl0q.mjs.map → s3-BBRkezf7.mjs.map} +1 -1
- package/dist/{s3-DtLAvo4D.cjs → s3-CI2QYgXH.cjs} +2 -2
- package/dist/{s3-DtLAvo4D.cjs.map → s3-CI2QYgXH.cjs.map} +1 -1
- package/dist/{serverSetup-CrCEhS0g.mjs → serverSetup-C4iAABtI.mjs} +6 -6
- package/dist/{serverSetup-CrCEhS0g.mjs.map → serverSetup-C4iAABtI.mjs.map} +1 -1
- package/dist/{serverSetup-WWrNW3Md.cjs → serverSetup-Dt2DTlwa.cjs} +6 -6
- package/dist/{serverSetup-WWrNW3Md.cjs.map → serverSetup-Dt2DTlwa.cjs.map} +1 -1
- package/dist/{sniffer-CEw1spoV.mjs → sniffer-C2Ot1IbK.mjs} +6 -6
- package/dist/{sniffer-CEw1spoV.mjs.map → sniffer-C2Ot1IbK.mjs.map} +1 -1
- package/dist/{sniffer-CvsdmfuV.cjs → sniffer-bTrGuu9z.cjs} +6 -6
- package/dist/{sniffer-CvsdmfuV.cjs.map → sniffer-bTrGuu9z.cjs.map} +1 -1
- package/dist/{snsSubscriptions-G-FNGLvt.cjs → snsSubscriptions-CFKb7fv0.cjs} +2 -2
- package/dist/{snsSubscriptions-G-FNGLvt.cjs.map → snsSubscriptions-CFKb7fv0.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CB-WnmUi.mjs → snsSubscriptions-QDDDn9Qi.mjs} +2 -2
- package/dist/{snsSubscriptions-CB-WnmUi.mjs.map → snsSubscriptions-QDDDn9Qi.mjs.map} +1 -1
- package/dist/{sst-CjiSTuNU.mjs → sst-DDRWlXdv.mjs} +5 -5
- package/dist/{sst-CjiSTuNU.mjs.map → sst-DDRWlXdv.mjs.map} +1 -1
- package/dist/{sst-B3DBmq5F.cjs → sst-iRdMlGKd.cjs} +5 -5
- package/dist/{sst-B3DBmq5F.cjs.map → sst-iRdMlGKd.cjs.map} +1 -1
- package/dist/{stack-B4PwA10G.cjs → stack-B9iDYMrq.cjs} +7 -7
- package/dist/{stack-B4PwA10G.cjs.map → stack-B9iDYMrq.cjs.map} +1 -1
- package/dist/{stack--9_32IOM.mjs → stack-CIOY44aC.mjs} +7 -7
- package/dist/{stack--9_32IOM.mjs.map → stack-CIOY44aC.mjs.map} +1 -1
- package/dist/{stage-sirtVzDQ.mjs → stage-DA74aD_V.mjs} +6 -6
- package/dist/{stage-sirtVzDQ.mjs.map → stage-DA74aD_V.mjs.map} +1 -1
- package/dist/{stage-Dk52SAc3.cjs → stage-ycFS9mVn.cjs} +6 -6
- package/dist/{stage-Dk52SAc3.cjs.map → stage-ycFS9mVn.cjs.map} +1 -1
- package/dist/{stages-Bs1THSy7.cjs → stages-B0yOikgt.cjs} +2 -2
- package/dist/{stages-Bs1THSy7.cjs.map → stages-B0yOikgt.cjs.map} +1 -1
- package/dist/{stages-_xCG4Ymu.mjs → stages-yA9bhStl.mjs} +2 -2
- package/dist/{stages-_xCG4Ymu.mjs.map → stages-yA9bhStl.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-CEORTJyM.mjs → terminal-DX22WLvT.mjs} +2 -2
- package/dist/{terminal-CEORTJyM.mjs.map → terminal-DX22WLvT.mjs.map} +1 -1
- package/dist/{terminal-BBjilWid.cjs → terminal-RxfbNUwl.cjs} +2 -2
- package/dist/{terminal-BBjilWid.cjs.map → terminal-RxfbNUwl.cjs.map} +1 -1
- package/package.json +15 -15
- package/dist/cli-D8hr5lr4.cjs.map +0 -1
- package/dist/cli-LI1NhjE5.mjs.map +0 -1
- package/dist/config-BLrAd7Of.mjs.map +0 -1
- package/dist/config-CRk2vdSp.d.mts.map +0 -1
- package/dist/config-juUyBlb1.cjs.map +0 -1
- package/dist/config-oBgsbLip.d.cts.map +0 -1
- package/dist/deploy-DGjYbiqq.cjs.map +0 -1
- package/dist/deploy-EopBQqnJ.mjs.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 { 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-CjFtNBVH.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-CnXZAYNM.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-FRNlECwi.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-
|
|
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-3AtZF7ul.mjs";
|
|
10
10
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-BybB6uez.mjs";
|
|
11
|
-
import { a as NotABackendApp, d as loadConfig, g as
|
|
11
|
+
import { a as NotABackendApp, b as protectedSubdomains, d as loadConfig, g as parseModuleConfig, h as loadWorkspaceSettings, m as loadWorkspaceConfig, o as NotInAnApp, r as ConfigNotFound, u as loadAppConfig, v as appKey, x as wildcardSite } from "./config-DWTUVGRE.mjs";
|
|
12
12
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
13
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-CIzrdBKE.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-CIOY44aC.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-DPdn7tYJ.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-QDDDn9Qi.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-CnVFHJjS.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-C2Ot1IbK.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-BI3fHnyb.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-BU3fWkcT.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-BjFMu_1J.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.160";
|
|
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-C2Ot1IbK.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-DA74aD_V.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-BEuCcCwN.mjs");
|
|
2777
2777
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2778
|
-
} else await import("./migrate-
|
|
2778
|
+
} else await import("./migrate-BEuCcCwN.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-9EM4ZHcu.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-9EM4ZHcu.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-9EM4ZHcu.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-9EM4ZHcu.mjs");
|
|
4378
4378
|
const allConstructs = [
|
|
4379
4379
|
...endpoints.map((e) => e.construct),
|
|
4380
4380
|
...functions.map((f) => f.construct),
|
|
@@ -4631,7 +4631,8 @@ async function composeCommand(options, deps = {}) {
|
|
|
4631
4631
|
const pulls = !options.build && (options.pull || options.tag !== void 0);
|
|
4632
4632
|
if (options.digestsFile && !options.push && !pulls) throw new ComposePinNeedsPull();
|
|
4633
4633
|
const cwd = resolve(options.cwd ?? process.cwd());
|
|
4634
|
-
const
|
|
4634
|
+
const loaded = await loadWorkspaceConfig(cwd);
|
|
4635
|
+
const { workspace } = loaded;
|
|
4635
4636
|
const { stage } = options;
|
|
4636
4637
|
if (options.down) {
|
|
4637
4638
|
const local = stage === workspace.stages.local;
|
|
@@ -4667,6 +4668,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4667
4668
|
} : void 0;
|
|
4668
4669
|
const result = await deploy$1({
|
|
4669
4670
|
cwd,
|
|
4671
|
+
config: loaded.raw,
|
|
4670
4672
|
stage,
|
|
4671
4673
|
target: "compose",
|
|
4672
4674
|
targets: { compose: composeTarget({
|
|
@@ -6228,25 +6230,25 @@ function loadPackageJson() {
|
|
|
6228
6230
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6229
6231
|
*/
|
|
6230
6232
|
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.
|
|
6233
|
+
"@geekmidas/audit": ">=10.0.0-alpha.160 <10.0.0",
|
|
6234
|
+
"@geekmidas/auth": ">=10.0.0-alpha.160 <10.0.0",
|
|
6235
|
+
"@geekmidas/cache": ">=10.0.0-alpha.160 <10.0.0",
|
|
6236
|
+
"@geekmidas/client": ">=10.0.0-alpha.160 <10.0.0",
|
|
6237
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.160 <10.0.0",
|
|
6238
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.160 <10.0.0",
|
|
6239
|
+
"@geekmidas/db": ">=10.0.0-alpha.160 <10.0.0",
|
|
6240
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.160 <10.0.0",
|
|
6241
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.160 <10.0.0",
|
|
6242
|
+
"@geekmidas/errors": ">=10.0.0-alpha.160 <10.0.0",
|
|
6243
|
+
"@geekmidas/events": ">=10.0.0-alpha.160 <10.0.0",
|
|
6244
|
+
"@geekmidas/logger": ">=10.0.0-alpha.160 <10.0.0",
|
|
6245
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.160 <10.0.0",
|
|
6246
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.160 <10.0.0",
|
|
6247
|
+
"@geekmidas/schema": ">=10.0.0-alpha.160 <10.0.0",
|
|
6248
|
+
"@geekmidas/services": ">=10.0.0-alpha.160 <10.0.0",
|
|
6249
|
+
"@geekmidas/storage": ">=10.0.0-alpha.160 <10.0.0",
|
|
6250
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.160 <10.0.0",
|
|
6251
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.160 <10.0.0",
|
|
6250
6252
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6251
6253
|
};
|
|
6252
6254
|
//#endregion
|
|
@@ -7439,7 +7441,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7439
7441
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7440
7442
|
* release the pinned commit is.
|
|
7441
7443
|
*/
|
|
7442
|
-
function stagesActionUses(commit = "
|
|
7444
|
+
function stagesActionUses(commit = "2198d2c3e2fcb3fff461353d99ef804afbf6906d", version = cliVersion()) {
|
|
7443
7445
|
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
7446
|
}
|
|
7445
7447
|
//#endregion
|
|
@@ -16411,7 +16413,7 @@ function testDatabases(reconciled) {
|
|
|
16411
16413
|
* starts without the reference data the app needs.
|
|
16412
16414
|
*/
|
|
16413
16415
|
async function migrateTestStage(workspace, env) {
|
|
16414
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16416
|
+
const { migrateAndSeed } = await import("./migrate-BEuCcCwN.mjs");
|
|
16415
16417
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16416
16418
|
const sources = {};
|
|
16417
16419
|
const manifest = await discover({
|
|
@@ -16864,7 +16866,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16864
16866
|
try {
|
|
16865
16867
|
const globalOptions = program.opts();
|
|
16866
16868
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16867
|
-
const { easSync } = await import("./eas-
|
|
16869
|
+
const { easSync } = await import("./eas-BVGQAUDc.mjs");
|
|
16868
16870
|
await easSync(options);
|
|
16869
16871
|
} catch (error) {
|
|
16870
16872
|
exitWithError(error);
|
|
@@ -16874,7 +16876,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16874
16876
|
try {
|
|
16875
16877
|
const globalOptions = program.opts();
|
|
16876
16878
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16877
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16879
|
+
const { publish, PublishModeConflict } = await import("./publish-Bq96_QnK.mjs");
|
|
16878
16880
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16879
16881
|
const { build, update, ...rest } = options;
|
|
16880
16882
|
await publish({
|
|
@@ -16890,7 +16892,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16890
16892
|
try {
|
|
16891
16893
|
const globalOptions = program.opts();
|
|
16892
16894
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16893
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16895
|
+
const { deployGooglePlay } = await import("./googlePlay-ByaFUly7.mjs");
|
|
16894
16896
|
await deployGooglePlay(options);
|
|
16895
16897
|
} catch (error) {
|
|
16896
16898
|
exitWithError(error);
|
|
@@ -16912,7 +16914,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16912
16914
|
try {
|
|
16913
16915
|
const globalOptions = program.opts();
|
|
16914
16916
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16915
|
-
const { migrateCommand } = await import("./migrate-
|
|
16917
|
+
const { migrateCommand } = await import("./migrate-BEuCcCwN.mjs");
|
|
16916
16918
|
await migrateCommand({
|
|
16917
16919
|
...options,
|
|
16918
16920
|
...construct ? { construct } : {}
|
|
@@ -16925,7 +16927,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16925
16927
|
try {
|
|
16926
16928
|
const globalOptions = program.opts();
|
|
16927
16929
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16928
|
-
const { seedCommand } = await import("./migrate-
|
|
16930
|
+
const { seedCommand } = await import("./migrate-BEuCcCwN.mjs");
|
|
16929
16931
|
await seedCommand({
|
|
16930
16932
|
...options,
|
|
16931
16933
|
...construct ? { construct } : {}
|
|
@@ -16938,7 +16940,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16938
16940
|
try {
|
|
16939
16941
|
const globalOptions = program.opts();
|
|
16940
16942
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16941
|
-
const { migrationCommand } = await import("./migrate-
|
|
16943
|
+
const { migrationCommand } = await import("./migrate-BEuCcCwN.mjs");
|
|
16942
16944
|
await migrationCommand({
|
|
16943
16945
|
construct,
|
|
16944
16946
|
...name ? { name } : {}
|
|
@@ -17038,7 +17040,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17038
17040
|
try {
|
|
17039
17041
|
const globalOptions = program.opts();
|
|
17040
17042
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17041
|
-
const { secretsAddCommand } = await import("./add-
|
|
17043
|
+
const { secretsAddCommand } = await import("./add-Dj-gtqTO.mjs");
|
|
17042
17044
|
await secretsAddCommand(options);
|
|
17043
17045
|
} catch (error) {
|
|
17044
17046
|
exitWithError(error);
|
|
@@ -17048,7 +17050,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17048
17050
|
try {
|
|
17049
17051
|
const globalOptions = program.opts();
|
|
17050
17052
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17051
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17053
|
+
const { encryptionRotateCommand } = await import("./encryption-C8AMbomA.mjs");
|
|
17052
17054
|
await encryptionRotateCommand(construct, options);
|
|
17053
17055
|
} catch (error) {
|
|
17054
17056
|
exitWithError(error);
|
|
@@ -17058,7 +17060,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17058
17060
|
try {
|
|
17059
17061
|
const globalOptions = program.opts();
|
|
17060
17062
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17061
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17063
|
+
const { encryptionRetireCommand } = await import("./encryption-C8AMbomA.mjs");
|
|
17062
17064
|
await encryptionRetireCommand(construct, key, options);
|
|
17063
17065
|
} catch (error) {
|
|
17064
17066
|
exitWithError(error);
|
|
@@ -17097,7 +17099,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17097
17099
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17098
17100
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17099
17101
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17100
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
17102
|
+
const { secretsStoreFor } = await import("./credentials-CjFtNBVH.mjs").then((n) => n.j);
|
|
17101
17103
|
const { workspace } = await loadWorkspaceConfig();
|
|
17102
17104
|
const stage = options.stage ?? workspace.stages.local;
|
|
17103
17105
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17106,7 +17108,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17106
17108
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17107
17109
|
process.exit(1);
|
|
17108
17110
|
}
|
|
17109
|
-
const { derivedContainers } = await import("./apps-
|
|
17111
|
+
const { derivedContainers } = await import("./apps-FRNlECwi.mjs").then((n) => n.h);
|
|
17110
17112
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17111
17113
|
if (!result) {
|
|
17112
17114
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17123,14 +17125,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17123
17125
|
try {
|
|
17124
17126
|
const globalOptions = program.opts();
|
|
17125
17127
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17126
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17128
|
+
const { secretsMigrateCommand } = await import("./migrate-DgfKZB41.mjs");
|
|
17127
17129
|
await secretsMigrateCommand(options);
|
|
17128
17130
|
} catch (error) {
|
|
17129
17131
|
exitWithError(error);
|
|
17130
17132
|
}
|
|
17131
17133
|
});
|
|
17132
17134
|
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-
|
|
17135
|
+
const { deployCli } = await import("./cli-CmoSOzNq.mjs");
|
|
17134
17136
|
const globalOptions = program.opts();
|
|
17135
17137
|
const code = await deployCli({
|
|
17136
17138
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17150,8 +17152,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17150
17152
|
});
|
|
17151
17153
|
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
17154
|
try {
|
|
17153
|
-
const { rollbackStage } = await import("./rollback-
|
|
17154
|
-
const { terminalCredentials } = await import("./terminal-
|
|
17155
|
+
const { rollbackStage } = await import("./rollback-CZthwqus.mjs").then((n) => n.a);
|
|
17156
|
+
const { terminalCredentials } = await import("./terminal-DX22WLvT.mjs");
|
|
17155
17157
|
const globalOptions = program.opts();
|
|
17156
17158
|
await rollbackStage({
|
|
17157
17159
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17169,7 +17171,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17169
17171
|
try {
|
|
17170
17172
|
const globalOptions = program.opts();
|
|
17171
17173
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17172
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17174
|
+
const { composeServerCommand } = await import("./serverSetup-C4iAABtI.mjs");
|
|
17173
17175
|
await composeServerCommand(options);
|
|
17174
17176
|
} catch (error) {
|
|
17175
17177
|
exitWithError(error);
|
|
@@ -17194,7 +17196,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17194
17196
|
try {
|
|
17195
17197
|
const globalOptions = program.opts();
|
|
17196
17198
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17197
|
-
const { deployGithubCommand } = await import("./github-
|
|
17199
|
+
const { deployGithubCommand } = await import("./github-Dc1daUbH.mjs");
|
|
17198
17200
|
await deployGithubCommand(options);
|
|
17199
17201
|
} catch (error) {
|
|
17200
17202
|
exitWithError(error);
|
|
@@ -17204,7 +17206,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17204
17206
|
try {
|
|
17205
17207
|
const globalOptions = program.opts();
|
|
17206
17208
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17207
|
-
const { stagesCommand } = await import("./stages-
|
|
17209
|
+
const { stagesCommand } = await import("./stages-yA9bhStl.mjs");
|
|
17208
17210
|
await stagesCommand(options);
|
|
17209
17211
|
} catch (error) {
|
|
17210
17212
|
exitWithError(error);
|