@geekmidas/cli 10.0.0-alpha.177 → 10.0.0-alpha.179
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-Bos-4m3b.cjs → GoDaddyProvider-B9AMLUHF.cjs} +2 -2
- package/dist/{GoDaddyProvider-Bos-4m3b.cjs.map → GoDaddyProvider-B9AMLUHF.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-B5Vp3PFa.mjs → GoDaddyProvider-DLVKx7er.mjs} +2 -2
- package/dist/{GoDaddyProvider-B5Vp3PFa.mjs.map → GoDaddyProvider-DLVKx7er.mjs.map} +1 -1
- package/dist/{HostingerProvider-jar5l8ck.cjs → HostingerProvider-DBPWhL_s.cjs} +2 -2
- package/dist/{HostingerProvider-jar5l8ck.cjs.map → HostingerProvider-DBPWhL_s.cjs.map} +1 -1
- package/dist/{HostingerProvider-DCg0rGXq.mjs → HostingerProvider-kLQsBCjz.mjs} +2 -2
- package/dist/{HostingerProvider-DCg0rGXq.mjs.map → HostingerProvider-kLQsBCjz.mjs.map} +1 -1
- package/dist/{LegacyStateStore-mUqUP71P.mjs → LegacyStateStore-BzUlIHvz.mjs} +2 -2
- package/dist/{LegacyStateStore-mUqUP71P.mjs.map → LegacyStateStore-BzUlIHvz.mjs.map} +1 -1
- package/dist/{LegacyStateStore-qUlI9q4J.cjs → LegacyStateStore-C7FFaVce.cjs} +2 -2
- package/dist/{LegacyStateStore-qUlI9q4J.cjs.map → LegacyStateStore-C7FFaVce.cjs.map} +1 -1
- package/dist/{LocalStateStore-C8KQoWQ4.cjs → LocalStateStore-BJQvLCrg.cjs} +2 -2
- package/dist/{LocalStateStore-C8KQoWQ4.cjs.map → LocalStateStore-BJQvLCrg.cjs.map} +1 -1
- package/dist/{LocalStateStore-B3BGSP9X.mjs → LocalStateStore-BvI8RUtS.mjs} +2 -2
- package/dist/{LocalStateStore-B3BGSP9X.mjs.map → LocalStateStore-BvI8RUtS.mjs.map} +1 -1
- package/dist/{S3StateStore-Bb_pR9qR.cjs → S3StateStore-C1ZX1w5v.cjs} +4 -4
- package/dist/{S3StateStore-Bb_pR9qR.cjs.map → S3StateStore-C1ZX1w5v.cjs.map} +1 -1
- package/dist/{S3StateStore-BrXQgGqq.mjs → S3StateStore-DYQSxiVw.mjs} +4 -4
- package/dist/{S3StateStore-BrXQgGqq.mjs.map → S3StateStore-DYQSxiVw.mjs.map} +1 -1
- package/dist/{SSMStateStore-B8Opl_On.mjs → SSMStateStore-DWQk17j8.mjs} +2 -2
- package/dist/{SSMStateStore-B8Opl_On.mjs.map → SSMStateStore-DWQk17j8.mjs.map} +1 -1
- package/dist/{SSMStateStore-BY_I0tyB.cjs → SSMStateStore-tXnZSJxP.cjs} +2 -2
- package/dist/{SSMStateStore-BY_I0tyB.cjs.map → SSMStateStore-tXnZSJxP.cjs.map} +1 -1
- package/dist/{add-DGmk0dXQ.cjs → add-D6GloVNz.cjs} +4 -4
- package/dist/{add-DGmk0dXQ.cjs.map → add-D6GloVNz.cjs.map} +1 -1
- package/dist/{add-DLOigaYm.mjs → add-nJBUo4fT.mjs} +4 -4
- package/dist/{add-DLOigaYm.mjs.map → add-nJBUo4fT.mjs.map} +1 -1
- package/dist/{apps-CyfjJh6v.cjs → apps-DPw1i9E7.cjs} +14 -6
- package/dist/apps-DPw1i9E7.cjs.map +1 -0
- package/dist/{apps-G1Q2j-fs.mjs → apps-GDmO_v7v.mjs} +15 -7
- package/dist/apps-GDmO_v7v.mjs.map +1 -0
- package/dist/{bundler-8pVRVXVZ.mjs → bundler-BFGjH_mQ.mjs} +6 -6
- package/dist/{bundler-8pVRVXVZ.mjs.map → bundler-BFGjH_mQ.mjs.map} +1 -1
- package/dist/{bundler-y6p6zWLI.cjs → bundler-DzN34D-8.cjs} +6 -6
- package/dist/{bundler-y6p6zWLI.cjs.map → bundler-DzN34D-8.cjs.map} +1 -1
- package/dist/{cli-_yRVgYDB.cjs → cli-CVlkduxS.cjs} +4 -4
- package/dist/{cli-_yRVgYDB.cjs.map → cli-CVlkduxS.cjs.map} +1 -1
- package/dist/{cli-SNWyT6q5.mjs → cli-Ik7ar-Ux.mjs} +4 -4
- package/dist/{cli-SNWyT6q5.mjs.map → cli-Ik7ar-Ux.mjs.map} +1 -1
- package/dist/{compose-CNDZELiP.cjs → compose-BKLJMnDI.cjs} +6 -8
- package/dist/compose-BKLJMnDI.cjs.map +1 -0
- package/dist/{compose-CNEv5lGg.cjs → compose-CE0Vi7zq.cjs} +10 -8
- package/dist/compose-CE0Vi7zq.cjs.map +1 -0
- package/dist/{compose-D_shZ1mI.mjs → compose-DH1ToGh2.mjs} +7 -9
- package/dist/compose-DH1ToGh2.mjs.map +1 -0
- package/dist/{compose-X-ZypRKX.mjs → compose-pFnSi3Zf.mjs} +10 -8
- package/dist/compose-pFnSi3Zf.mjs.map +1 -0
- package/dist/{dbTunnel-Cw8zODrt.cjs → dbTunnel-BnacLKDV.cjs} +6 -6
- package/dist/{dbTunnel-Cw8zODrt.cjs.map → dbTunnel-BnacLKDV.cjs.map} +1 -1
- package/dist/{dbTunnel-B3TEZuFY.mjs → dbTunnel-CqDaxQig.mjs} +6 -6
- package/dist/{dbTunnel-B3TEZuFY.mjs.map → dbTunnel-CqDaxQig.mjs.map} +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-DFul9UAF.mjs → deploy-CpAkrZ25.mjs} +17 -16
- package/dist/deploy-CpAkrZ25.mjs.map +1 -0
- package/dist/{deploy-OPNZJCUm.cjs → deploy-l0Vc846k.cjs} +17 -16
- package/dist/deploy-l0Vc846k.cjs.map +1 -0
- package/dist/{destroy-DbOw1hTz.cjs → destroy-DtAqmjGz.cjs} +7 -7
- package/dist/{destroy-DbOw1hTz.cjs.map → destroy-DtAqmjGz.cjs.map} +1 -1
- package/dist/{destroy-C9c6S9oI.mjs → destroy-eeB_PrmN.mjs} +7 -7
- package/dist/{destroy-C9c6S9oI.mjs.map → destroy-eeB_PrmN.mjs.map} +1 -1
- package/dist/{dns-BM2DE6jt.mjs → dns-B2vsk2Rc.mjs} +5 -5
- package/dist/{dns-BM2DE6jt.mjs.map → dns-B2vsk2Rc.mjs.map} +1 -1
- package/dist/{dns-_WH7kO9x.cjs → dns-WneRa4VJ.cjs} +5 -5
- package/dist/{dns-_WH7kO9x.cjs.map → dns-WneRa4VJ.cjs.map} +1 -1
- package/dist/{docker-wE0zDnhu.cjs → docker-Dk6p33pD.cjs} +5 -5
- package/dist/docker-Dk6p33pD.cjs.map +1 -0
- package/dist/{docker-DCtw3rjP.mjs → docker-DyUpcwqy.mjs} +6 -6
- package/dist/{docker-DCtw3rjP.mjs.map → docker-DyUpcwqy.mjs.map} +1 -1
- package/dist/{dokploy-CCDXCzTa.cjs → dokploy-Byg0zr1O.cjs} +2 -2
- package/dist/{dokploy-CCDXCzTa.cjs.map → dokploy-Byg0zr1O.cjs.map} +1 -1
- package/dist/{dokploy-DeXtesSz.mjs → dokploy-De5b47YI.mjs} +2 -2
- package/dist/{dokploy-DeXtesSz.mjs.map → dokploy-De5b47YI.mjs.map} +1 -1
- package/dist/{eas-DfJbfJOE.mjs → eas-BnLaz86I.mjs} +2 -2
- package/dist/{eas-DfJbfJOE.mjs.map → eas-BnLaz86I.mjs.map} +1 -1
- package/dist/{eas-Ct9AE935.cjs → eas-DAH6D89J.cjs} +2 -2
- package/dist/{eas-Ct9AE935.cjs.map → eas-DAH6D89J.cjs.map} +1 -1
- package/dist/{encryption-DDkv3EFD.cjs → encryption-D7u_SKqz.cjs} +2 -2
- package/dist/{encryption-DDkv3EFD.cjs.map → encryption-D7u_SKqz.cjs.map} +1 -1
- package/dist/{encryption-BgLW4Tb2.mjs → encryption-IiDQJs6j.mjs} +2 -2
- package/dist/{encryption-BgLW4Tb2.mjs.map → encryption-IiDQJs6j.mjs.map} +1 -1
- package/dist/{engine-CKkCaRAd.mjs → engine-BhS-wyH0.mjs} +8 -8
- package/dist/{engine-CKkCaRAd.mjs.map → engine-BhS-wyH0.mjs.map} +1 -1
- package/dist/{engine-CINx5LA_.cjs → engine-CaWo9tZO.cjs} +8 -8
- package/dist/{engine-CINx5LA_.cjs.map → engine-CaWo9tZO.cjs.map} +1 -1
- package/dist/{github-BORbm5Kn.mjs → github-BQCqBMZ9.mjs} +6 -6
- package/dist/{github-BORbm5Kn.mjs.map → github-BQCqBMZ9.mjs.map} +1 -1
- package/dist/{github-DsmDwi7a.cjs → github-Cz_LTqBn.cjs} +6 -6
- package/dist/{github-DsmDwi7a.cjs.map → github-Cz_LTqBn.cjs.map} +1 -1
- package/dist/{googlePlay-bh7gEiz4.cjs → googlePlay-CuqPxtno.cjs} +4 -4
- package/dist/{googlePlay-bh7gEiz4.cjs.map → googlePlay-CuqPxtno.cjs.map} +1 -1
- package/dist/{googlePlay-Dk53obw3.mjs → googlePlay-DowNo3wp.mjs} +4 -4
- package/dist/{googlePlay-Dk53obw3.mjs.map → googlePlay-DowNo3wp.mjs.map} +1 -1
- package/dist/index.cjs +61 -61
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +61 -61
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CpSldDSi.mjs → local-BQQHvZ4q.mjs} +2 -2
- package/dist/{local-CpSldDSi.mjs.map → local-BQQHvZ4q.mjs.map} +1 -1
- package/dist/{local-BObpR_rL.cjs → local-CWNFE8Sg.cjs} +2 -2
- package/dist/{local-BObpR_rL.cjs.map → local-CWNFE8Sg.cjs.map} +1 -1
- package/dist/{migrate-B-O5VhwA.cjs → migrate-8QGCWIqm.cjs} +4 -4
- package/dist/{migrate-B-O5VhwA.cjs.map → migrate-8QGCWIqm.cjs.map} +1 -1
- package/dist/{migrate-BClTCUdZ.cjs → migrate-CNrPM5zg.cjs} +2 -2
- package/dist/{migrate-BClTCUdZ.cjs.map → migrate-CNrPM5zg.cjs.map} +1 -1
- package/dist/{migrate-FatDUatE.mjs → migrate-CqiOiRvz.mjs} +4 -4
- package/dist/{migrate-FatDUatE.mjs.map → migrate-CqiOiRvz.mjs.map} +1 -1
- package/dist/{migrate-ChURsPXl.mjs → migrate-D_7oRThu.mjs} +2 -2
- package/dist/{migrate-ChURsPXl.mjs.map → migrate-D_7oRThu.mjs.map} +1 -1
- package/dist/{notes-BwBGVMYR.mjs → notes-D2KWnUSL.mjs} +2 -2
- package/dist/{notes-BwBGVMYR.mjs.map → notes-D2KWnUSL.mjs.map} +1 -1
- package/dist/{notes-jaDD8Vda.cjs → notes-dD3gRvZw.cjs} +2 -2
- package/dist/{notes-jaDD8Vda.cjs.map → notes-dD3gRvZw.cjs.map} +1 -1
- package/dist/{projectBucket-CgGk1Nd_.mjs → projectBucket-BDytiu7A.mjs} +2 -2
- package/dist/{projectBucket-CgGk1Nd_.mjs.map → projectBucket-BDytiu7A.mjs.map} +1 -1
- package/dist/{projectBucket-CEDRY3N2.cjs → projectBucket-BcTodL8A.cjs} +2 -2
- package/dist/{projectBucket-CEDRY3N2.cjs.map → projectBucket-BcTodL8A.cjs.map} +1 -1
- package/dist/{publish-CG9ooEnS.mjs → publish-Cr8wv7nO.mjs} +2 -2
- package/dist/{publish-CG9ooEnS.mjs.map → publish-Cr8wv7nO.mjs.map} +1 -1
- package/dist/{publish-oCdqimOZ.cjs → publish-Da9gxP5Q.cjs} +2 -2
- package/dist/{publish-oCdqimOZ.cjs.map → publish-Da9gxP5Q.cjs.map} +1 -1
- package/dist/{resolve-XaHTbLJ0.cjs → resolve-DRldmRYb.cjs} +4 -4
- package/dist/{resolve-XaHTbLJ0.cjs.map → resolve-DRldmRYb.cjs.map} +1 -1
- package/dist/{resolve-DGSN4f-J.mjs → resolve-Dyki9ZJX.mjs} +4 -4
- package/dist/{resolve-DGSN4f-J.mjs.map → resolve-Dyki9ZJX.mjs.map} +1 -1
- package/dist/{rollback-xiYg-iz_.mjs → rollback-Do0i6x3b.mjs} +5 -5
- package/dist/{rollback-xiYg-iz_.mjs.map → rollback-Do0i6x3b.mjs.map} +1 -1
- package/dist/{rollback-DQl_hh1s.cjs → rollback-R_j7f9cY.cjs} +5 -5
- package/dist/{rollback-DQl_hh1s.cjs.map → rollback-R_j7f9cY.cjs.map} +1 -1
- package/dist/{s3-CQqDhnF-.mjs → s3-CYEU7r1x.mjs} +2 -2
- package/dist/{s3-CQqDhnF-.mjs.map → s3-CYEU7r1x.mjs.map} +1 -1
- package/dist/{s3-CB4ekfza.cjs → s3-D9aPMh9u.cjs} +2 -2
- package/dist/{s3-CB4ekfza.cjs.map → s3-D9aPMh9u.cjs.map} +1 -1
- package/dist/{serverSetup-B0ZqkKcY.cjs → serverSetup-BmPwcMQN.cjs} +5 -5
- package/dist/{serverSetup-B0ZqkKcY.cjs.map → serverSetup-BmPwcMQN.cjs.map} +1 -1
- package/dist/{serverSetup-DWUQ_sQR.mjs → serverSetup-Bw5gc57O.mjs} +5 -5
- package/dist/{serverSetup-DWUQ_sQR.mjs.map → serverSetup-Bw5gc57O.mjs.map} +1 -1
- package/dist/{sniffer-BVmzTN9C.cjs → sniffer-BPLYWu70.cjs} +6 -6
- package/dist/{sniffer-BVmzTN9C.cjs.map → sniffer-BPLYWu70.cjs.map} +1 -1
- package/dist/{sniffer-CkSC8MZ9.mjs → sniffer-XsTiFI3l.mjs} +6 -6
- package/dist/{sniffer-CkSC8MZ9.mjs.map → sniffer-XsTiFI3l.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DOUaur2w.cjs → snsSubscriptions-CATtZwGv.cjs} +50 -10
- package/dist/{snsSubscriptions-DOUaur2w.cjs.map → snsSubscriptions-CATtZwGv.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CdbBWvzg.mjs → snsSubscriptions-D9Rm_Eug.mjs} +39 -11
- package/dist/{snsSubscriptions-CdbBWvzg.mjs.map → snsSubscriptions-D9Rm_Eug.mjs.map} +1 -1
- package/dist/{sst-r4pOOAkf.mjs → sst-BCvYZtVF.mjs} +4 -4
- package/dist/{sst-r4pOOAkf.mjs.map → sst-BCvYZtVF.mjs.map} +1 -1
- package/dist/{sst-3iKqe9vk.cjs → sst-C56i2cst.cjs} +4 -4
- package/dist/{sst-3iKqe9vk.cjs.map → sst-C56i2cst.cjs.map} +1 -1
- package/dist/{stack-DUADq62v.cjs → stack-Dal2Oq2D.cjs} +6 -6
- package/dist/{stack-DUADq62v.cjs.map → stack-Dal2Oq2D.cjs.map} +1 -1
- package/dist/{stack-LelP4jv7.mjs → stack-TttsEL7X.mjs} +6 -6
- package/dist/{stack-LelP4jv7.mjs.map → stack-TttsEL7X.mjs.map} +1 -1
- package/dist/{stage-DQuJRU3S.mjs → stage--ixwLSTc.mjs} +5 -5
- package/dist/{stage-DQuJRU3S.mjs.map → stage--ixwLSTc.mjs.map} +1 -1
- package/dist/{stage-BwY2DLIb.cjs → stage-BLsuXUP_.cjs} +5 -5
- package/dist/{stage-BwY2DLIb.cjs.map → stage-BLsuXUP_.cjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-EeBAmc7P.cjs → terminal-Dy4zzTCA.cjs} +2 -2
- package/dist/{terminal-EeBAmc7P.cjs.map → terminal-Dy4zzTCA.cjs.map} +1 -1
- package/dist/{terminal-BTX6f2XO.mjs → terminal-gOLDmpW-.mjs} +2 -2
- package/dist/{terminal-BTX6f2XO.mjs.map → terminal-gOLDmpW-.mjs.map} +1 -1
- package/package.json +15 -15
- package/dist/apps-CyfjJh6v.cjs.map +0 -1
- package/dist/apps-G1Q2j-fs.mjs.map +0 -1
- package/dist/compose-CNDZELiP.cjs.map +0 -1
- package/dist/compose-CNEv5lGg.cjs.map +0 -1
- package/dist/compose-D_shZ1mI.mjs.map +0 -1
- package/dist/compose-X-ZypRKX.mjs.map +0 -1
- package/dist/deploy-DFul9UAF.mjs.map +0 -1
- package/dist/deploy-OPNZJCUm.cjs.map +0 -1
- package/dist/docker-wE0zDnhu.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
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 storeDokployCredentials, dt as getDokployRegistryId, ft as getDokployToken, gt as removeGoDaddyCredentials, ht as removeDokployCredentials, it as CommandFailed, k as secretsStoreFor, lt as getCredentialsPath, mt as readCredentials, ot as DEFAULT_TIMEOUT_MS, q as projectKey, ut as getDokployCredentials, vt as storeGoDaddyToken, w as cacheBackendFor, yt as storeHostingerToken } 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 { 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 storeDokployCredentials, dt as getDokployRegistryId, ft as getDokployToken, gt as removeGoDaddyCredentials, ht as removeDokployCredentials, it as CommandFailed, k as secretsStoreFor, lt as getCredentialsPath, mt as readCredentials, ot as DEFAULT_TIMEOUT_MS, q as projectKey, ut as getDokployCredentials, vt as storeGoDaddyToken, w as cacheBackendFor, yt as storeHostingerToken } from "./dns-B2vsk2Rc.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-pFnSi3Zf.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-BBa1Ck5j.mjs";
|
|
7
|
-
import { $ as imageBuildCredentials, At as stageEnv$1, Ct as postgresDatabaseNames, Ft as backupsPrefix, It as runTime, Lt as stageBackups, Mt as backupDatabases, Pt as backupFile, S as ensureLocalAuthority, Tt as quoteIdentifier, _ as forgetState, ct as processorUnits, d as backendsOf$1, dt as BACKUPS_URL_KEY, et as isImageBuild, f as constructGlobs, ft as RUNNER_PATH, lt as workerUnits, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as isUnder, p as derivedContainers, u as FAKE_ENV, ut as BACKUPS_SERVICE, w as localAuthorityPaths, x as pgClient } from "./apps-
|
|
7
|
+
import { $ as imageBuildCredentials, At as stageEnv$1, Ct as postgresDatabaseNames, Ft as backupsPrefix, It as runTime, Lt as stageBackups, Mt as backupDatabases, Pt as backupFile, S as ensureLocalAuthority, Tt as quoteIdentifier, _ as forgetState, ct as processorUnits, d as backendsOf$1, dt as BACKUPS_URL_KEY, et as isImageBuild, f as constructGlobs, ft as RUNNER_PATH, lt as workerUnits, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as isUnder, p as derivedContainers, u as FAKE_ENV, ut as BACKUPS_SERVICE, w as localAuthorityPaths, x as pgClient } from "./apps-GDmO_v7v.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, c as loadEnvFiles, d as prepareEntryCredentials, dt as primaryPortKey, i as createCredentialsPreload, j as appTelemetry, l as loadPortState, lt as portsOf, o as findAvailablePort, ot as describeServices, pt as LOCAL_LOGS_EMAIL, s as isPortAvailable, st as fakeKey, t as CLUSTER_DATABASE, u as loadSecretsForApp } from "./compose-
|
|
9
|
+
import { I as surfaceClientTraced, L as telemetryOf, N as scopeTelemetryEnv, O as TELEMETRY_CONTAINER, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, dt as primaryPortKey, i as createCredentialsPreload, j as appTelemetry, l as loadPortState, lt as portsOf, o as findAvailablePort, ot as describeServices, pt as LOCAL_LOGS_EMAIL, s as isPortAvailable, st as fakeKey, t as CLUSTER_DATABASE, u as loadSecretsForApp } from "./compose-DH1ToGh2.mjs";
|
|
10
10
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-NxcLNeDJ.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-DMq6ameY.mjs";
|
|
13
13
|
import { i as discover, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-B_PDDaVj.mjs";
|
|
14
14
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
15
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
16
|
-
import { D as awsClientConfig, O as awsEndpoint, a as composeProject, c as derivedCredentials, f as stackPlan, k as awsProvisioningCredentials, y as EDGE_PROJECT } 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-D2KWnUSL.mjs";
|
|
16
|
+
import { D as awsClientConfig, O as awsEndpoint, a as composeProject, c as derivedCredentials, f as stackPlan, k as awsProvisioningCredentials, y as EDGE_PROJECT } from "./stack-TttsEL7X.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-DyUpcwqy.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-BQQHvZ4q.mjs";
|
|
22
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-XsTiFI3l.mjs";
|
|
23
|
+
import { t as deploy$1 } from "./deploy-CpAkrZ25.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-BzJiK1nQ.mjs";
|
|
26
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
26
|
+
import { t as LocalStateStore } from "./LocalStateStore-BvI8RUtS.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
28
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-D1gctv-5.mjs";
|
|
29
29
|
import { createRequire } from "node:module";
|
|
@@ -54,7 +54,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
54
54
|
import crypto from "crypto";
|
|
55
55
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
56
56
|
//#region package.json
|
|
57
|
-
var version = "10.0.0-alpha.
|
|
57
|
+
var version = "10.0.0-alpha.179";
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/prompt.ts
|
|
60
60
|
/**
|
|
@@ -137,7 +137,7 @@ const logger$8 = console;
|
|
|
137
137
|
* Validate Dokploy token by making a test API call
|
|
138
138
|
*/
|
|
139
139
|
async function validateDokployToken(endpoint, token) {
|
|
140
|
-
const { DokployApi } = await import("./sniffer-
|
|
140
|
+
const { DokployApi } = await import("./sniffer-XsTiFI3l.mjs").then((n) => n.c);
|
|
141
141
|
return new DokployApi({
|
|
142
142
|
baseUrl: endpoint,
|
|
143
143
|
token
|
|
@@ -2522,7 +2522,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2522
2522
|
const cwd = options.cwd ?? process.cwd();
|
|
2523
2523
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2524
2524
|
if (options.stage && !isImageBuild()) {
|
|
2525
|
-
const { execOnStage } = await import("./stage
|
|
2525
|
+
const { execOnStage } = await import("./stage--ixwLSTc.mjs").then((n) => n.a);
|
|
2526
2526
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2527
2527
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2528
2528
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -3098,9 +3098,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
3098
3098
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
3099
3099
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
3100
3100
|
if (options.migrate || options.seed) {
|
|
3101
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
3101
|
+
const { prepareDevDatabases } = await import("./migrate-CqiOiRvz.mjs");
|
|
3102
3102
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
3103
|
-
} else await import("./migrate-
|
|
3103
|
+
} else await import("./migrate-CqiOiRvz.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
3104
3104
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
3105
3105
|
});
|
|
3106
3106
|
const appUrls = {};
|
|
@@ -4248,7 +4248,7 @@ async function buildApp(input) {
|
|
|
4248
4248
|
...telemetry ? { telemetry } : {},
|
|
4249
4249
|
trustedOriginsKey: providedKeyFor(selfServing.id, "rest-api", "trustedOrigins")
|
|
4250
4250
|
});
|
|
4251
|
-
const { bundleServer } = await import("./bundler-
|
|
4251
|
+
const { bundleServer } = await import("./bundler-BFGjH_mQ.mjs");
|
|
4252
4252
|
await bundleServer({
|
|
4253
4253
|
entryPoint,
|
|
4254
4254
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4529,7 +4529,7 @@ async function buildWorkers(input) {
|
|
|
4529
4529
|
});
|
|
4530
4530
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4531
4531
|
if (!input.bundle) continue;
|
|
4532
|
-
const { bundleServer } = await import("./bundler-
|
|
4532
|
+
const { bundleServer } = await import("./bundler-BFGjH_mQ.mjs");
|
|
4533
4533
|
const outfile = workerBundleName(worker.id);
|
|
4534
4534
|
await bundleServer({
|
|
4535
4535
|
entryPoint,
|
|
@@ -4571,7 +4571,7 @@ async function buildProcessors(input) {
|
|
|
4571
4571
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4572
4572
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4573
4573
|
if (!input.bundle) continue;
|
|
4574
|
-
const { bundleServer } = await import("./bundler-
|
|
4574
|
+
const { bundleServer } = await import("./bundler-BFGjH_mQ.mjs");
|
|
4575
4575
|
const outfile = processorBundleName(fileServerId);
|
|
4576
4576
|
await bundleServer({
|
|
4577
4577
|
entryPoint,
|
|
@@ -4657,7 +4657,7 @@ async function buildForTarget(target, context, appRoot, outputDir, workspaceRoot
|
|
|
4657
4657
|
let masterKey;
|
|
4658
4658
|
if (context.production?.bundle && !skipBundle) {
|
|
4659
4659
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4660
|
-
const { bundleServer } = await import("./bundler-
|
|
4660
|
+
const { bundleServer } = await import("./bundler-BFGjH_mQ.mjs");
|
|
4661
4661
|
const allConstructs = [
|
|
4662
4662
|
...endpoints.map((e) => e.construct),
|
|
4663
4663
|
...functions.map((f) => f.construct),
|
|
@@ -4936,7 +4936,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4936
4936
|
["tag", "--tag"]
|
|
4937
4937
|
].find(([key]) => options[key] !== void 0 && options[key] !== false)?.[1];
|
|
4938
4938
|
if (flag) throw new ComposeDestroyConflict(flag);
|
|
4939
|
-
const { composeDestroyCommand } = await import("./destroy-
|
|
4939
|
+
const { composeDestroyCommand } = await import("./destroy-eeB_PrmN.mjs");
|
|
4940
4940
|
await composeDestroyCommand({
|
|
4941
4941
|
stage: options.stage,
|
|
4942
4942
|
...options.cwd ? { cwd: options.cwd } : {},
|
|
@@ -4954,7 +4954,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4954
4954
|
const { workspace } = loaded;
|
|
4955
4955
|
const { stage } = options;
|
|
4956
4956
|
if (options.down) {
|
|
4957
|
-
const { composeStackRef } = await import("./destroy-
|
|
4957
|
+
const { composeStackRef } = await import("./destroy-eeB_PrmN.mjs");
|
|
4958
4958
|
const { ref, dir, server } = await composeStackRef(workspace, stage);
|
|
4959
4959
|
const docker = deps.docker ?? dockerCompose;
|
|
4960
4960
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
@@ -6535,25 +6535,25 @@ function loadPackageJson() {
|
|
|
6535
6535
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6536
6536
|
*/
|
|
6537
6537
|
const GEEKMIDAS_VERSIONS = {
|
|
6538
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6539
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6540
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6541
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6542
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6543
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6544
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6545
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6546
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6547
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6548
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6549
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6550
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6551
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6552
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6553
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6554
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6555
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6556
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6538
|
+
"@geekmidas/audit": ">=10.0.0-alpha.179 <10.0.0",
|
|
6539
|
+
"@geekmidas/auth": ">=10.0.0-alpha.179 <10.0.0",
|
|
6540
|
+
"@geekmidas/cache": ">=10.0.0-alpha.179 <10.0.0",
|
|
6541
|
+
"@geekmidas/client": ">=10.0.0-alpha.179 <10.0.0",
|
|
6542
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.179 <10.0.0",
|
|
6543
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.179 <10.0.0",
|
|
6544
|
+
"@geekmidas/db": ">=10.0.0-alpha.179 <10.0.0",
|
|
6545
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.179 <10.0.0",
|
|
6546
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.179 <10.0.0",
|
|
6547
|
+
"@geekmidas/errors": ">=10.0.0-alpha.179 <10.0.0",
|
|
6548
|
+
"@geekmidas/events": ">=10.0.0-alpha.179 <10.0.0",
|
|
6549
|
+
"@geekmidas/logger": ">=10.0.0-alpha.179 <10.0.0",
|
|
6550
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.179 <10.0.0",
|
|
6551
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.179 <10.0.0",
|
|
6552
|
+
"@geekmidas/schema": ">=10.0.0-alpha.179 <10.0.0",
|
|
6553
|
+
"@geekmidas/services": ">=10.0.0-alpha.179 <10.0.0",
|
|
6554
|
+
"@geekmidas/storage": ">=10.0.0-alpha.179 <10.0.0",
|
|
6555
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.179 <10.0.0",
|
|
6556
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.179 <10.0.0",
|
|
6557
6557
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6558
6558
|
};
|
|
6559
6559
|
//#endregion
|
|
@@ -7746,7 +7746,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7746
7746
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7747
7747
|
* release the pinned commit is.
|
|
7748
7748
|
*/
|
|
7749
|
-
function stagesActionUses(commit = "
|
|
7749
|
+
function stagesActionUses(commit = "3b3c195845a31b9cb5ae9753ec1a989e53434768", version = cliVersion()) {
|
|
7750
7750
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7751
7751
|
}
|
|
7752
7752
|
//#endregion
|
|
@@ -16719,7 +16719,7 @@ function testDatabases(reconciled) {
|
|
|
16719
16719
|
* starts without the reference data the app needs.
|
|
16720
16720
|
*/
|
|
16721
16721
|
async function migrateTestStage(workspace, env) {
|
|
16722
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16722
|
+
const { migrateAndSeed } = await import("./migrate-CqiOiRvz.mjs");
|
|
16723
16723
|
const { discover } = await import("./discover-B_PDDaVj.mjs").then((n) => n.a);
|
|
16724
16724
|
const sources = {};
|
|
16725
16725
|
const manifest = await discover({
|
|
@@ -17173,7 +17173,7 @@ program.command("db:tunnel").description("Open an SSH tunnel to a deployed compo
|
|
|
17173
17173
|
try {
|
|
17174
17174
|
const globalOptions = program.opts();
|
|
17175
17175
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17176
|
-
const { dbTunnel } = await import("./dbTunnel-
|
|
17176
|
+
const { dbTunnel } = await import("./dbTunnel-CqDaxQig.mjs");
|
|
17177
17177
|
await dbTunnel({
|
|
17178
17178
|
...options,
|
|
17179
17179
|
...construct ? { construct } : {}
|
|
@@ -17186,7 +17186,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
17186
17186
|
try {
|
|
17187
17187
|
const globalOptions = program.opts();
|
|
17188
17188
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17189
|
-
const { easSync } = await import("./eas-
|
|
17189
|
+
const { easSync } = await import("./eas-BnLaz86I.mjs");
|
|
17190
17190
|
await easSync(options);
|
|
17191
17191
|
} catch (error) {
|
|
17192
17192
|
exitWithError(error);
|
|
@@ -17196,7 +17196,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
17196
17196
|
try {
|
|
17197
17197
|
const globalOptions = program.opts();
|
|
17198
17198
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17199
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
17199
|
+
const { publish, PublishModeConflict } = await import("./publish-Cr8wv7nO.mjs");
|
|
17200
17200
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
17201
17201
|
const { build, update, ...rest } = options;
|
|
17202
17202
|
await publish({
|
|
@@ -17212,7 +17212,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
17212
17212
|
try {
|
|
17213
17213
|
const globalOptions = program.opts();
|
|
17214
17214
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17215
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
17215
|
+
const { deployGooglePlay } = await import("./googlePlay-DowNo3wp.mjs");
|
|
17216
17216
|
await deployGooglePlay(options);
|
|
17217
17217
|
} catch (error) {
|
|
17218
17218
|
exitWithError(error);
|
|
@@ -17234,7 +17234,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
17234
17234
|
try {
|
|
17235
17235
|
const globalOptions = program.opts();
|
|
17236
17236
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17237
|
-
const { migrateCommand } = await import("./migrate-
|
|
17237
|
+
const { migrateCommand } = await import("./migrate-CqiOiRvz.mjs");
|
|
17238
17238
|
await migrateCommand({
|
|
17239
17239
|
...options,
|
|
17240
17240
|
...construct ? { construct } : {}
|
|
@@ -17247,7 +17247,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
17247
17247
|
try {
|
|
17248
17248
|
const globalOptions = program.opts();
|
|
17249
17249
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17250
|
-
const { seedCommand } = await import("./migrate-
|
|
17250
|
+
const { seedCommand } = await import("./migrate-CqiOiRvz.mjs");
|
|
17251
17251
|
await seedCommand({
|
|
17252
17252
|
...options,
|
|
17253
17253
|
...construct ? { construct } : {}
|
|
@@ -17260,7 +17260,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
17260
17260
|
try {
|
|
17261
17261
|
const globalOptions = program.opts();
|
|
17262
17262
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17263
|
-
const { migrationCommand } = await import("./migrate-
|
|
17263
|
+
const { migrationCommand } = await import("./migrate-CqiOiRvz.mjs");
|
|
17264
17264
|
await migrationCommand({
|
|
17265
17265
|
construct,
|
|
17266
17266
|
...name ? { name } : {}
|
|
@@ -17360,7 +17360,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17360
17360
|
try {
|
|
17361
17361
|
const globalOptions = program.opts();
|
|
17362
17362
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17363
|
-
const { secretsAddCommand } = await import("./add-
|
|
17363
|
+
const { secretsAddCommand } = await import("./add-nJBUo4fT.mjs");
|
|
17364
17364
|
await secretsAddCommand(options);
|
|
17365
17365
|
} catch (error) {
|
|
17366
17366
|
exitWithError(error);
|
|
@@ -17370,7 +17370,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17370
17370
|
try {
|
|
17371
17371
|
const globalOptions = program.opts();
|
|
17372
17372
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17373
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17373
|
+
const { encryptionRotateCommand } = await import("./encryption-IiDQJs6j.mjs");
|
|
17374
17374
|
await encryptionRotateCommand(construct, options);
|
|
17375
17375
|
} catch (error) {
|
|
17376
17376
|
exitWithError(error);
|
|
@@ -17380,7 +17380,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17380
17380
|
try {
|
|
17381
17381
|
const globalOptions = program.opts();
|
|
17382
17382
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17383
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17383
|
+
const { encryptionRetireCommand } = await import("./encryption-IiDQJs6j.mjs");
|
|
17384
17384
|
await encryptionRetireCommand(construct, key, options);
|
|
17385
17385
|
} catch (error) {
|
|
17386
17386
|
exitWithError(error);
|
|
@@ -17419,7 +17419,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17419
17419
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17420
17420
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17421
17421
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17422
|
-
const { secretsStoreFor } = await import("./dns-
|
|
17422
|
+
const { secretsStoreFor } = await import("./dns-B2vsk2Rc.mjs").then((n) => n.j);
|
|
17423
17423
|
const { workspace } = await loadWorkspaceConfig();
|
|
17424
17424
|
const stage = options.stage ?? workspace.stages.local;
|
|
17425
17425
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17428,7 +17428,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17428
17428
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17429
17429
|
process.exit(1);
|
|
17430
17430
|
}
|
|
17431
|
-
const { derivedContainers } = await import("./apps-
|
|
17431
|
+
const { derivedContainers } = await import("./apps-GDmO_v7v.mjs").then((n) => n.h);
|
|
17432
17432
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17433
17433
|
if (!result) {
|
|
17434
17434
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17445,14 +17445,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17445
17445
|
try {
|
|
17446
17446
|
const globalOptions = program.opts();
|
|
17447
17447
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17448
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17448
|
+
const { secretsMigrateCommand } = await import("./migrate-D_7oRThu.mjs");
|
|
17449
17449
|
await secretsMigrateCommand(options);
|
|
17450
17450
|
} catch (error) {
|
|
17451
17451
|
exitWithError(error);
|
|
17452
17452
|
}
|
|
17453
17453
|
});
|
|
17454
17454
|
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) => {
|
|
17455
|
-
const { deployCli } = await import("./cli-
|
|
17455
|
+
const { deployCli } = await import("./cli-Ik7ar-Ux.mjs");
|
|
17456
17456
|
const globalOptions = program.opts();
|
|
17457
17457
|
const code = await deployCli({
|
|
17458
17458
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17472,8 +17472,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17472
17472
|
});
|
|
17473
17473
|
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) => {
|
|
17474
17474
|
try {
|
|
17475
|
-
const { rollbackStage } = await import("./rollback-
|
|
17476
|
-
const { terminalCredentials } = await import("./terminal-
|
|
17475
|
+
const { rollbackStage } = await import("./rollback-Do0i6x3b.mjs").then((n) => n.a);
|
|
17476
|
+
const { terminalCredentials } = await import("./terminal-gOLDmpW-.mjs");
|
|
17477
17477
|
const globalOptions = program.opts();
|
|
17478
17478
|
await rollbackStage({
|
|
17479
17479
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17491,7 +17491,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17491
17491
|
try {
|
|
17492
17492
|
const globalOptions = program.opts();
|
|
17493
17493
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17494
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17494
|
+
const { composeServerCommand } = await import("./serverSetup-Bw5gc57O.mjs");
|
|
17495
17495
|
await composeServerCommand(options);
|
|
17496
17496
|
} catch (error) {
|
|
17497
17497
|
exitWithError(error);
|
|
@@ -17516,7 +17516,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17516
17516
|
try {
|
|
17517
17517
|
const globalOptions = program.opts();
|
|
17518
17518
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17519
|
-
const { deployGithubCommand } = await import("./github-
|
|
17519
|
+
const { deployGithubCommand } = await import("./github-BQCqBMZ9.mjs");
|
|
17520
17520
|
await deployGithubCommand(options);
|
|
17521
17521
|
} catch (error) {
|
|
17522
17522
|
exitWithError(error);
|