@geekmidas/cli 10.0.0-alpha.181 → 10.0.0-alpha.183
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/{LegacyStateStore-DvufVJjQ.cjs → LegacyStateStore-BFCqFyEq.cjs} +2 -2
- package/dist/{LegacyStateStore-DvufVJjQ.cjs.map → LegacyStateStore-BFCqFyEq.cjs.map} +1 -1
- package/dist/{LegacyStateStore-p-_Z8ucw.mjs → LegacyStateStore-FOUMZXuF.mjs} +2 -2
- package/dist/{LegacyStateStore-p-_Z8ucw.mjs.map → LegacyStateStore-FOUMZXuF.mjs.map} +1 -1
- package/dist/{LocalStateStore-DLDD6udB.cjs → LocalStateStore-B5DZh9J2.cjs} +2 -2
- package/dist/{LocalStateStore-DLDD6udB.cjs.map → LocalStateStore-B5DZh9J2.cjs.map} +1 -1
- package/dist/{LocalStateStore-BKAi5XsN.mjs → LocalStateStore-B7qZNPNd.mjs} +2 -2
- package/dist/{LocalStateStore-BKAi5XsN.mjs.map → LocalStateStore-B7qZNPNd.mjs.map} +1 -1
- package/dist/{S3StateStore-J3FztlVC.cjs → S3StateStore-BSh1asHJ.cjs} +4 -4
- package/dist/{S3StateStore-J3FztlVC.cjs.map → S3StateStore-BSh1asHJ.cjs.map} +1 -1
- package/dist/{S3StateStore-C8thID2w.mjs → S3StateStore-Dy9-O_Ix.mjs} +4 -4
- package/dist/{S3StateStore-C8thID2w.mjs.map → S3StateStore-Dy9-O_Ix.mjs.map} +1 -1
- package/dist/{SSMStateStore-DhkkSF1D.cjs → SSMStateStore-Clw-dnjN.cjs} +2 -2
- package/dist/{SSMStateStore-DhkkSF1D.cjs.map → SSMStateStore-Clw-dnjN.cjs.map} +1 -1
- package/dist/{SSMStateStore-0TQsme40.mjs → SSMStateStore-DQw29x9F.mjs} +2 -2
- package/dist/{SSMStateStore-0TQsme40.mjs.map → SSMStateStore-DQw29x9F.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-B3jHf26s.mjs → SubscriberGenerator-Cfoz8uTY.mjs} +2 -2
- package/dist/SubscriberGenerator-Cfoz8uTY.mjs.map +1 -0
- package/dist/{SubscriberGenerator-JhwVlWBS.cjs → SubscriberGenerator-CxzECrfj.cjs} +2 -2
- package/dist/SubscriberGenerator-CxzECrfj.cjs.map +1 -0
- package/dist/{add-gs34ewLG.cjs → add-BbAyKWsD.cjs} +4 -4
- package/dist/{add-gs34ewLG.cjs.map → add-BbAyKWsD.cjs.map} +1 -1
- package/dist/{add-DWCzdPLz.mjs → add-BewI_NWg.mjs} +4 -4
- package/dist/{add-DWCzdPLz.mjs.map → add-BewI_NWg.mjs.map} +1 -1
- package/dist/{apps-D2oTQasd.mjs → apps-CQqhCjg4.mjs} +4 -4
- package/dist/{apps-D2oTQasd.mjs.map → apps-CQqhCjg4.mjs.map} +1 -1
- package/dist/{apps-C27qrbEe.cjs → apps-DWq98qHY.cjs} +4 -4
- package/dist/{apps-C27qrbEe.cjs.map → apps-DWq98qHY.cjs.map} +1 -1
- package/dist/{bundler-DGeOugof.cjs → bundler-CKKMaAnQ.cjs} +6 -6
- package/dist/{bundler-DGeOugof.cjs.map → bundler-CKKMaAnQ.cjs.map} +1 -1
- package/dist/{bundler-CbT4y4H_.mjs → bundler-FUhPSv3Y.mjs} +6 -6
- package/dist/{bundler-CbT4y4H_.mjs.map → bundler-FUhPSv3Y.mjs.map} +1 -1
- package/dist/{cli-C-jUNT69.cjs → cli-DBdR2Hqf.cjs} +4 -4
- package/dist/{cli-C-jUNT69.cjs.map → cli-DBdR2Hqf.cjs.map} +1 -1
- package/dist/{cli-DKEJryS7.mjs → cli-F4EvxZgK.mjs} +4 -4
- package/dist/{cli-DKEJryS7.mjs.map → cli-F4EvxZgK.mjs.map} +1 -1
- package/dist/{compose-DmtR2f0l.cjs → compose-BWqyiF3p.cjs} +22 -8
- package/dist/compose-BWqyiF3p.cjs.map +1 -0
- package/dist/{compose-BpnSP2x7.mjs → compose-Dx1qWkqA.mjs} +4 -4
- package/dist/{compose-BpnSP2x7.mjs.map → compose-Dx1qWkqA.mjs.map} +1 -1
- package/dist/{compose-Glqs13is.mjs → compose-FHcdMtju.mjs} +22 -8
- package/dist/compose-FHcdMtju.mjs.map +1 -0
- package/dist/{compose-DJAaJEqL.cjs → compose-uWAls-tD.cjs} +4 -4
- package/dist/{compose-DJAaJEqL.cjs.map → compose-uWAls-tD.cjs.map} +1 -1
- package/dist/{dbTunnel-KgbAh2v1.mjs → dbTunnel-DVgW5GGr.mjs} +6 -6
- package/dist/{dbTunnel-KgbAh2v1.mjs.map → dbTunnel-DVgW5GGr.mjs.map} +1 -1
- package/dist/{dbTunnel-DUudiQWj.cjs → dbTunnel-dzS96iTb.cjs} +6 -6
- package/dist/{dbTunnel-DUudiQWj.cjs.map → dbTunnel-dzS96iTb.cjs.map} +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-ycRCutW9.cjs → deploy-B1n2hPbI.cjs} +12 -12
- package/dist/{deploy-ycRCutW9.cjs.map → deploy-B1n2hPbI.cjs.map} +1 -1
- package/dist/{deploy-UkAiPzTp.mjs → deploy-SsifvmBB.mjs} +12 -12
- package/dist/{deploy-UkAiPzTp.mjs.map → deploy-SsifvmBB.mjs.map} +1 -1
- package/dist/{destroy-DzRzQcAR.cjs → destroy-Bn6d47rP.cjs} +7 -7
- package/dist/{destroy-DzRzQcAR.cjs.map → destroy-Bn6d47rP.cjs.map} +1 -1
- package/dist/{destroy-Cq5Un0kf.mjs → destroy-CHigTrDO.mjs} +7 -7
- package/dist/{destroy-Cq5Un0kf.mjs.map → destroy-CHigTrDO.mjs.map} +1 -1
- package/dist/{dns-dl7WUWmB.mjs → dns-w28G3uDJ.mjs} +3 -3
- package/dist/{dns-dl7WUWmB.mjs.map → dns-w28G3uDJ.mjs.map} +1 -1
- package/dist/{dns-7zc-Mc9k.cjs → dns-zWyF3BB0.cjs} +3 -3
- package/dist/{dns-7zc-Mc9k.cjs.map → dns-zWyF3BB0.cjs.map} +1 -1
- package/dist/{docker-MjMWQSEN.mjs → docker-DDiEfZox.mjs} +5 -5
- package/dist/{docker-MjMWQSEN.mjs.map → docker-DDiEfZox.mjs.map} +1 -1
- package/dist/{docker-BDqp9Pfn.cjs → docker-Dox4VZcA.cjs} +5 -5
- package/dist/{docker-BDqp9Pfn.cjs.map → docker-Dox4VZcA.cjs.map} +1 -1
- package/dist/{dokploy-B0xtYCzY.mjs → dokploy-BzfI7ZE0.mjs} +2 -2
- package/dist/{dokploy-B0xtYCzY.mjs.map → dokploy-BzfI7ZE0.mjs.map} +1 -1
- package/dist/{dokploy-D-pBRnSV.cjs → dokploy-CnnrFOBH.cjs} +2 -2
- package/dist/{dokploy-D-pBRnSV.cjs.map → dokploy-CnnrFOBH.cjs.map} +1 -1
- package/dist/{eas-BJRA27vb.cjs → eas-BTOGceIO.cjs} +2 -2
- package/dist/{eas-BJRA27vb.cjs.map → eas-BTOGceIO.cjs.map} +1 -1
- package/dist/{eas-9danFNrJ.mjs → eas-CZ3ZuWTs.mjs} +2 -2
- package/dist/{eas-9danFNrJ.mjs.map → eas-CZ3ZuWTs.mjs.map} +1 -1
- package/dist/{encryption-0IiNCA3O.cjs → encryption-BHGCfu6X.cjs} +2 -2
- package/dist/{encryption-0IiNCA3O.cjs.map → encryption-BHGCfu6X.cjs.map} +1 -1
- package/dist/{encryption-ZDhvgGvu.mjs → encryption-CocJ18w4.mjs} +2 -2
- package/dist/{encryption-ZDhvgGvu.mjs.map → encryption-CocJ18w4.mjs.map} +1 -1
- package/dist/{engine-DpjIgsGn.cjs → engine-3460tLKl.cjs} +8 -8
- package/dist/{engine-DpjIgsGn.cjs.map → engine-3460tLKl.cjs.map} +1 -1
- package/dist/{engine-Csnr6XDu.mjs → engine-B0AwceAI.mjs} +8 -8
- package/dist/{engine-Csnr6XDu.mjs.map → engine-B0AwceAI.mjs.map} +1 -1
- package/dist/{github-Dej8EWxH.mjs → github-BqYhgU8Y.mjs} +6 -6
- package/dist/{github-Dej8EWxH.mjs.map → github-BqYhgU8Y.mjs.map} +1 -1
- package/dist/{github-HHxVur1m.cjs → github-DMQSq0Jm.cjs} +6 -6
- package/dist/{github-HHxVur1m.cjs.map → github-DMQSq0Jm.cjs.map} +1 -1
- package/dist/{googlePlay-NK1zgJJm.cjs → googlePlay-DTQ_epbl.cjs} +4 -4
- package/dist/{googlePlay-NK1zgJJm.cjs.map → googlePlay-DTQ_epbl.cjs.map} +1 -1
- package/dist/{googlePlay-DNrD-67X.mjs → googlePlay-y4fWdG2Z.mjs} +4 -4
- package/dist/{googlePlay-DNrD-67X.mjs.map → googlePlay-y4fWdG2Z.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-BW_VIsx0.cjs → local-CZbNAWuZ.cjs} +2 -2
- package/dist/{local-BW_VIsx0.cjs.map → local-CZbNAWuZ.cjs.map} +1 -1
- package/dist/{local-CVp-4wDb.mjs → local-DJuonm2r.mjs} +2 -2
- package/dist/{local-CVp-4wDb.mjs.map → local-DJuonm2r.mjs.map} +1 -1
- package/dist/{migrate-B8fq5egU.cjs → migrate-CJNgQxYs.cjs} +4 -4
- package/dist/{migrate-B8fq5egU.cjs.map → migrate-CJNgQxYs.cjs.map} +1 -1
- package/dist/{migrate-C8yCZ5P3.mjs → migrate-D79KnjFu.mjs} +2 -2
- package/dist/{migrate-C8yCZ5P3.mjs.map → migrate-D79KnjFu.mjs.map} +1 -1
- package/dist/{migrate-CkSq2f7k.mjs → migrate-DU4G7xbh.mjs} +4 -4
- package/dist/{migrate-CkSq2f7k.mjs.map → migrate-DU4G7xbh.mjs.map} +1 -1
- package/dist/{migrate-FOc2erAl.cjs → migrate-DXLhzkls.cjs} +2 -2
- package/dist/{migrate-FOc2erAl.cjs.map → migrate-DXLhzkls.cjs.map} +1 -1
- package/dist/{notes--JQyDHim.cjs → notes-CF_NOgxM.cjs} +2 -2
- package/dist/{notes--JQyDHim.cjs.map → notes-CF_NOgxM.cjs.map} +1 -1
- package/dist/{notes-DXl9qERh.mjs → notes-Dwc9WLvg.mjs} +2 -2
- package/dist/{notes-DXl9qERh.mjs.map → notes-Dwc9WLvg.mjs.map} +1 -1
- package/dist/{projectBucket-CGpcWqyY.cjs → projectBucket-BoH-BJPI.cjs} +2 -2
- package/dist/{projectBucket-CGpcWqyY.cjs.map → projectBucket-BoH-BJPI.cjs.map} +1 -1
- package/dist/{projectBucket-TigJy25c.mjs → projectBucket-rVF15Mu-.mjs} +2 -2
- package/dist/{projectBucket-TigJy25c.mjs.map → projectBucket-rVF15Mu-.mjs.map} +1 -1
- package/dist/{publish-D4pC6_G0.cjs → publish-DBDdm5Dz.cjs} +2 -2
- package/dist/{publish-D4pC6_G0.cjs.map → publish-DBDdm5Dz.cjs.map} +1 -1
- package/dist/{publish-BPfW3DWi.mjs → publish-EaWW1vhe.mjs} +2 -2
- package/dist/{publish-BPfW3DWi.mjs.map → publish-EaWW1vhe.mjs.map} +1 -1
- package/dist/{ready-ByQvw4-W.cjs → ready--_hMxbUX.cjs} +2 -2
- package/dist/{ready-ByQvw4-W.cjs.map → ready--_hMxbUX.cjs.map} +1 -1
- package/dist/{ready-BcV28QoW.mjs → ready-CjIqXFXe.mjs} +2 -2
- package/dist/{ready-BcV28QoW.mjs.map → ready-CjIqXFXe.mjs.map} +1 -1
- package/dist/{resolve-DA1kORng.mjs → resolve-DLUOV7Tt.mjs} +4 -4
- package/dist/{resolve-DA1kORng.mjs.map → resolve-DLUOV7Tt.mjs.map} +1 -1
- package/dist/{resolve-BmBR1vBr.cjs → resolve-De0Dw9wI.cjs} +4 -4
- package/dist/{resolve-BmBR1vBr.cjs.map → resolve-De0Dw9wI.cjs.map} +1 -1
- package/dist/{rollback-tsy4pyEp.cjs → rollback-61Be6ASD.cjs} +5 -5
- package/dist/{rollback-tsy4pyEp.cjs.map → rollback-61Be6ASD.cjs.map} +1 -1
- package/dist/{rollback-DlgQDX8m.mjs → rollback-bDh-dBGa.mjs} +5 -5
- package/dist/{rollback-DlgQDX8m.mjs.map → rollback-bDh-dBGa.mjs.map} +1 -1
- package/dist/{s3-BLEF-PQU.cjs → s3-Bw-Cpb0k.cjs} +2 -2
- package/dist/{s3-BLEF-PQU.cjs.map → s3-Bw-Cpb0k.cjs.map} +1 -1
- package/dist/{s3-DVYiOqWs.mjs → s3-CRLJjozN.mjs} +2 -2
- package/dist/{s3-DVYiOqWs.mjs.map → s3-CRLJjozN.mjs.map} +1 -1
- package/dist/{serverSetup-Dsy8drIb.mjs → serverSetup-9BMKflju.mjs} +5 -5
- package/dist/{serverSetup-Dsy8drIb.mjs.map → serverSetup-9BMKflju.mjs.map} +1 -1
- package/dist/{serverSetup-B_O65wLb.cjs → serverSetup-DkKFG--v.cjs} +5 -5
- package/dist/{serverSetup-B_O65wLb.cjs.map → serverSetup-DkKFG--v.cjs.map} +1 -1
- package/dist/{sniffer-Ckx4cr-o.cjs → sniffer-Dss2_3q7.cjs} +6 -6
- package/dist/{sniffer-Ckx4cr-o.cjs.map → sniffer-Dss2_3q7.cjs.map} +1 -1
- package/dist/{sniffer-fBefNUuJ.mjs → sniffer-PDjJ-6ki.mjs} +6 -6
- package/dist/{sniffer-fBefNUuJ.mjs.map → sniffer-PDjJ-6ki.mjs.map} +1 -1
- package/dist/{snsSubscriptions-ChbFp-QP.cjs → snsSubscriptions-BA4UEQDb.cjs} +3 -3
- package/dist/{snsSubscriptions-ChbFp-QP.cjs.map → snsSubscriptions-BA4UEQDb.cjs.map} +1 -1
- package/dist/{snsSubscriptions-BJ0LErGk.mjs → snsSubscriptions-BwwRq60H.mjs} +3 -3
- package/dist/{snsSubscriptions-BJ0LErGk.mjs.map → snsSubscriptions-BwwRq60H.mjs.map} +1 -1
- package/dist/{sst-BnuPeGyy.cjs → sst-Dy-LThkf.cjs} +4 -4
- package/dist/{sst-BnuPeGyy.cjs.map → sst-Dy-LThkf.cjs.map} +1 -1
- package/dist/{sst-Y7H_zaEZ.mjs → sst-xWQPl_tB.mjs} +4 -4
- package/dist/{sst-Y7H_zaEZ.mjs.map → sst-xWQPl_tB.mjs.map} +1 -1
- package/dist/{stack-BAipv5Js.cjs → stack-BQKXw0dX.cjs} +7 -7
- package/dist/{stack-BAipv5Js.cjs.map → stack-BQKXw0dX.cjs.map} +1 -1
- package/dist/{stack-BHrGbsGA.mjs → stack-pftB9Sqp.mjs} +7 -7
- package/dist/{stack-BHrGbsGA.mjs.map → stack-pftB9Sqp.mjs.map} +1 -1
- package/dist/{stage-D7vBtLXL.cjs → stage-BsdW3fQh.cjs} +5 -5
- package/dist/{stage-D7vBtLXL.cjs.map → stage-BsdW3fQh.cjs.map} +1 -1
- package/dist/{stage-BSZ9890H.mjs → stage-ZBO62mNs.mjs} +5 -5
- package/dist/{stage-BSZ9890H.mjs.map → stage-ZBO62mNs.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-lp8RwHdX.mjs → terminal-DUQ0yaZQ.mjs} +2 -2
- package/dist/{terminal-lp8RwHdX.mjs.map → terminal-DUQ0yaZQ.mjs.map} +1 -1
- package/dist/{terminal-B7G-FtkD.cjs → terminal-DhPb_CKf.cjs} +2 -2
- package/dist/{terminal-B7G-FtkD.cjs.map → terminal-DhPb_CKf.cjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/package.json +16 -16
- package/dist/SubscriberGenerator-B3jHf26s.mjs.map +0 -1
- package/dist/SubscriberGenerator-JhwVlWBS.cjs.map +0 -1
- package/dist/compose-DmtR2f0l.cjs.map +0 -1
- package/dist/compose-Glqs13is.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-C9uIyIDt.mjs";
|
|
4
|
-
import { A as maskPassword, B as getKeyPath, C as providerOf, E as secretsStoreFor, L as FileSecretsStore, M as toEmbeddableSecrets, N as withCustomSecret, S as eventsBackendFor, W as projectKey, _t as gkmHome, ct as getDokployRegistryId, dt as removeDokployCredentials, ft as removeGoDaddyCredentials, ht as storeHostingerToken, lt as getDokployToken, mt as storeGoDaddyToken, ot as getCredentialsPath, pt as storeDokployCredentials, q as deployIdentity, rt as DEFAULT_TIMEOUT_MS, st as getDokployCredentials, tt as CommandFailed, ut as readCredentials, x as cacheBackendFor } from "./dns-
|
|
5
|
-
import { _ as ContainersNotStopped, c as parseDigests, d as removeEdgeRoutes, f as composeServer, g as ContainersNotStarted, h as sshTarget, i as ComposePushNeedsBuild, l as pinnedRef, p as dockerHost, r as ComposePinNeedsPull, t as composeTarget, u as edgeRef, v as dockerCompose, y as projectNetwork } from "./compose-
|
|
4
|
+
import { A as maskPassword, B as getKeyPath, C as providerOf, E as secretsStoreFor, L as FileSecretsStore, M as toEmbeddableSecrets, N as withCustomSecret, S as eventsBackendFor, W as projectKey, _t as gkmHome, ct as getDokployRegistryId, dt as removeDokployCredentials, ft as removeGoDaddyCredentials, ht as storeHostingerToken, lt as getDokployToken, mt as storeGoDaddyToken, ot as getCredentialsPath, pt as storeDokployCredentials, q as deployIdentity, rt as DEFAULT_TIMEOUT_MS, st as getDokployCredentials, tt as CommandFailed, ut as readCredentials, x as cacheBackendFor } from "./dns-w28G3uDJ.mjs";
|
|
5
|
+
import { _ as ContainersNotStopped, c as parseDigests, d as removeEdgeRoutes, f as composeServer, g as ContainersNotStarted, h as sshTarget, i as ComposePushNeedsBuild, l as pinnedRef, p as dockerHost, r as ComposePinNeedsPull, t as composeTarget, u as edgeRef, v as dockerCompose, y as projectNetwork } from "./compose-FHcdMtju.mjs";
|
|
6
6
|
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, ct as protectedSubdomains, d as getAppGkmConfig, j as TEST_STAGE, lt as wildcardSite, ot as appKey, u as getAppBuildOrder } from "./workspace-DJjhfAGf.mjs";
|
|
7
|
-
import { At as backupsPrefix, Dt as backupDatabases, J as imageBuildCredentials, Mt as stageBackups, Tt as stageEnv$1, Y as isImageBuild, _ as forgetState, at as BACKUPS_SERVICE, bt as quoteIdentifier, d as backendsOf$1, f as constructGlobs, it as workerUnits, jt as runTime, kt as backupFile, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as BACKUPS_URL_KEY, p as derivedContainers, rt as processorUnits, st as RUNNER_PATH, tt as isUnder, u as FAKE_ENV, vt as postgresDatabaseNames, x as pgClient } from "./apps-
|
|
7
|
+
import { At as backupsPrefix, Dt as backupDatabases, J as imageBuildCredentials, Mt as stageBackups, Tt as stageEnv$1, Y as isImageBuild, _ as forgetState, at as BACKUPS_SERVICE, bt as quoteIdentifier, d as backendsOf$1, f as constructGlobs, it as workerUnits, jt as runTime, kt as backupFile, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as BACKUPS_URL_KEY, p as derivedContainers, rt as processorUnits, st as RUNNER_PATH, tt as isUnder, u as FAKE_ENV, vt as postgresDatabaseNames, x as pgClient } from "./apps-CQqhCjg4.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { I as surfaceClientTraced, L as telemetryOf, N as scopeTelemetryEnv, O as TELEMETRY_CONTAINER, _ as readLocalCredentials, a as createEntryWrapper, at as describeServices, c as loadEnvFiles, ct as portsOf, d as prepareEntryCredentials, ft as LOCAL_LOGS_EMAIL, i as createCredentialsPreload, j as appTelemetry, l as loadPortState, o as findAvailablePort, ot as fakeKey, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, ut as primaryPortKey } from "./compose-
|
|
10
|
-
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
9
|
+
import { I as surfaceClientTraced, L as telemetryOf, N as scopeTelemetryEnv, O as TELEMETRY_CONTAINER, _ as readLocalCredentials, a as createEntryWrapper, at as describeServices, c as loadEnvFiles, ct as portsOf, d as prepareEntryCredentials, ft as LOCAL_LOGS_EMAIL, i as createCredentialsPreload, j as appTelemetry, l as loadPortState, o as findAvailablePort, ot as fakeKey, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, ut as primaryPortKey } from "./compose-Dx1qWkqA.mjs";
|
|
10
|
+
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-Cfoz8uTY.mjs";
|
|
11
11
|
import { c as publishesToApiGateway, i as eventsBackendsIn, m as isCacheBackend, n as driversFor, r as driversOf, s as opensKmsKeys, t as cacheBackendsIn } from "./drivers-BQRb3KsL.mjs";
|
|
12
12
|
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-CBKH87_b.mjs";
|
|
13
13
|
import { i as discover, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-Dfmn6HQ7.mjs";
|
|
14
14
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
15
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
16
|
-
import { _ as awsEndpoint, a as composeProject, c as derivedCredentials, f as stackPlan, g as awsClientConfig, v as awsProvisioningCredentials } from "./stack-
|
|
17
|
-
import { C as servedBy, S as reachedBy, _ as processorInfo, b as handlerDriversFor, 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, v as appOutputDir, w as surfaceAt, x as ownersContext, y as sharedDirectoryTree } from "./docker-
|
|
15
|
+
import { d as assertDevServicesFlag } from "./notes-Dwc9WLvg.mjs";
|
|
16
|
+
import { _ as awsEndpoint, a as composeProject, c as derivedCredentials, f as stackPlan, g as awsClientConfig, v as awsProvisioningCredentials } from "./stack-pftB9Sqp.mjs";
|
|
17
|
+
import { C as servedBy, S as reachedBy, _ as processorInfo, b as handlerDriversFor, 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, v as appOutputDir, w as surfaceAt, x as ownersContext, y as sharedDirectoryTree } from "./docker-DDiEfZox.mjs";
|
|
18
18
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
19
19
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
20
20
|
import { n as withHandlers, t as manifestModule } from "./emit-C4KSXOeS.mjs";
|
|
21
|
-
import { t as LocalSandbox } from "./local-
|
|
22
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
23
|
-
import { t as deploy$1 } from "./deploy-
|
|
21
|
+
import { t as LocalSandbox } from "./local-DJuonm2r.mjs";
|
|
22
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-PDjJ-6ki.mjs";
|
|
23
|
+
import { t as deploy$1 } from "./deploy-SsifvmBB.mjs";
|
|
24
24
|
import { a as describeActor, d as dnsResources } from "./seeds-Ccn0Ru2T.mjs";
|
|
25
25
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-D_85KW2k.mjs";
|
|
26
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
26
|
+
import { t as LocalStateStore } from "./LocalStateStore-B7qZNPNd.mjs";
|
|
27
27
|
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";
|
|
28
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
28
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-CjIqXFXe.mjs";
|
|
29
29
|
import { createRequire } from "node:module";
|
|
30
30
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
31
31
|
import { Command, Option } from "commander";
|
|
@@ -56,7 +56,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
56
56
|
import crypto from "crypto";
|
|
57
57
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
58
58
|
//#region package.json
|
|
59
|
-
var version = "10.0.0-alpha.
|
|
59
|
+
var version = "10.0.0-alpha.183";
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/prompt.ts
|
|
62
62
|
/**
|
|
@@ -139,7 +139,7 @@ const logger$8 = console;
|
|
|
139
139
|
* Validate Dokploy token by making a test API call
|
|
140
140
|
*/
|
|
141
141
|
async function validateDokployToken(endpoint, token) {
|
|
142
|
-
const { DokployApi } = await import("./sniffer-
|
|
142
|
+
const { DokployApi } = await import("./sniffer-PDjJ-6ki.mjs").then((n) => n.c);
|
|
143
143
|
return new DokployApi({
|
|
144
144
|
baseUrl: endpoint,
|
|
145
145
|
token
|
|
@@ -2524,7 +2524,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2524
2524
|
const cwd = options.cwd ?? process.cwd();
|
|
2525
2525
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2526
2526
|
if (options.stage && !isImageBuild()) {
|
|
2527
|
-
const { execOnStage } = await import("./stage-
|
|
2527
|
+
const { execOnStage } = await import("./stage-ZBO62mNs.mjs").then((n) => n.a);
|
|
2528
2528
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2529
2529
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2530
2530
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -3100,9 +3100,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
3100
3100
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
3101
3101
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
3102
3102
|
if (options.migrate || options.seed) {
|
|
3103
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
3103
|
+
const { prepareDevDatabases } = await import("./migrate-DU4G7xbh.mjs");
|
|
3104
3104
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
3105
|
-
} else await import("./migrate-
|
|
3105
|
+
} else await import("./migrate-DU4G7xbh.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
3106
3106
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
3107
3107
|
});
|
|
3108
3108
|
const appUrls = {};
|
|
@@ -4250,7 +4250,7 @@ async function buildApp(input) {
|
|
|
4250
4250
|
...telemetry ? { telemetry } : {},
|
|
4251
4251
|
trustedOriginsKey: providedKeyFor(selfServing.id, "rest-api", "trustedOrigins")
|
|
4252
4252
|
});
|
|
4253
|
-
const { bundleServer } = await import("./bundler-
|
|
4253
|
+
const { bundleServer } = await import("./bundler-FUhPSv3Y.mjs");
|
|
4254
4254
|
await bundleServer({
|
|
4255
4255
|
entryPoint,
|
|
4256
4256
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4531,7 +4531,7 @@ async function buildWorkers(input) {
|
|
|
4531
4531
|
});
|
|
4532
4532
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4533
4533
|
if (!input.bundle) continue;
|
|
4534
|
-
const { bundleServer } = await import("./bundler-
|
|
4534
|
+
const { bundleServer } = await import("./bundler-FUhPSv3Y.mjs");
|
|
4535
4535
|
const outfile = workerBundleName(worker.id);
|
|
4536
4536
|
await bundleServer({
|
|
4537
4537
|
entryPoint,
|
|
@@ -4573,7 +4573,7 @@ async function buildProcessors(input) {
|
|
|
4573
4573
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4574
4574
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4575
4575
|
if (!input.bundle) continue;
|
|
4576
|
-
const { bundleServer } = await import("./bundler-
|
|
4576
|
+
const { bundleServer } = await import("./bundler-FUhPSv3Y.mjs");
|
|
4577
4577
|
const outfile = processorBundleName(fileServerId);
|
|
4578
4578
|
await bundleServer({
|
|
4579
4579
|
entryPoint,
|
|
@@ -4659,7 +4659,7 @@ async function buildForTarget(target, context, appRoot, outputDir, workspaceRoot
|
|
|
4659
4659
|
let masterKey;
|
|
4660
4660
|
if (context.production?.bundle && !skipBundle) {
|
|
4661
4661
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4662
|
-
const { bundleServer } = await import("./bundler-
|
|
4662
|
+
const { bundleServer } = await import("./bundler-FUhPSv3Y.mjs");
|
|
4663
4663
|
const allConstructs = [
|
|
4664
4664
|
...endpoints.map((e) => e.construct),
|
|
4665
4665
|
...functions.map((f) => f.construct),
|
|
@@ -4938,7 +4938,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4938
4938
|
["tag", "--tag"]
|
|
4939
4939
|
].find(([key]) => options[key] !== void 0 && options[key] !== false)?.[1];
|
|
4940
4940
|
if (flag) throw new ComposeDestroyConflict(flag);
|
|
4941
|
-
const { composeDestroyCommand } = await import("./destroy-
|
|
4941
|
+
const { composeDestroyCommand } = await import("./destroy-CHigTrDO.mjs");
|
|
4942
4942
|
await composeDestroyCommand({
|
|
4943
4943
|
stage: options.stage,
|
|
4944
4944
|
...options.cwd ? { cwd: options.cwd } : {},
|
|
@@ -4956,7 +4956,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4956
4956
|
const { workspace } = loaded;
|
|
4957
4957
|
const { stage } = options;
|
|
4958
4958
|
if (options.down) {
|
|
4959
|
-
const { composeStackRef } = await import("./destroy-
|
|
4959
|
+
const { composeStackRef } = await import("./destroy-CHigTrDO.mjs");
|
|
4960
4960
|
const { ref, dir, server } = await composeStackRef(workspace, stage);
|
|
4961
4961
|
const docker = deps.docker ?? dockerCompose;
|
|
4962
4962
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
@@ -6537,25 +6537,25 @@ function loadPackageJson() {
|
|
|
6537
6537
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6538
6538
|
*/
|
|
6539
6539
|
const GEEKMIDAS_VERSIONS = {
|
|
6540
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6541
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6542
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6543
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6544
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6545
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6546
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6547
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6548
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6549
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6550
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6551
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6552
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6553
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6554
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6555
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6556
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6557
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6558
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6540
|
+
"@geekmidas/audit": ">=10.0.0-alpha.183 <10.0.0",
|
|
6541
|
+
"@geekmidas/auth": ">=10.0.0-alpha.183 <10.0.0",
|
|
6542
|
+
"@geekmidas/cache": ">=10.0.0-alpha.183 <10.0.0",
|
|
6543
|
+
"@geekmidas/client": ">=10.0.0-alpha.183 <10.0.0",
|
|
6544
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.183 <10.0.0",
|
|
6545
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.183 <10.0.0",
|
|
6546
|
+
"@geekmidas/db": ">=10.0.0-alpha.183 <10.0.0",
|
|
6547
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.183 <10.0.0",
|
|
6548
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.183 <10.0.0",
|
|
6549
|
+
"@geekmidas/errors": ">=10.0.0-alpha.183 <10.0.0",
|
|
6550
|
+
"@geekmidas/events": ">=10.0.0-alpha.183 <10.0.0",
|
|
6551
|
+
"@geekmidas/logger": ">=10.0.0-alpha.183 <10.0.0",
|
|
6552
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.183 <10.0.0",
|
|
6553
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.183 <10.0.0",
|
|
6554
|
+
"@geekmidas/schema": ">=10.0.0-alpha.183 <10.0.0",
|
|
6555
|
+
"@geekmidas/services": ">=10.0.0-alpha.183 <10.0.0",
|
|
6556
|
+
"@geekmidas/storage": ">=10.0.0-alpha.183 <10.0.0",
|
|
6557
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.183 <10.0.0",
|
|
6558
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.183 <10.0.0",
|
|
6559
6559
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6560
6560
|
};
|
|
6561
6561
|
//#endregion
|
|
@@ -7748,7 +7748,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7748
7748
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7749
7749
|
* release the pinned commit is.
|
|
7750
7750
|
*/
|
|
7751
|
-
function stagesActionUses(commit = "
|
|
7751
|
+
function stagesActionUses(commit = "115af682dfad3ee6d5f01aa26561321e6421d45a", version = cliVersion()) {
|
|
7752
7752
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7753
7753
|
}
|
|
7754
7754
|
//#endregion
|
|
@@ -16721,7 +16721,7 @@ function testDatabases(reconciled) {
|
|
|
16721
16721
|
* starts without the reference data the app needs.
|
|
16722
16722
|
*/
|
|
16723
16723
|
async function migrateTestStage(workspace, env) {
|
|
16724
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16724
|
+
const { migrateAndSeed } = await import("./migrate-DU4G7xbh.mjs");
|
|
16725
16725
|
const { discover } = await import("./discover-Dfmn6HQ7.mjs").then((n) => n.a);
|
|
16726
16726
|
const sources = {};
|
|
16727
16727
|
const manifest = await discover({
|
|
@@ -17175,7 +17175,7 @@ program.command("db:tunnel").description("Open an SSH tunnel to a deployed compo
|
|
|
17175
17175
|
try {
|
|
17176
17176
|
const globalOptions = program.opts();
|
|
17177
17177
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17178
|
-
const { dbTunnel } = await import("./dbTunnel-
|
|
17178
|
+
const { dbTunnel } = await import("./dbTunnel-DVgW5GGr.mjs");
|
|
17179
17179
|
await dbTunnel({
|
|
17180
17180
|
...options,
|
|
17181
17181
|
...construct ? { construct } : {}
|
|
@@ -17188,7 +17188,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
17188
17188
|
try {
|
|
17189
17189
|
const globalOptions = program.opts();
|
|
17190
17190
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17191
|
-
const { easSync } = await import("./eas-
|
|
17191
|
+
const { easSync } = await import("./eas-CZ3ZuWTs.mjs");
|
|
17192
17192
|
await easSync(options);
|
|
17193
17193
|
} catch (error) {
|
|
17194
17194
|
exitWithError(error);
|
|
@@ -17198,7 +17198,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
17198
17198
|
try {
|
|
17199
17199
|
const globalOptions = program.opts();
|
|
17200
17200
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17201
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
17201
|
+
const { publish, PublishModeConflict } = await import("./publish-EaWW1vhe.mjs");
|
|
17202
17202
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
17203
17203
|
const { build, update, ...rest } = options;
|
|
17204
17204
|
await publish({
|
|
@@ -17214,7 +17214,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
17214
17214
|
try {
|
|
17215
17215
|
const globalOptions = program.opts();
|
|
17216
17216
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17217
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
17217
|
+
const { deployGooglePlay } = await import("./googlePlay-y4fWdG2Z.mjs");
|
|
17218
17218
|
await deployGooglePlay(options);
|
|
17219
17219
|
} catch (error) {
|
|
17220
17220
|
exitWithError(error);
|
|
@@ -17236,7 +17236,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
17236
17236
|
try {
|
|
17237
17237
|
const globalOptions = program.opts();
|
|
17238
17238
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17239
|
-
const { migrateCommand } = await import("./migrate-
|
|
17239
|
+
const { migrateCommand } = await import("./migrate-DU4G7xbh.mjs");
|
|
17240
17240
|
await migrateCommand({
|
|
17241
17241
|
...options,
|
|
17242
17242
|
...construct ? { construct } : {}
|
|
@@ -17249,7 +17249,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
17249
17249
|
try {
|
|
17250
17250
|
const globalOptions = program.opts();
|
|
17251
17251
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17252
|
-
const { seedCommand } = await import("./migrate-
|
|
17252
|
+
const { seedCommand } = await import("./migrate-DU4G7xbh.mjs");
|
|
17253
17253
|
await seedCommand({
|
|
17254
17254
|
...options,
|
|
17255
17255
|
...construct ? { construct } : {}
|
|
@@ -17262,7 +17262,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
17262
17262
|
try {
|
|
17263
17263
|
const globalOptions = program.opts();
|
|
17264
17264
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17265
|
-
const { migrationCommand } = await import("./migrate-
|
|
17265
|
+
const { migrationCommand } = await import("./migrate-DU4G7xbh.mjs");
|
|
17266
17266
|
await migrationCommand({
|
|
17267
17267
|
construct,
|
|
17268
17268
|
...name ? { name } : {}
|
|
@@ -17362,7 +17362,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17362
17362
|
try {
|
|
17363
17363
|
const globalOptions = program.opts();
|
|
17364
17364
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17365
|
-
const { secretsAddCommand } = await import("./add-
|
|
17365
|
+
const { secretsAddCommand } = await import("./add-BewI_NWg.mjs");
|
|
17366
17366
|
await secretsAddCommand(options);
|
|
17367
17367
|
} catch (error) {
|
|
17368
17368
|
exitWithError(error);
|
|
@@ -17372,7 +17372,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17372
17372
|
try {
|
|
17373
17373
|
const globalOptions = program.opts();
|
|
17374
17374
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17375
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17375
|
+
const { encryptionRotateCommand } = await import("./encryption-CocJ18w4.mjs");
|
|
17376
17376
|
await encryptionRotateCommand(construct, options);
|
|
17377
17377
|
} catch (error) {
|
|
17378
17378
|
exitWithError(error);
|
|
@@ -17382,7 +17382,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17382
17382
|
try {
|
|
17383
17383
|
const globalOptions = program.opts();
|
|
17384
17384
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17385
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17385
|
+
const { encryptionRetireCommand } = await import("./encryption-CocJ18w4.mjs");
|
|
17386
17386
|
await encryptionRetireCommand(construct, key, options);
|
|
17387
17387
|
} catch (error) {
|
|
17388
17388
|
exitWithError(error);
|
|
@@ -17421,7 +17421,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17421
17421
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17422
17422
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17423
17423
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17424
|
-
const { secretsStoreFor } = await import("./dns-
|
|
17424
|
+
const { secretsStoreFor } = await import("./dns-w28G3uDJ.mjs").then((n) => n.O);
|
|
17425
17425
|
const { workspace } = await loadWorkspaceConfig();
|
|
17426
17426
|
const stage = options.stage ?? workspace.stages.local;
|
|
17427
17427
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17430,7 +17430,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17430
17430
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17431
17431
|
process.exit(1);
|
|
17432
17432
|
}
|
|
17433
|
-
const { derivedContainers } = await import("./apps-
|
|
17433
|
+
const { derivedContainers } = await import("./apps-CQqhCjg4.mjs").then((n) => n.h);
|
|
17434
17434
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17435
17435
|
if (!result) {
|
|
17436
17436
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17447,14 +17447,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17447
17447
|
try {
|
|
17448
17448
|
const globalOptions = program.opts();
|
|
17449
17449
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17450
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17450
|
+
const { secretsMigrateCommand } = await import("./migrate-D79KnjFu.mjs");
|
|
17451
17451
|
await secretsMigrateCommand(options);
|
|
17452
17452
|
} catch (error) {
|
|
17453
17453
|
exitWithError(error);
|
|
17454
17454
|
}
|
|
17455
17455
|
});
|
|
17456
17456
|
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>", "Release tag (default: a timestamp; compose: the commit). Each image is tagged <tag>-<stage>. 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) => {
|
|
17457
|
-
const { deployCli } = await import("./cli-
|
|
17457
|
+
const { deployCli } = await import("./cli-F4EvxZgK.mjs");
|
|
17458
17458
|
const globalOptions = program.opts();
|
|
17459
17459
|
const code = await deployCli({
|
|
17460
17460
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17474,8 +17474,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17474
17474
|
});
|
|
17475
17475
|
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) => {
|
|
17476
17476
|
try {
|
|
17477
|
-
const { rollbackStage } = await import("./rollback-
|
|
17478
|
-
const { terminalCredentials } = await import("./terminal-
|
|
17477
|
+
const { rollbackStage } = await import("./rollback-bDh-dBGa.mjs").then((n) => n.a);
|
|
17478
|
+
const { terminalCredentials } = await import("./terminal-DUQ0yaZQ.mjs");
|
|
17479
17479
|
const globalOptions = program.opts();
|
|
17480
17480
|
await rollbackStage({
|
|
17481
17481
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17493,7 +17493,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17493
17493
|
try {
|
|
17494
17494
|
const globalOptions = program.opts();
|
|
17495
17495
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17496
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17496
|
+
const { composeServerCommand } = await import("./serverSetup-9BMKflju.mjs");
|
|
17497
17497
|
await composeServerCommand(options);
|
|
17498
17498
|
} catch (error) {
|
|
17499
17499
|
exitWithError(error);
|
|
@@ -17518,7 +17518,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17518
17518
|
try {
|
|
17519
17519
|
const globalOptions = program.opts();
|
|
17520
17520
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17521
|
-
const { deployGithubCommand } = await import("./github-
|
|
17521
|
+
const { deployGithubCommand } = await import("./github-BqYhgU8Y.mjs");
|
|
17522
17522
|
await deployGithubCommand(options);
|
|
17523
17523
|
} catch (error) {
|
|
17524
17524
|
exitWithError(error);
|