@geekmidas/cli 10.0.0-alpha.156 → 10.0.0-alpha.158
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-bCGjHmq_.cjs → GoDaddyProvider-CKDquvxI.cjs} +2 -2
- package/dist/{GoDaddyProvider-bCGjHmq_.cjs.map → GoDaddyProvider-CKDquvxI.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-C6kihaSF.mjs → GoDaddyProvider-DwyQXxO9.mjs} +2 -2
- package/dist/{GoDaddyProvider-C6kihaSF.mjs.map → GoDaddyProvider-DwyQXxO9.mjs.map} +1 -1
- package/dist/{HostingerProvider-CH3qcNOp.mjs → HostingerProvider-BZIKJDKU.mjs} +2 -2
- package/dist/{HostingerProvider-CH3qcNOp.mjs.map → HostingerProvider-BZIKJDKU.mjs.map} +1 -1
- package/dist/{HostingerProvider-l-pKR3UU.cjs → HostingerProvider-CRDllmxA.cjs} +2 -2
- package/dist/{HostingerProvider-l-pKR3UU.cjs.map → HostingerProvider-CRDllmxA.cjs.map} +1 -1
- package/dist/{LegacyStateStore-kxFSoD1P.mjs → LegacyStateStore-BwnVnaHW.mjs} +2 -2
- package/dist/{LegacyStateStore-kxFSoD1P.mjs.map → LegacyStateStore-BwnVnaHW.mjs.map} +1 -1
- package/dist/{LegacyStateStore-BLTALNNX.cjs → LegacyStateStore-CQ1J1rpx.cjs} +2 -2
- package/dist/{LegacyStateStore-BLTALNNX.cjs.map → LegacyStateStore-CQ1J1rpx.cjs.map} +1 -1
- package/dist/{LocalStateStore-CCYbRnLH.cjs → LocalStateStore-BvlLiIO_.cjs} +2 -2
- package/dist/{LocalStateStore-CCYbRnLH.cjs.map → LocalStateStore-BvlLiIO_.cjs.map} +1 -1
- package/dist/{LocalStateStore-CjA4PPQ8.mjs → LocalStateStore-vA76-rrz.mjs} +2 -2
- package/dist/{LocalStateStore-CjA4PPQ8.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-B4Qu-euw.cjs → S3StateStore-BxeAk09j.cjs} +4 -4
- package/dist/{S3StateStore-B4Qu-euw.cjs.map → S3StateStore-BxeAk09j.cjs.map} +1 -1
- package/dist/{S3StateStore-nCDpz4Gi.mjs → S3StateStore-DnJHHDPk.mjs} +4 -4
- package/dist/{S3StateStore-nCDpz4Gi.mjs.map → S3StateStore-DnJHHDPk.mjs.map} +1 -1
- package/dist/{SSMStateStore-VOk8OdaW.mjs → SSMStateStore-DXzyEcIH.mjs} +2 -2
- package/dist/{SSMStateStore-VOk8OdaW.mjs.map → SSMStateStore-DXzyEcIH.mjs.map} +1 -1
- package/dist/{SSMStateStore-BI5sYXl-.cjs → SSMStateStore-DzXyEoBx.cjs} +2 -2
- package/dist/{SSMStateStore-BI5sYXl-.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-B0VtHNY5.cjs → add-C_adddD3.cjs} +4 -4
- package/dist/{add-B0VtHNY5.cjs.map → add-C_adddD3.cjs.map} +1 -1
- package/dist/{add-CtkmKzg0.mjs → add-WRwjtnks.mjs} +4 -4
- package/dist/{add-CtkmKzg0.mjs.map → add-WRwjtnks.mjs.map} +1 -1
- package/dist/{apps-CggMxcW9.mjs → apps-BHiqiigd.mjs} +5 -5
- package/dist/{apps-CggMxcW9.mjs.map → apps-BHiqiigd.mjs.map} +1 -1
- package/dist/{apps-Bj3U4v3a.cjs → apps-Cri_aQvD.cjs} +5 -5
- package/dist/{apps-Bj3U4v3a.cjs.map → apps-Cri_aQvD.cjs.map} +1 -1
- package/dist/{bundler-isYJiy1x.mjs → bundler-Bh5MoDSl.mjs} +6 -6
- package/dist/{bundler-isYJiy1x.mjs.map → bundler-Bh5MoDSl.mjs.map} +1 -1
- package/dist/{bundler-CcK6uiP5.cjs → bundler-CP0Nw6_V.cjs} +6 -6
- package/dist/{bundler-CcK6uiP5.cjs.map → bundler-CP0Nw6_V.cjs.map} +1 -1
- package/dist/{cli-B5k3qrO4.cjs → cli-D8hr5lr4.cjs} +4 -4
- package/dist/{cli-B5k3qrO4.cjs.map → cli-D8hr5lr4.cjs.map} +1 -1
- package/dist/{cli-BVHsKFMj.mjs → cli-LI1NhjE5.mjs} +4 -4
- package/dist/{cli-BVHsKFMj.mjs.map → cli-LI1NhjE5.mjs.map} +1 -1
- package/dist/{compose-8_6I_Vhv.cjs → compose-CQPisITP.cjs} +4 -4
- package/dist/{compose-8_6I_Vhv.cjs.map → compose-CQPisITP.cjs.map} +1 -1
- package/dist/{compose-DS0L5WGA.mjs → compose-CS6WIN-0.mjs} +4 -4
- package/dist/{compose-DS0L5WGA.mjs.map → compose-CS6WIN-0.mjs.map} +1 -1
- package/dist/{compose-DA4mTDZr.mjs → compose-D1rST6pU.mjs} +9 -9
- package/dist/{compose-DA4mTDZr.mjs.map → compose-D1rST6pU.mjs.map} +1 -1
- package/dist/{compose-Dxaaqmzz.cjs → compose-DWgccYYU.cjs} +9 -9
- package/dist/{compose-Dxaaqmzz.cjs.map → compose-DWgccYYU.cjs.map} +1 -1
- package/dist/{credentials-DidjPIcM.mjs → credentials-CKCKknMs.mjs} +5 -5
- package/dist/{credentials-DidjPIcM.mjs.map → credentials-CKCKknMs.mjs.map} +1 -1
- package/dist/{credentials-LLoLkwjB.cjs → credentials-i6NycDXd.cjs} +5 -5
- package/dist/{credentials-LLoLkwjB.cjs.map → credentials-i6NycDXd.cjs.map} +1 -1
- package/dist/{databases-mzSUFBTw.mjs → databases-C1qqNxTu.mjs} +2 -2
- package/dist/{databases-mzSUFBTw.mjs.map → databases-C1qqNxTu.mjs.map} +1 -1
- package/dist/{databases-DawSdqBI.cjs → databases-CrKh5jw6.cjs} +2 -2
- package/dist/{databases-DawSdqBI.cjs.map → databases-CrKh5jw6.cjs.map} +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-DpQPFrhf.cjs → deploy-DGjYbiqq.cjs} +12 -12
- package/dist/{deploy-DpQPFrhf.cjs.map → deploy-DGjYbiqq.cjs.map} +1 -1
- package/dist/{deploy-BEwiKZBG.mjs → deploy-EopBQqnJ.mjs} +12 -12
- package/dist/{deploy-BEwiKZBG.mjs.map → deploy-EopBQqnJ.mjs.map} +1 -1
- package/dist/{docker-BficHJMS.cjs → docker-2PN6JmUz.cjs} +6 -6
- package/dist/{docker-BficHJMS.cjs.map → docker-2PN6JmUz.cjs.map} +1 -1
- package/dist/{docker-BeO31G2F.mjs → docker-Br4lwU8K.mjs} +6 -6
- package/dist/{docker-BeO31G2F.mjs.map → docker-Br4lwU8K.mjs.map} +1 -1
- package/dist/{dokploy-BLZlrTf7.mjs → dokploy-Bq06k6hU.mjs} +2 -2
- package/dist/{dokploy-BLZlrTf7.mjs.map → dokploy-Bq06k6hU.mjs.map} +1 -1
- package/dist/{dokploy-D6ktFzjP.cjs → dokploy-DP07onK9.cjs} +2 -2
- package/dist/{dokploy-D6ktFzjP.cjs.map → dokploy-DP07onK9.cjs.map} +1 -1
- package/dist/{drivers-aM87NQJi.cjs → drivers-BhdC9Efj.cjs} +26 -2
- package/dist/drivers-BhdC9Efj.cjs.map +1 -0
- package/dist/{drivers-uxLBq3e3.mjs → drivers-wcDnzf7l.mjs} +21 -3
- package/dist/drivers-wcDnzf7l.mjs.map +1 -0
- package/dist/{eas-DdE1PH-Z.mjs → eas-e1TJSqsO.mjs} +2 -2
- package/dist/{eas-DdE1PH-Z.mjs.map → eas-e1TJSqsO.mjs.map} +1 -1
- package/dist/{eas-Dh9LBIJi.cjs → eas-hSOnAjM1.cjs} +2 -2
- package/dist/{eas-Dh9LBIJi.cjs.map → eas-hSOnAjM1.cjs.map} +1 -1
- package/dist/{encryption-BDCTITiO.cjs → encryption-5g0QMUXJ.cjs} +2 -2
- package/dist/{encryption-BDCTITiO.cjs.map → encryption-5g0QMUXJ.cjs.map} +1 -1
- package/dist/{encryption-1TTbMp4E.mjs → encryption-Bkiis13Q.mjs} +2 -2
- package/dist/{encryption-1TTbMp4E.mjs.map → encryption-Bkiis13Q.mjs.map} +1 -1
- package/dist/{engine-DBimzOpv.mjs → engine-DB08e1EB.mjs} +9 -9
- package/dist/{engine-DBimzOpv.mjs.map → engine-DB08e1EB.mjs.map} +1 -1
- package/dist/{engine-DPVbMn1R.cjs → engine-g86XmSu-.cjs} +9 -9
- package/dist/{engine-DPVbMn1R.cjs.map → engine-g86XmSu-.cjs.map} +1 -1
- package/dist/{github-e4EXHIAd.mjs → github-BuDZaqTQ.mjs} +6 -6
- package/dist/{github-e4EXHIAd.mjs.map → github-BuDZaqTQ.mjs.map} +1 -1
- package/dist/{github-Bur2rvbL.cjs → github-Dx_XSH19.cjs} +6 -6
- package/dist/{github-Bur2rvbL.cjs.map → github-Dx_XSH19.cjs.map} +1 -1
- package/dist/{googlePlay-gCxefG71.cjs → googlePlay-BY9o6t23.cjs} +4 -4
- package/dist/{googlePlay-gCxefG71.cjs.map → googlePlay-BY9o6t23.cjs.map} +1 -1
- package/dist/{googlePlay-CH5BrkCd.mjs → googlePlay-ewWbA1n2.mjs} +4 -4
- package/dist/{googlePlay-CH5BrkCd.mjs.map → googlePlay-ewWbA1n2.mjs.map} +1 -1
- package/dist/index.cjs +69 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +69 -67
- package/dist/index.mjs.map +1 -1
- package/dist/{local-B9psHtjC.cjs → local-B_-OnfQ3.cjs} +2 -2
- package/dist/{local-B9psHtjC.cjs.map → local-B_-OnfQ3.cjs.map} +1 -1
- package/dist/{local-qbOxBD9I.mjs → local-DdqiukDq.mjs} +2 -2
- package/dist/{local-qbOxBD9I.mjs.map → local-DdqiukDq.mjs.map} +1 -1
- package/dist/{migrate-BqjeJXXX.cjs → migrate-39p-DRKn.cjs} +5 -5
- package/dist/{migrate-BqjeJXXX.cjs.map → migrate-39p-DRKn.cjs.map} +1 -1
- package/dist/{migrate-DJ6o58e4.mjs → migrate-77UvdtrA.mjs} +5 -5
- package/dist/{migrate-DJ6o58e4.mjs.map → migrate-77UvdtrA.mjs.map} +1 -1
- package/dist/{migrate-Cg6ogGbR.mjs → migrate-BhvmnG65.mjs} +2 -2
- package/dist/{migrate-Cg6ogGbR.mjs.map → migrate-BhvmnG65.mjs.map} +1 -1
- package/dist/{migrate-B3T5iHyR.cjs → migrate-Dwdxal87.cjs} +2 -2
- package/dist/{migrate-B3T5iHyR.cjs.map → migrate-Dwdxal87.cjs.map} +1 -1
- package/dist/{notes-WW3tkekq.cjs → notes-BI7Dnyrp.cjs} +2 -2
- package/dist/{notes-WW3tkekq.cjs.map → notes-BI7Dnyrp.cjs.map} +1 -1
- package/dist/{notes-CV9tczQF.mjs → notes-DdNcS5q5.mjs} +2 -2
- package/dist/{notes-CV9tczQF.mjs.map → notes-DdNcS5q5.mjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-BCutOEvv.cjs → projectBucket-BxLoiySR.cjs} +2 -2
- package/dist/{projectBucket-BCutOEvv.cjs.map → projectBucket-BxLoiySR.cjs.map} +1 -1
- package/dist/{projectBucket-CRAuyO-t.mjs → projectBucket-q4M_7rYh.mjs} +2 -2
- package/dist/{projectBucket-CRAuyO-t.mjs.map → projectBucket-q4M_7rYh.mjs.map} +1 -1
- package/dist/{publish-BJyVR2lE.mjs → publish-Bfr2okmd.mjs} +2 -2
- package/dist/{publish-BJyVR2lE.mjs.map → publish-Bfr2okmd.mjs.map} +1 -1
- package/dist/{publish-BcPp-_qQ.cjs → publish-DqnMTMq0.cjs} +2 -2
- package/dist/{publish-BcPp-_qQ.cjs.map → publish-DqnMTMq0.cjs.map} +1 -1
- package/dist/{ready-g25dcGzK.mjs → ready-BjFMu_1J.mjs} +5 -5
- package/dist/{ready-g25dcGzK.mjs.map → ready-BjFMu_1J.mjs.map} +1 -1
- package/dist/{ready-BNh3zsSn.cjs → ready-eVMJIcWn.cjs} +5 -5
- package/dist/{ready-BNh3zsSn.cjs.map → ready-eVMJIcWn.cjs.map} +1 -1
- package/dist/{resolve-CH_DwRLq.mjs → resolve-DQ3QsMGK.mjs} +4 -4
- package/dist/{resolve-CH_DwRLq.mjs.map → resolve-DQ3QsMGK.mjs.map} +1 -1
- package/dist/{resolve-CwJ_ScjX.cjs → resolve-Ysdv1y9t.cjs} +4 -4
- package/dist/{resolve-CwJ_ScjX.cjs.map → resolve-Ysdv1y9t.cjs.map} +1 -1
- package/dist/{rollback-Bpuaon23.mjs → rollback-CbpKGQGn.mjs} +5 -5
- package/dist/{rollback-Bpuaon23.mjs.map → rollback-CbpKGQGn.mjs.map} +1 -1
- package/dist/{rollback-BBdR1h3T.cjs → rollback-D8-jEiQa.cjs} +5 -5
- package/dist/{rollback-BBdR1h3T.cjs.map → rollback-D8-jEiQa.cjs.map} +1 -1
- package/dist/{s3-C5pbgCxY.mjs → s3-Di_aCl0q.mjs} +2 -2
- package/dist/{s3-C5pbgCxY.mjs.map → s3-Di_aCl0q.mjs.map} +1 -1
- package/dist/{s3-Cx5XUsK2.cjs → s3-DtLAvo4D.cjs} +2 -2
- package/dist/{s3-Cx5XUsK2.cjs.map → s3-DtLAvo4D.cjs.map} +1 -1
- package/dist/sandbox/migrate-worker.cjs +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{serverSetup-CQ96N5tn.cjs → serverSetup-BGZOO9cI.cjs} +5 -5
- package/dist/{serverSetup-CQ96N5tn.cjs.map → serverSetup-BGZOO9cI.cjs.map} +1 -1
- package/dist/{serverSetup-B9sp6uWM.mjs → serverSetup-CpElhF0V.mjs} +5 -5
- package/dist/{serverSetup-B9sp6uWM.mjs.map → serverSetup-CpElhF0V.mjs.map} +1 -1
- package/dist/{sniffer-DmigJFSC.mjs → sniffer-CEw1spoV.mjs} +6 -6
- package/dist/{sniffer-DmigJFSC.mjs.map → sniffer-CEw1spoV.mjs.map} +1 -1
- package/dist/{sniffer-CSgeus1c.cjs → sniffer-CvsdmfuV.cjs} +6 -6
- package/dist/{sniffer-CSgeus1c.cjs.map → sniffer-CvsdmfuV.cjs.map} +1 -1
- package/dist/{snsSubscriptions-UJrUbrPC.mjs → snsSubscriptions-CB-WnmUi.mjs} +2 -2
- package/dist/{snsSubscriptions-UJrUbrPC.mjs.map → snsSubscriptions-CB-WnmUi.mjs.map} +1 -1
- package/dist/{snsSubscriptions-PcvjBC8J.cjs → snsSubscriptions-G-FNGLvt.cjs} +2 -2
- package/dist/{snsSubscriptions-PcvjBC8J.cjs.map → snsSubscriptions-G-FNGLvt.cjs.map} +1 -1
- package/dist/{sst-BX_dHQYC.cjs → sst-B3DBmq5F.cjs} +4 -4
- package/dist/{sst-BX_dHQYC.cjs.map → sst-B3DBmq5F.cjs.map} +1 -1
- package/dist/{sst-CVBDMb9x.mjs → sst-CjiSTuNU.mjs} +4 -4
- package/dist/{sst-CVBDMb9x.mjs.map → sst-CjiSTuNU.mjs.map} +1 -1
- package/dist/{stack-BrqdoNWg.mjs → stack--9_32IOM.mjs} +7 -7
- package/dist/{stack-BrqdoNWg.mjs.map → stack--9_32IOM.mjs.map} +1 -1
- package/dist/{stack-B8JVuA2N.cjs → stack-B4PwA10G.cjs} +7 -7
- package/dist/{stack-B8JVuA2N.cjs.map → stack-B4PwA10G.cjs.map} +1 -1
- package/dist/{stage-BtX7qbNh.cjs → stage-Dk52SAc3.cjs} +5 -5
- package/dist/{stage-BtX7qbNh.cjs.map → stage-Dk52SAc3.cjs.map} +1 -1
- package/dist/{stage-DfDPXyKq.mjs → stage-sirtVzDQ.mjs} +5 -5
- package/dist/{stage-DfDPXyKq.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-Cz-uD2VK.cjs → terminal-BBjilWid.cjs} +2 -2
- package/dist/{terminal-Cz-uD2VK.cjs.map → terminal-BBjilWid.cjs.map} +1 -1
- package/dist/{terminal-BG75hJ72.mjs → terminal-CEORTJyM.mjs} +2 -2
- package/dist/{terminal-BG75hJ72.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/drivers-aM87NQJi.cjs.map +0 -1
- package/dist/drivers-uxLBq3e3.mjs.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
|
-
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-
|
|
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.158";
|
|
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 = {};
|
|
@@ -3758,7 +3758,7 @@ function lambdaSource(input) {
|
|
|
3758
3758
|
* Generated by 'gkm build --provider aws': one route of a WebSocket surface,
|
|
3759
3759
|
* as API Gateway invokes it.
|
|
3760
3760
|
*/
|
|
3761
|
-
import { AmazonApiGatewayWebSocket } from '@geekmidas/constructs/aws';
|
|
3761
|
+
import { AmazonApiGatewayWebSocket } from '@geekmidas/constructs/aws-websocket';
|
|
3762
3762
|
import { ${surface.exportName} as surface } from '${specifierOf(from, surface.file)}';
|
|
3763
3763
|
${routeImport}
|
|
3764
3764
|
const adaptor = new AmazonApiGatewayWebSocket(surface, { modules: ${modules} });
|
|
@@ -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"),
|
|
@@ -4204,8 +4204,9 @@ function processTelemetry(declared, surfaceId, workers) {
|
|
|
4204
4204
|
* The drivers a process's entry registers, from the declarations it reaches:
|
|
4205
4205
|
* the cache's — the declaration for one that named its database, the deploy
|
|
4206
4206
|
* target's default for one that named nowhere — and the broker's, only when
|
|
4207
|
-
* it reaches a topic or a queue (see `eventsBackendsIn`) — and
|
|
4208
|
-
*
|
|
4207
|
+
* it reaches a topic or a queue (see `eventsBackendsIn`) — and, built for
|
|
4208
|
+
* AWS, the KMS cipher when it reaches an `Encryption` and the API Gateway
|
|
4209
|
+
* sink when it reaches a `WebSocketApi`.
|
|
4209
4210
|
*/
|
|
4210
4211
|
function runtimeDrivers(options) {
|
|
4211
4212
|
const eventsBackends = eventsBackendsIn(options.reach, options.eventsBackend);
|
|
@@ -4214,7 +4215,8 @@ function runtimeDrivers(options) {
|
|
|
4214
4215
|
appRoot: options.appRoot,
|
|
4215
4216
|
cache: cacheBackendsIn(options.reach, options.cacheBackend),
|
|
4216
4217
|
events: eventsBackends,
|
|
4217
|
-
kms: opensKmsKeys(options.reach, options.target)
|
|
4218
|
+
kms: opensKmsKeys(options.reach, options.target),
|
|
4219
|
+
apiGatewayWebSockets: publishesToApiGateway(options.reach, options.target)
|
|
4218
4220
|
}),
|
|
4219
4221
|
eventsBackends
|
|
4220
4222
|
};
|
|
@@ -4247,7 +4249,7 @@ async function buildWorkers(input) {
|
|
|
4247
4249
|
});
|
|
4248
4250
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4249
4251
|
if (!input.bundle) continue;
|
|
4250
|
-
const { bundleServer } = await import("./bundler-
|
|
4252
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4251
4253
|
const outfile = workerBundleName(worker.id);
|
|
4252
4254
|
await bundleServer({
|
|
4253
4255
|
entryPoint,
|
|
@@ -4289,7 +4291,7 @@ async function buildProcessors(input) {
|
|
|
4289
4291
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4290
4292
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4291
4293
|
if (!input.bundle) continue;
|
|
4292
|
-
const { bundleServer } = await import("./bundler-
|
|
4294
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4293
4295
|
const outfile = processorBundleName(fileServerId);
|
|
4294
4296
|
await bundleServer({
|
|
4295
4297
|
entryPoint,
|
|
@@ -4372,7 +4374,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4372
4374
|
let masterKey;
|
|
4373
4375
|
if (context.production?.bundle && !skipBundle) {
|
|
4374
4376
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4375
|
-
const { bundleServer } = await import("./bundler-
|
|
4377
|
+
const { bundleServer } = await import("./bundler-Bh5MoDSl.mjs");
|
|
4376
4378
|
const allConstructs = [
|
|
4377
4379
|
...endpoints.map((e) => e.construct),
|
|
4378
4380
|
...functions.map((f) => f.construct),
|
|
@@ -6226,25 +6228,25 @@ function loadPackageJson() {
|
|
|
6226
6228
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6227
6229
|
*/
|
|
6228
6230
|
const GEEKMIDAS_VERSIONS = {
|
|
6229
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6230
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6231
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6232
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6233
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6234
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6235
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6236
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6237
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6238
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6239
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6240
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6241
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6242
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6243
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6244
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6245
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6246
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6247
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6231
|
+
"@geekmidas/audit": ">=10.0.0-alpha.158 <10.0.0",
|
|
6232
|
+
"@geekmidas/auth": ">=10.0.0-alpha.158 <10.0.0",
|
|
6233
|
+
"@geekmidas/cache": ">=10.0.0-alpha.158 <10.0.0",
|
|
6234
|
+
"@geekmidas/client": ">=10.0.0-alpha.158 <10.0.0",
|
|
6235
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.158 <10.0.0",
|
|
6236
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.158 <10.0.0",
|
|
6237
|
+
"@geekmidas/db": ">=10.0.0-alpha.158 <10.0.0",
|
|
6238
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.158 <10.0.0",
|
|
6239
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.158 <10.0.0",
|
|
6240
|
+
"@geekmidas/errors": ">=10.0.0-alpha.158 <10.0.0",
|
|
6241
|
+
"@geekmidas/events": ">=10.0.0-alpha.158 <10.0.0",
|
|
6242
|
+
"@geekmidas/logger": ">=10.0.0-alpha.158 <10.0.0",
|
|
6243
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.158 <10.0.0",
|
|
6244
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.158 <10.0.0",
|
|
6245
|
+
"@geekmidas/schema": ">=10.0.0-alpha.158 <10.0.0",
|
|
6246
|
+
"@geekmidas/services": ">=10.0.0-alpha.158 <10.0.0",
|
|
6247
|
+
"@geekmidas/storage": ">=10.0.0-alpha.158 <10.0.0",
|
|
6248
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.158 <10.0.0",
|
|
6249
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.158 <10.0.0",
|
|
6248
6250
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6249
6251
|
};
|
|
6250
6252
|
//#endregion
|
|
@@ -7437,7 +7439,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7437
7439
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7438
7440
|
* release the pinned commit is.
|
|
7439
7441
|
*/
|
|
7440
|
-
function stagesActionUses(commit = "
|
|
7442
|
+
function stagesActionUses(commit = "2f497604a7b60ff442888c974022b61383e65d67", version = cliVersion()) {
|
|
7441
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`;
|
|
7442
7444
|
}
|
|
7443
7445
|
//#endregion
|
|
@@ -16409,7 +16411,7 @@ function testDatabases(reconciled) {
|
|
|
16409
16411
|
* starts without the reference data the app needs.
|
|
16410
16412
|
*/
|
|
16411
16413
|
async function migrateTestStage(workspace, env) {
|
|
16412
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16414
|
+
const { migrateAndSeed } = await import("./migrate-77UvdtrA.mjs");
|
|
16413
16415
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16414
16416
|
const sources = {};
|
|
16415
16417
|
const manifest = await discover({
|
|
@@ -16862,7 +16864,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16862
16864
|
try {
|
|
16863
16865
|
const globalOptions = program.opts();
|
|
16864
16866
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16865
|
-
const { easSync } = await import("./eas-
|
|
16867
|
+
const { easSync } = await import("./eas-e1TJSqsO.mjs");
|
|
16866
16868
|
await easSync(options);
|
|
16867
16869
|
} catch (error) {
|
|
16868
16870
|
exitWithError(error);
|
|
@@ -16872,7 +16874,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16872
16874
|
try {
|
|
16873
16875
|
const globalOptions = program.opts();
|
|
16874
16876
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16875
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16877
|
+
const { publish, PublishModeConflict } = await import("./publish-Bfr2okmd.mjs");
|
|
16876
16878
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16877
16879
|
const { build, update, ...rest } = options;
|
|
16878
16880
|
await publish({
|
|
@@ -16888,7 +16890,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16888
16890
|
try {
|
|
16889
16891
|
const globalOptions = program.opts();
|
|
16890
16892
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16891
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16893
|
+
const { deployGooglePlay } = await import("./googlePlay-ewWbA1n2.mjs");
|
|
16892
16894
|
await deployGooglePlay(options);
|
|
16893
16895
|
} catch (error) {
|
|
16894
16896
|
exitWithError(error);
|
|
@@ -16910,7 +16912,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16910
16912
|
try {
|
|
16911
16913
|
const globalOptions = program.opts();
|
|
16912
16914
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16913
|
-
const { migrateCommand } = await import("./migrate-
|
|
16915
|
+
const { migrateCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16914
16916
|
await migrateCommand({
|
|
16915
16917
|
...options,
|
|
16916
16918
|
...construct ? { construct } : {}
|
|
@@ -16923,7 +16925,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16923
16925
|
try {
|
|
16924
16926
|
const globalOptions = program.opts();
|
|
16925
16927
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16926
|
-
const { seedCommand } = await import("./migrate-
|
|
16928
|
+
const { seedCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16927
16929
|
await seedCommand({
|
|
16928
16930
|
...options,
|
|
16929
16931
|
...construct ? { construct } : {}
|
|
@@ -16936,7 +16938,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16936
16938
|
try {
|
|
16937
16939
|
const globalOptions = program.opts();
|
|
16938
16940
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16939
|
-
const { migrationCommand } = await import("./migrate-
|
|
16941
|
+
const { migrationCommand } = await import("./migrate-77UvdtrA.mjs");
|
|
16940
16942
|
await migrationCommand({
|
|
16941
16943
|
construct,
|
|
16942
16944
|
...name ? { name } : {}
|
|
@@ -17036,7 +17038,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17036
17038
|
try {
|
|
17037
17039
|
const globalOptions = program.opts();
|
|
17038
17040
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17039
|
-
const { secretsAddCommand } = await import("./add-
|
|
17041
|
+
const { secretsAddCommand } = await import("./add-WRwjtnks.mjs");
|
|
17040
17042
|
await secretsAddCommand(options);
|
|
17041
17043
|
} catch (error) {
|
|
17042
17044
|
exitWithError(error);
|
|
@@ -17046,7 +17048,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17046
17048
|
try {
|
|
17047
17049
|
const globalOptions = program.opts();
|
|
17048
17050
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17049
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17051
|
+
const { encryptionRotateCommand } = await import("./encryption-Bkiis13Q.mjs");
|
|
17050
17052
|
await encryptionRotateCommand(construct, options);
|
|
17051
17053
|
} catch (error) {
|
|
17052
17054
|
exitWithError(error);
|
|
@@ -17056,7 +17058,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17056
17058
|
try {
|
|
17057
17059
|
const globalOptions = program.opts();
|
|
17058
17060
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17059
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17061
|
+
const { encryptionRetireCommand } = await import("./encryption-Bkiis13Q.mjs");
|
|
17060
17062
|
await encryptionRetireCommand(construct, key, options);
|
|
17061
17063
|
} catch (error) {
|
|
17062
17064
|
exitWithError(error);
|
|
@@ -17095,7 +17097,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17095
17097
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17096
17098
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17097
17099
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17098
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
17100
|
+
const { secretsStoreFor } = await import("./credentials-CKCKknMs.mjs").then((n) => n.j);
|
|
17099
17101
|
const { workspace } = await loadWorkspaceConfig();
|
|
17100
17102
|
const stage = options.stage ?? workspace.stages.local;
|
|
17101
17103
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17104,7 +17106,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17104
17106
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17105
17107
|
process.exit(1);
|
|
17106
17108
|
}
|
|
17107
|
-
const { derivedContainers } = await import("./apps-
|
|
17109
|
+
const { derivedContainers } = await import("./apps-BHiqiigd.mjs").then((n) => n.h);
|
|
17108
17110
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17109
17111
|
if (!result) {
|
|
17110
17112
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17121,14 +17123,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17121
17123
|
try {
|
|
17122
17124
|
const globalOptions = program.opts();
|
|
17123
17125
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17124
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17126
|
+
const { secretsMigrateCommand } = await import("./migrate-BhvmnG65.mjs");
|
|
17125
17127
|
await secretsMigrateCommand(options);
|
|
17126
17128
|
} catch (error) {
|
|
17127
17129
|
exitWithError(error);
|
|
17128
17130
|
}
|
|
17129
17131
|
});
|
|
17130
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) => {
|
|
17131
|
-
const { deployCli } = await import("./cli-
|
|
17133
|
+
const { deployCli } = await import("./cli-LI1NhjE5.mjs");
|
|
17132
17134
|
const globalOptions = program.opts();
|
|
17133
17135
|
const code = await deployCli({
|
|
17134
17136
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17148,8 +17150,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17148
17150
|
});
|
|
17149
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) => {
|
|
17150
17152
|
try {
|
|
17151
|
-
const { rollbackStage } = await import("./rollback-
|
|
17152
|
-
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");
|
|
17153
17155
|
const globalOptions = program.opts();
|
|
17154
17156
|
await rollbackStage({
|
|
17155
17157
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17167,7 +17169,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17167
17169
|
try {
|
|
17168
17170
|
const globalOptions = program.opts();
|
|
17169
17171
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17170
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17172
|
+
const { composeServerCommand } = await import("./serverSetup-CpElhF0V.mjs");
|
|
17171
17173
|
await composeServerCommand(options);
|
|
17172
17174
|
} catch (error) {
|
|
17173
17175
|
exitWithError(error);
|
|
@@ -17192,7 +17194,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17192
17194
|
try {
|
|
17193
17195
|
const globalOptions = program.opts();
|
|
17194
17196
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17195
|
-
const { deployGithubCommand } = await import("./github-
|
|
17197
|
+
const { deployGithubCommand } = await import("./github-BuDZaqTQ.mjs");
|
|
17196
17198
|
await deployGithubCommand(options);
|
|
17197
17199
|
} catch (error) {
|
|
17198
17200
|
exitWithError(error);
|