@geekmidas/cli 10.0.0-alpha.147 → 10.0.0-alpha.148
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-DXuPFufW.mjs → GoDaddyProvider-CGgS-I6m.mjs} +2 -2
- package/dist/{GoDaddyProvider-DXuPFufW.mjs.map → GoDaddyProvider-CGgS-I6m.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-CpO8dFYC.cjs → GoDaddyProvider-D_dZQJIX.cjs} +2 -2
- package/dist/{GoDaddyProvider-CpO8dFYC.cjs.map → GoDaddyProvider-D_dZQJIX.cjs.map} +1 -1
- package/dist/{HostingerProvider-Dum492dc.mjs → HostingerProvider-CWRE6auw.mjs} +2 -2
- package/dist/{HostingerProvider-Dum492dc.mjs.map → HostingerProvider-CWRE6auw.mjs.map} +1 -1
- package/dist/{HostingerProvider-Beu0Ciky.cjs → HostingerProvider-eGuDBjfN.cjs} +2 -2
- package/dist/{HostingerProvider-Beu0Ciky.cjs.map → HostingerProvider-eGuDBjfN.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DZjph7ES.mjs → LegacyStateStore-CLyFmPIj.mjs} +2 -2
- package/dist/{LegacyStateStore-DZjph7ES.mjs.map → LegacyStateStore-CLyFmPIj.mjs.map} +1 -1
- package/dist/{LegacyStateStore-V4R0llou.cjs → LegacyStateStore-DyX9-7R_.cjs} +2 -2
- package/dist/{LegacyStateStore-V4R0llou.cjs.map → LegacyStateStore-DyX9-7R_.cjs.map} +1 -1
- package/dist/{LocalStateStore-DuSotrd3.cjs → LocalStateStore-C-v8K8zO.cjs} +2 -2
- package/dist/{LocalStateStore-DuSotrd3.cjs.map → LocalStateStore-C-v8K8zO.cjs.map} +1 -1
- package/dist/{LocalStateStore-Bth8pBp-.mjs → LocalStateStore-DQVwsyTh.mjs} +2 -2
- package/dist/{LocalStateStore-Bth8pBp-.mjs.map → LocalStateStore-DQVwsyTh.mjs.map} +1 -1
- package/dist/{S3StateStore-DTPxQS3z.cjs → S3StateStore-GA-DOTmj.cjs} +4 -4
- package/dist/{S3StateStore-DTPxQS3z.cjs.map → S3StateStore-GA-DOTmj.cjs.map} +1 -1
- package/dist/{S3StateStore-DGlh3s2p.mjs → S3StateStore-gR_6fNF6.mjs} +4 -4
- package/dist/{S3StateStore-DGlh3s2p.mjs.map → S3StateStore-gR_6fNF6.mjs.map} +1 -1
- package/dist/{SSMStateStore-DCa85jhG.mjs → SSMStateStore-CT68N-Ti.mjs} +2 -2
- package/dist/{SSMStateStore-DCa85jhG.mjs.map → SSMStateStore-CT68N-Ti.mjs.map} +1 -1
- package/dist/{SSMStateStore-B9R317q0.cjs → SSMStateStore-kdb9rf7x.cjs} +2 -2
- package/dist/{SSMStateStore-B9R317q0.cjs.map → SSMStateStore-kdb9rf7x.cjs.map} +1 -1
- package/dist/{add-Cr-9Ku0W.cjs → add-C7_WJEv2.cjs} +5 -6
- package/dist/{add-Cr-9Ku0W.cjs.map → add-C7_WJEv2.cjs.map} +1 -1
- package/dist/{add-Bl33BvDW.mjs → add-CvmRPEfW.mjs} +4 -5
- package/dist/{add-Bl33BvDW.mjs.map → add-CvmRPEfW.mjs.map} +1 -1
- package/dist/{apps-BIsxWYUo.cjs → apps-ClZkLcMz.cjs} +670 -12
- package/dist/apps-ClZkLcMz.cjs.map +1 -0
- package/dist/{apps-DFzUuJ22.mjs → apps-CmKxFPTj.mjs} +529 -15
- package/dist/apps-CmKxFPTj.mjs.map +1 -0
- package/dist/{bundler-BagXzefF.mjs → bundler-D6IEJvq4.mjs} +6 -6
- package/dist/{bundler-BagXzefF.mjs.map → bundler-D6IEJvq4.mjs.map} +1 -1
- package/dist/{bundler-Cael9EDc.cjs → bundler-Ronn7-mL.cjs} +6 -6
- package/dist/{bundler-Cael9EDc.cjs.map → bundler-Ronn7-mL.cjs.map} +1 -1
- package/dist/{cli-BJRPsFq7.mjs → cli-AZVyGSRn.mjs} +4 -4
- package/dist/{cli-BJRPsFq7.mjs.map → cli-AZVyGSRn.mjs.map} +1 -1
- package/dist/{cli-B1A-cLy-.cjs → cli-B1g2OvS0.cjs} +4 -4
- package/dist/{cli-B1A-cLy-.cjs.map → cli-B1g2OvS0.cjs.map} +1 -1
- package/dist/{compose-CnNmDNph.cjs → compose-B5AsRVqr.cjs} +13 -13
- package/dist/{compose-CnNmDNph.cjs.map → compose-B5AsRVqr.cjs.map} +1 -1
- package/dist/{compose-CZU60dwb.mjs → compose-BRNMF29g.mjs} +7 -7
- package/dist/{compose-CZU60dwb.mjs.map → compose-BRNMF29g.mjs.map} +1 -1
- package/dist/{compose-C7izI7Eo.mjs → compose-DNuENvIt.mjs} +13 -7
- package/dist/{compose-C7izI7Eo.mjs.map → compose-DNuENvIt.mjs.map} +1 -1
- package/dist/{compose-Cius-YHS.cjs → compose-DVPWitEu.cjs} +30 -6
- package/dist/{compose-Cius-YHS.cjs.map → compose-DVPWitEu.cjs.map} +1 -1
- package/dist/{credentials-D11xozSF.cjs → credentials-CrQglKgo.cjs} +5 -69
- package/dist/credentials-CrQglKgo.cjs.map +1 -0
- package/dist/{credentials-CJ_z0Nni.mjs → credentials-FRF4PZYo.mjs} +7 -41
- package/dist/credentials-FRF4PZYo.mjs.map +1 -0
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-Dfn21QYG.mjs → deploy-DI_tg5Mi.mjs} +11 -11
- package/dist/{deploy-Dfn21QYG.mjs.map → deploy-DI_tg5Mi.mjs.map} +1 -1
- package/dist/{deploy-Ch1wCsU1.cjs → deploy-DTBod420.cjs} +29 -29
- package/dist/{deploy-Ch1wCsU1.cjs.map → deploy-DTBod420.cjs.map} +1 -1
- package/dist/{docker-BT6G7aJE.cjs → docker-CnWX5QNR.cjs} +7 -7
- package/dist/{docker-BT6G7aJE.cjs.map → docker-CnWX5QNR.cjs.map} +1 -1
- package/dist/{docker-_W_CauBY.mjs → docker-DsJNWnaX.mjs} +4 -4
- package/dist/{docker-_W_CauBY.mjs.map → docker-DsJNWnaX.mjs.map} +1 -1
- package/dist/{dokploy-DaQbR_NH.cjs → dokploy-CxttPnYP.cjs} +2 -2
- package/dist/{dokploy-DaQbR_NH.cjs.map → dokploy-CxttPnYP.cjs.map} +1 -1
- package/dist/{dokploy-CBgGuei3.mjs → dokploy-Dd2mXHgX.mjs} +2 -2
- package/dist/{dokploy-CBgGuei3.mjs.map → dokploy-Dd2mXHgX.mjs.map} +1 -1
- package/dist/{eas-YxDTJ3ql.cjs → eas-B-JskJLP.cjs} +2 -2
- package/dist/{eas-YxDTJ3ql.cjs.map → eas-B-JskJLP.cjs.map} +1 -1
- package/dist/{eas-3L1_yKhk.mjs → eas-B_yjP_Sl.mjs} +2 -2
- package/dist/{eas-3L1_yKhk.mjs.map → eas-B_yjP_Sl.mjs.map} +1 -1
- package/dist/{encryption-CRyFk5nu.mjs → encryption-dUnvnbu8.mjs} +2 -2
- package/dist/{encryption-CRyFk5nu.mjs.map → encryption-dUnvnbu8.mjs.map} +1 -1
- package/dist/{encryption-CVIu104e.cjs → encryption-yW6cWTsN.cjs} +2 -2
- package/dist/{encryption-CVIu104e.cjs.map → encryption-yW6cWTsN.cjs.map} +1 -1
- package/dist/{engine-DZnZy1R5.mjs → engine-W1gbyy7T.mjs} +8 -8
- package/dist/{engine-DZnZy1R5.mjs.map → engine-W1gbyy7T.mjs.map} +1 -1
- package/dist/{engine-XecwdLdj.cjs → engine-oBwumCI2.cjs} +12 -12
- package/dist/{engine-XecwdLdj.cjs.map → engine-oBwumCI2.cjs.map} +1 -1
- package/dist/{github-CDJXpBCT.mjs → github-D2-FIlNY.mjs} +6 -7
- package/dist/{github-CDJXpBCT.mjs.map → github-D2-FIlNY.mjs.map} +1 -1
- package/dist/{github-dnxU_tMp.cjs → github-DLucfS9E.cjs} +7 -8
- package/dist/{github-dnxU_tMp.cjs.map → github-DLucfS9E.cjs.map} +1 -1
- package/dist/{googlePlay-CnIU3qIV.cjs → googlePlay-C91kIbBZ.cjs} +4 -4
- package/dist/{googlePlay-CnIU3qIV.cjs.map → googlePlay-C91kIbBZ.cjs.map} +1 -1
- package/dist/{googlePlay-BYeXKpNE.mjs → googlePlay-CapfGnZ8.mjs} +4 -4
- package/dist/{googlePlay-BYeXKpNE.mjs.map → googlePlay-CapfGnZ8.mjs.map} +1 -1
- package/dist/index.cjs +94 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +82 -65
- package/dist/index.mjs.map +1 -1
- package/dist/{local-BIOpCtLE.mjs → local-2SR2d_BC.mjs} +2 -2
- package/dist/{local-BIOpCtLE.mjs.map → local-2SR2d_BC.mjs.map} +1 -1
- package/dist/{local-qdNfjzxQ.cjs → local-l5_-A-zI.cjs} +2 -2
- package/dist/{local-qdNfjzxQ.cjs.map → local-l5_-A-zI.cjs.map} +1 -1
- package/dist/{migrate-CkHtNdre.cjs → migrate-B05YVukh.cjs} +2 -2
- package/dist/{migrate-CkHtNdre.cjs.map → migrate-B05YVukh.cjs.map} +1 -1
- package/dist/{migrate-svXhccrs.mjs → migrate-C0ecSkL2.mjs} +2 -2
- package/dist/{migrate-svXhccrs.mjs.map → migrate-C0ecSkL2.mjs.map} +1 -1
- package/dist/{migrate-CDEHWq-e.cjs → migrate-DNLNhKNT.cjs} +4 -4
- package/dist/{migrate-CDEHWq-e.cjs.map → migrate-DNLNhKNT.cjs.map} +1 -1
- package/dist/{migrate--VNdTWT7.mjs → migrate-KdqlzELQ.mjs} +4 -4
- package/dist/{migrate--VNdTWT7.mjs.map → migrate-KdqlzELQ.mjs.map} +1 -1
- package/dist/{notes-D9ofENLJ.mjs → notes-Cj8jL1kS.mjs} +2 -2
- package/dist/{notes-D9ofENLJ.mjs.map → notes-Cj8jL1kS.mjs.map} +1 -1
- package/dist/{notes-DBNPml4N.cjs → notes-DTTUGZyi.cjs} +2 -2
- package/dist/{notes-DBNPml4N.cjs.map → notes-DTTUGZyi.cjs.map} +1 -1
- package/dist/{projectBucket-De0MQeNj.mjs → projectBucket-6BKUPlDp.mjs} +2 -2
- package/dist/{projectBucket-De0MQeNj.mjs.map → projectBucket-6BKUPlDp.mjs.map} +1 -1
- package/dist/{projectBucket-BtiC0Cn8.cjs → projectBucket-CjJB-nom.cjs} +2 -2
- package/dist/{projectBucket-BtiC0Cn8.cjs.map → projectBucket-CjJB-nom.cjs.map} +1 -1
- package/dist/{publish-CohTrVKe.cjs → publish-Cj36G3de.cjs} +2 -2
- package/dist/{publish-CohTrVKe.cjs.map → publish-Cj36G3de.cjs.map} +1 -1
- package/dist/{publish-k38S418e.mjs → publish-DRsFN1td.mjs} +2 -2
- package/dist/{publish-k38S418e.mjs.map → publish-DRsFN1td.mjs.map} +1 -1
- package/dist/{resolve-Cr3Qj8ch.cjs → resolve-C1NkdIcy.cjs} +4 -4
- package/dist/{resolve-Cr3Qj8ch.cjs.map → resolve-C1NkdIcy.cjs.map} +1 -1
- package/dist/{resolve-YMxlYJtO.mjs → resolve-DjbMNLt-.mjs} +4 -4
- package/dist/{resolve-YMxlYJtO.mjs.map → resolve-DjbMNLt-.mjs.map} +1 -1
- package/dist/{rollback-eyqvtzW_.cjs → rollback-531Va3dw.cjs} +5 -5
- package/dist/{rollback-eyqvtzW_.cjs.map → rollback-531Va3dw.cjs.map} +1 -1
- package/dist/{rollback-DIoyVrQI.mjs → rollback-D0ZpwlFq.mjs} +5 -5
- package/dist/{rollback-DIoyVrQI.mjs.map → rollback-D0ZpwlFq.mjs.map} +1 -1
- package/dist/{s3-CegRM8Sa.cjs → s3-BSfFgbms.cjs} +2 -2
- package/dist/{s3-CegRM8Sa.cjs.map → s3-BSfFgbms.cjs.map} +1 -1
- package/dist/{s3-Cl3tRemt.mjs → s3-Ho00alt7.mjs} +2 -2
- package/dist/{s3-Cl3tRemt.mjs.map → s3-Ho00alt7.mjs.map} +1 -1
- package/dist/{serverSetup-fQwkJ_EI.mjs → serverSetup-BW1RgJXo.mjs} +5 -5
- package/dist/{serverSetup-fQwkJ_EI.mjs.map → serverSetup-BW1RgJXo.mjs.map} +1 -1
- package/dist/{serverSetup-BwfMgz3W.cjs → serverSetup-C59lCe80.cjs} +5 -5
- package/dist/{serverSetup-BwfMgz3W.cjs.map → serverSetup-C59lCe80.cjs.map} +1 -1
- package/dist/{sniffer-BgdVvvzU.cjs → sniffer-BL7X_kzC.cjs} +6 -6
- package/dist/{sniffer-BgdVvvzU.cjs.map → sniffer-BL7X_kzC.cjs.map} +1 -1
- package/dist/{sniffer-FF7mfuR8.mjs → sniffer-DrmSlwg9.mjs} +6 -6
- package/dist/{sniffer-FF7mfuR8.mjs.map → sniffer-DrmSlwg9.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DUY-Tu6J.cjs → snsSubscriptions-B8nZBBEE.cjs} +2 -2
- package/dist/{snsSubscriptions-DUY-Tu6J.cjs.map → snsSubscriptions-B8nZBBEE.cjs.map} +1 -1
- package/dist/{snsSubscriptions-B_WH4o1S.mjs → snsSubscriptions-DF7YGauz.mjs} +2 -2
- package/dist/{snsSubscriptions-B_WH4o1S.mjs.map → snsSubscriptions-DF7YGauz.mjs.map} +1 -1
- package/dist/{sst-BkTtncop.mjs → sst-C-RSpWC2.mjs} +4 -4
- package/dist/{sst-BkTtncop.mjs.map → sst-C-RSpWC2.mjs.map} +1 -1
- package/dist/{sst-BEXeTgDQ.cjs → sst-Dvko43Y3.cjs} +4 -4
- package/dist/{sst-BEXeTgDQ.cjs.map → sst-Dvko43Y3.cjs.map} +1 -1
- package/dist/{stack-CqfBL5LA.mjs → stack-CVzOFHed.mjs} +49 -368
- package/dist/stack-CVzOFHed.mjs.map +1 -0
- package/dist/{stack-CcFgY4sJ.cjs → stack-l_eQ63Gl.cjs} +51 -442
- package/dist/stack-l_eQ63Gl.cjs.map +1 -0
- package/dist/{stage-4ZtteXz8.mjs → stage-JMlDwobz.mjs} +16 -13
- package/dist/stage-JMlDwobz.mjs.map +1 -0
- package/dist/{stage-C19XRx7W.cjs → stage-_vzQ82Gz.cjs} +17 -14
- package/dist/stage-_vzQ82Gz.cjs.map +1 -0
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-KVX_MmCR.mjs → terminal-BnKPi06T.mjs} +2 -2
- package/dist/{terminal-KVX_MmCR.mjs.map → terminal-BnKPi06T.mjs.map} +1 -1
- package/dist/{terminal-BkyVVOb-.cjs → terminal-CdPFlCS_.cjs} +2 -2
- package/dist/{terminal-BkyVVOb-.cjs.map → terminal-CdPFlCS_.cjs.map} +1 -1
- package/package.json +15 -15
- package/dist/apps-BIsxWYUo.cjs.map +0 -1
- package/dist/apps-DFzUuJ22.mjs.map +0 -1
- package/dist/credentials-CJ_z0Nni.mjs.map +0 -1
- package/dist/credentials-D11xozSF.cjs.map +0 -1
- package/dist/stack-CcFgY4sJ.cjs.map +0 -1
- package/dist/stack-CqfBL5LA.mjs.map +0 -1
- package/dist/stage-4ZtteXz8.mjs.map +0 -1
- package/dist/stage-C19XRx7W.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
|
-
import {
|
|
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-FRF4PZYo.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-BRNMF29g.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 {
|
|
7
|
+
import { Bt as backupDatabases, Et as TELEMETRY_CONTAINER, Gt as stageBackups, Ht as backupFile, Nt as surfaceClientTraced, Pt as telemetryOf, S as ensureLocalAuthority, Tt as stageEnv$1, Ut as backupsPrefix, Wt as runTime, X as isImageBuild, Y as imageBuildCredentials, _ as forgetState, at as workerUnits, ct as RUNNER_PATH, d as backendsOf$1, f as constructGlobs, it as processorUnits, jt as scopeTelemetryEnv, kt as appTelemetry, m as reconcileWorkspace, n as appProcess, nt as isUnder, o as processEnv, ot as BACKUPS_SERVICE, p as derivedContainers, st as BACKUPS_URL_KEY, u as FAKE_ENV, w as localAuthorityPaths, x as pgClient, xt as quoteIdentifier, yt as postgresDatabaseNames } from "./apps-CmKxFPTj.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { B as imageBuildCredentials, J as processorUnits, K as isUnder, V as isImageBuild, Y as workerUnits, _ as pgClient, _t as surfaceClientTraced, at as quoteIdentifier, b as localAuthorityPaths, c as constructGlobs, ht as scopeTelemetryEnv, l as derivedContainers, lt as stageEnv$1, o as FAKE_ENV, p as forgetState, pt as appTelemetry, rt as postgresDatabaseNames, s as backendsOf$1, u as reconcileWorkspace, ut as TELEMETRY_CONTAINER, v as ensureLocalAuthority, vt as telemetryOf } from "./apps-DFzUuJ22.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-DNuENvIt.mjs";
|
|
11
10
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-CzPrixYu.mjs";
|
|
12
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";
|
|
13
12
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
14
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-CusLH-9S.mjs";
|
|
15
14
|
import { i as discover, r as consumedBy, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-DbDrCQ8h.mjs";
|
|
16
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
15
|
+
import { d as assertDevServicesFlag } from "./notes-Cj8jL1kS.mjs";
|
|
16
|
+
import { D as pinnedRef, T as parseDigests, a as composeProject, c as derivedCredentials, d as stackDir, f as stackPlan, v as EDGE_PROJECT } from "./stack-CVzOFHed.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-DsJNWnaX.mjs";
|
|
18
|
+
import { b as awsEndpoint, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-DF7YGauz.mjs";
|
|
19
19
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
20
20
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
21
21
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-uxLBq3e3.mjs";
|
|
22
22
|
import { n as withHandlers, t as manifestModule } from "./emit-Bj6XSivk.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-2SR2d_BC.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-DrmSlwg9.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-DI_tg5Mi.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-DQVwsyTh.mjs";
|
|
29
29
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
30
30
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-g25dcGzK.mjs";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
@@ -55,7 +55,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
55
55
|
import crypto from "crypto";
|
|
56
56
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
57
57
|
//#region package.json
|
|
58
|
-
var version = "10.0.0-alpha.
|
|
58
|
+
var version = "10.0.0-alpha.148";
|
|
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-DrmSlwg9.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-JMlDwobz.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) {
|
|
@@ -2215,7 +2215,10 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
const defaultEnv = loadEnvFiles(".env");
|
|
2217
2217
|
if (defaultEnv.loaded.length > 0) logger$6.log(`📦 Loaded env: ${defaultEnv.loaded.join(", ")}`);
|
|
2218
|
-
const { credentials, secretsJsonPath, appName } = isImageBuild() ? await imageBuildEntry(cwd) : await prepareEntryCredentials({
|
|
2218
|
+
const { credentials, secretsJsonPath, appName } = isImageBuild() ? await imageBuildEntry(cwd) : await prepareEntryCredentials({
|
|
2219
|
+
cwd,
|
|
2220
|
+
scoped: true
|
|
2221
|
+
});
|
|
2219
2222
|
if (appName) logger$6.log(`📦 App: ${appName}`);
|
|
2220
2223
|
const secretCount = Object.keys(credentials).filter((k) => k !== "PORT").length;
|
|
2221
2224
|
if (secretCount > 0 && !isImageBuild()) logger$6.log(`🔐 Loaded ${secretCount} secret(s)`);
|
|
@@ -2416,7 +2419,9 @@ async function devCommand(options) {
|
|
|
2416
2419
|
for (const line of describeLogins(logins)) logger$5.log(line);
|
|
2417
2420
|
}
|
|
2418
2421
|
}
|
|
2419
|
-
|
|
2422
|
+
const processValues = processEnv(reconciled.manifest, appProcess(workspace, reconciled.manifest, reconciled.background, workspaceAppName), { ...appSecrets }, reconciled.env);
|
|
2423
|
+
for (const key of Object.keys(appSecrets)) delete appSecrets[key];
|
|
2424
|
+
Object.assign(appSecrets, processValues);
|
|
2420
2425
|
const declared = reconciled.manifest;
|
|
2421
2426
|
const scoped = scopeTelemetryEnv(appSecrets, {
|
|
2422
2427
|
uses: declared !== void 0 && (appTelemetry(declared, workspaceAppName) !== void 0 || (initial.workers ?? []).some((id) => telemetryOf(declared, id) !== void 0)),
|
|
@@ -2768,9 +2773,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2768
2773
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2769
2774
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2770
2775
|
if (options.migrate || options.seed) {
|
|
2771
|
-
const { prepareDevDatabases } = await import("./migrate
|
|
2776
|
+
const { prepareDevDatabases } = await import("./migrate-KdqlzELQ.mjs");
|
|
2772
2777
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2773
|
-
} else await import("./migrate
|
|
2778
|
+
} else await import("./migrate-KdqlzELQ.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2774
2779
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2775
2780
|
});
|
|
2776
2781
|
const appUrls = {};
|
|
@@ -2855,7 +2860,7 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2855
2860
|
announce(discovery);
|
|
2856
2861
|
const turboEnv = {
|
|
2857
2862
|
...process.env,
|
|
2858
|
-
...
|
|
2863
|
+
...processEnv(reconciled.manifest, {}, rawSecrets, reconciled.env),
|
|
2859
2864
|
NODE_ENV: "development",
|
|
2860
2865
|
...configPath ? { GKM_CONFIG_PATH: configPath } : {},
|
|
2861
2866
|
...options.fake ? { [FAKE_ENV]: "1" } : {},
|
|
@@ -2919,7 +2924,10 @@ async function entryDevCommand(options) {
|
|
|
2919
2924
|
if (!existsSync(entryPath)) throw new Error(`Entry file not found: ${entryPath}`);
|
|
2920
2925
|
const defaultEnv = loadEnvFiles(".env");
|
|
2921
2926
|
if (defaultEnv.loaded.length > 0) logger$5.log(`📦 Loaded env: ${defaultEnv.loaded.join(", ")}`);
|
|
2922
|
-
const { credentials, resolvedPort, secretsJsonPath, appName } = await prepareEntryCredentials({
|
|
2927
|
+
const { credentials, resolvedPort, secretsJsonPath, appName } = await prepareEntryCredentials({
|
|
2928
|
+
explicitPort: options.portExplicit ? options.port : void 0,
|
|
2929
|
+
scoped: true
|
|
2930
|
+
});
|
|
2923
2931
|
if (appName) logger$5.log(`📦 App: ${appName} (port ${resolvedPort})`);
|
|
2924
2932
|
logger$5.log(`🚀 Starting entry file: ${entry} on port ${resolvedPort}`);
|
|
2925
2933
|
if (Object.keys(credentials).length > 1) logger$5.log(`🔐 Loaded ${Object.keys(credentials).length - 1} secret(s) + PORT`);
|
|
@@ -3647,7 +3655,15 @@ process.on('SIGINT', shutdown);
|
|
|
3647
3655
|
import { serve } from '@hono/node-server';
|
|
3648
3656
|
import { Hono } from 'hono';
|
|
3649
3657
|
${options.gracefulShutdown ? "import { runShutdownHooks } from '@geekmidas/constructs';\n" : ""}
|
|
3650
|
-
${startTelemetryCode([options.healthCheck])}
|
|
3658
|
+
${startTelemetryCode([options.healthCheck])}${options.trustedOriginsKey ? `
|
|
3659
|
+
// The origins it trusts — the apps with an edge to it — are the ones whose
|
|
3660
|
+
// trace context its request spans continue: a sibling calls it through the
|
|
3661
|
+
// edge, as a browser does, with the origin of the site it is acting for.
|
|
3662
|
+
trustedOrigins = (process.env[${JSON.stringify(options.trustedOriginsKey)}] ?? '')
|
|
3663
|
+
.split(',')
|
|
3664
|
+
.map((origin) => origin.trim())
|
|
3665
|
+
.filter(Boolean);
|
|
3666
|
+
` : ""}
|
|
3651
3667
|
const { app: surface, attach, release } = await import('./app.js');
|
|
3652
3668
|
|
|
3653
3669
|
const port = Number(process.env.PORT) || 3000;
|
|
@@ -3874,9 +3890,10 @@ async function buildApp(input) {
|
|
|
3874
3890
|
const outputDir = join(appRoot, ".gkm", "server");
|
|
3875
3891
|
const entryPoint = await writeSurfaceServer(outputDir, {
|
|
3876
3892
|
...production,
|
|
3877
|
-
...telemetry ? { telemetry } : {}
|
|
3893
|
+
...telemetry ? { telemetry } : {},
|
|
3894
|
+
trustedOriginsKey: provideKey(selfServing.id, "trustedOrigins")
|
|
3878
3895
|
});
|
|
3879
|
-
const { bundleServer } = await import("./bundler-
|
|
3896
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
3880
3897
|
await bundleServer({
|
|
3881
3898
|
entryPoint,
|
|
3882
3899
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4121,7 +4138,7 @@ async function buildWorkers(input) {
|
|
|
4121
4138
|
});
|
|
4122
4139
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4123
4140
|
if (!input.bundle) continue;
|
|
4124
|
-
const { bundleServer } = await import("./bundler-
|
|
4141
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4125
4142
|
const outfile = workerBundleName(worker.id);
|
|
4126
4143
|
await bundleServer({
|
|
4127
4144
|
entryPoint,
|
|
@@ -4163,7 +4180,7 @@ async function buildProcessors(input) {
|
|
|
4163
4180
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4164
4181
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4165
4182
|
if (!input.bundle) continue;
|
|
4166
|
-
const { bundleServer } = await import("./bundler-
|
|
4183
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4167
4184
|
const outfile = processorBundleName(fileServerId);
|
|
4168
4185
|
await bundleServer({
|
|
4169
4186
|
entryPoint,
|
|
@@ -4246,7 +4263,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4246
4263
|
let masterKey;
|
|
4247
4264
|
if (context.production?.bundle && !skipBundle) {
|
|
4248
4265
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4249
|
-
const { bundleServer } = await import("./bundler-
|
|
4266
|
+
const { bundleServer } = await import("./bundler-D6IEJvq4.mjs");
|
|
4250
4267
|
const allConstructs = [
|
|
4251
4268
|
...endpoints.map((e) => e.construct),
|
|
4252
4269
|
...functions.map((f) => f.construct),
|
|
@@ -6083,25 +6100,25 @@ function loadPackageJson() {
|
|
|
6083
6100
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6084
6101
|
*/
|
|
6085
6102
|
const GEEKMIDAS_VERSIONS = {
|
|
6086
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6087
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6088
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6089
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6090
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6091
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6092
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6093
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6104
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6103
|
+
"@geekmidas/audit": "~10.0.0-alpha.148",
|
|
6104
|
+
"@geekmidas/auth": "~10.0.0-alpha.148",
|
|
6105
|
+
"@geekmidas/cache": "~10.0.0-alpha.148",
|
|
6106
|
+
"@geekmidas/client": "~10.0.0-alpha.148",
|
|
6107
|
+
"@geekmidas/cloud": "~10.0.0-alpha.148",
|
|
6108
|
+
"@geekmidas/constructs": "~10.0.0-alpha.148",
|
|
6109
|
+
"@geekmidas/db": "~10.0.0-alpha.148",
|
|
6110
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.148",
|
|
6111
|
+
"@geekmidas/envkit": "~10.0.0-alpha.148",
|
|
6112
|
+
"@geekmidas/errors": "~10.0.0-alpha.148",
|
|
6113
|
+
"@geekmidas/events": "~10.0.0-alpha.148",
|
|
6114
|
+
"@geekmidas/logger": "~10.0.0-alpha.148",
|
|
6115
|
+
"@geekmidas/manifest": "~10.0.0-alpha.148",
|
|
6116
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.148",
|
|
6117
|
+
"@geekmidas/schema": "~10.0.0-alpha.148",
|
|
6118
|
+
"@geekmidas/services": "~10.0.0-alpha.148",
|
|
6119
|
+
"@geekmidas/storage": "~10.0.0-alpha.148",
|
|
6120
|
+
"@geekmidas/telescope": "~10.0.0-alpha.148",
|
|
6121
|
+
"@geekmidas/testkit": "~10.0.0-alpha.148",
|
|
6105
6122
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6106
6123
|
};
|
|
6107
6124
|
//#endregion
|
|
@@ -7294,7 +7311,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7294
7311
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7295
7312
|
* release the pinned commit is.
|
|
7296
7313
|
*/
|
|
7297
|
-
function stagesActionUses(commit = "
|
|
7314
|
+
function stagesActionUses(commit = "d857c18e8105a44b9d0b14c2c8e3608054131d02", version = cliVersion()) {
|
|
7298
7315
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7299
7316
|
}
|
|
7300
7317
|
//#endregion
|
|
@@ -16266,7 +16283,7 @@ function testDatabases(reconciled) {
|
|
|
16266
16283
|
* starts without the reference data the app needs.
|
|
16267
16284
|
*/
|
|
16268
16285
|
async function migrateTestStage(workspace, env) {
|
|
16269
|
-
const { migrateAndSeed } = await import("./migrate
|
|
16286
|
+
const { migrateAndSeed } = await import("./migrate-KdqlzELQ.mjs");
|
|
16270
16287
|
const { discover } = await import("./discover-DbDrCQ8h.mjs").then((n) => n.a);
|
|
16271
16288
|
const sources = {};
|
|
16272
16289
|
const manifest = await discover({
|
|
@@ -16691,7 +16708,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16691
16708
|
try {
|
|
16692
16709
|
const globalOptions = program.opts();
|
|
16693
16710
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16694
|
-
const { easSync } = await import("./eas-
|
|
16711
|
+
const { easSync } = await import("./eas-B_yjP_Sl.mjs");
|
|
16695
16712
|
await easSync(options);
|
|
16696
16713
|
} catch (error) {
|
|
16697
16714
|
exitWithError(error);
|
|
@@ -16701,7 +16718,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16701
16718
|
try {
|
|
16702
16719
|
const globalOptions = program.opts();
|
|
16703
16720
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16704
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16721
|
+
const { publish, PublishModeConflict } = await import("./publish-DRsFN1td.mjs");
|
|
16705
16722
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16706
16723
|
const { build, update, ...rest } = options;
|
|
16707
16724
|
await publish({
|
|
@@ -16717,7 +16734,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16717
16734
|
try {
|
|
16718
16735
|
const globalOptions = program.opts();
|
|
16719
16736
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16720
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16737
|
+
const { deployGooglePlay } = await import("./googlePlay-CapfGnZ8.mjs");
|
|
16721
16738
|
await deployGooglePlay(options);
|
|
16722
16739
|
} catch (error) {
|
|
16723
16740
|
exitWithError(error);
|
|
@@ -16739,7 +16756,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16739
16756
|
try {
|
|
16740
16757
|
const globalOptions = program.opts();
|
|
16741
16758
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16742
|
-
const { migrateCommand } = await import("./migrate
|
|
16759
|
+
const { migrateCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16743
16760
|
await migrateCommand({
|
|
16744
16761
|
...options,
|
|
16745
16762
|
...construct ? { construct } : {}
|
|
@@ -16752,7 +16769,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16752
16769
|
try {
|
|
16753
16770
|
const globalOptions = program.opts();
|
|
16754
16771
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16755
|
-
const { seedCommand } = await import("./migrate
|
|
16772
|
+
const { seedCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16756
16773
|
await seedCommand({
|
|
16757
16774
|
...options,
|
|
16758
16775
|
...construct ? { construct } : {}
|
|
@@ -16765,7 +16782,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16765
16782
|
try {
|
|
16766
16783
|
const globalOptions = program.opts();
|
|
16767
16784
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16768
|
-
const { migrationCommand } = await import("./migrate
|
|
16785
|
+
const { migrationCommand } = await import("./migrate-KdqlzELQ.mjs");
|
|
16769
16786
|
await migrationCommand({
|
|
16770
16787
|
construct,
|
|
16771
16788
|
...name ? { name } : {}
|
|
@@ -16865,7 +16882,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16865
16882
|
try {
|
|
16866
16883
|
const globalOptions = program.opts();
|
|
16867
16884
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16868
|
-
const { secretsAddCommand } = await import("./add-
|
|
16885
|
+
const { secretsAddCommand } = await import("./add-CvmRPEfW.mjs");
|
|
16869
16886
|
await secretsAddCommand(options);
|
|
16870
16887
|
} catch (error) {
|
|
16871
16888
|
exitWithError(error);
|
|
@@ -16875,7 +16892,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16875
16892
|
try {
|
|
16876
16893
|
const globalOptions = program.opts();
|
|
16877
16894
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16878
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16895
|
+
const { encryptionRotateCommand } = await import("./encryption-dUnvnbu8.mjs");
|
|
16879
16896
|
await encryptionRotateCommand(construct, options);
|
|
16880
16897
|
} catch (error) {
|
|
16881
16898
|
exitWithError(error);
|
|
@@ -16885,7 +16902,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16885
16902
|
try {
|
|
16886
16903
|
const globalOptions = program.opts();
|
|
16887
16904
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16888
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16905
|
+
const { encryptionRetireCommand } = await import("./encryption-dUnvnbu8.mjs");
|
|
16889
16906
|
await encryptionRetireCommand(construct, key, options);
|
|
16890
16907
|
} catch (error) {
|
|
16891
16908
|
exitWithError(error);
|
|
@@ -16924,7 +16941,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16924
16941
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16925
16942
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16926
16943
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16927
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
16944
|
+
const { secretsStoreFor } = await import("./credentials-FRF4PZYo.mjs").then((n) => n.j);
|
|
16928
16945
|
const { workspace } = await loadWorkspaceConfig();
|
|
16929
16946
|
const stage = options.stage ?? workspace.stages.local;
|
|
16930
16947
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16933,7 +16950,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16933
16950
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16934
16951
|
process.exit(1);
|
|
16935
16952
|
}
|
|
16936
|
-
const { derivedContainers } = await import("./apps-
|
|
16953
|
+
const { derivedContainers } = await import("./apps-CmKxFPTj.mjs").then((n) => n.h);
|
|
16937
16954
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16938
16955
|
if (!result) {
|
|
16939
16956
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16950,14 +16967,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16950
16967
|
try {
|
|
16951
16968
|
const globalOptions = program.opts();
|
|
16952
16969
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16953
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16970
|
+
const { secretsMigrateCommand } = await import("./migrate-C0ecSkL2.mjs");
|
|
16954
16971
|
await secretsMigrateCommand(options);
|
|
16955
16972
|
} catch (error) {
|
|
16956
16973
|
exitWithError(error);
|
|
16957
16974
|
}
|
|
16958
16975
|
});
|
|
16959
16976
|
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) => {
|
|
16960
|
-
const { deployCli } = await import("./cli-
|
|
16977
|
+
const { deployCli } = await import("./cli-AZVyGSRn.mjs");
|
|
16961
16978
|
const globalOptions = program.opts();
|
|
16962
16979
|
const code = await deployCli({
|
|
16963
16980
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16977,8 +16994,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16977
16994
|
});
|
|
16978
16995
|
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) => {
|
|
16979
16996
|
try {
|
|
16980
|
-
const { rollbackStage } = await import("./rollback-
|
|
16981
|
-
const { terminalCredentials } = await import("./terminal-
|
|
16997
|
+
const { rollbackStage } = await import("./rollback-D0ZpwlFq.mjs").then((n) => n.a);
|
|
16998
|
+
const { terminalCredentials } = await import("./terminal-BnKPi06T.mjs");
|
|
16982
16999
|
const globalOptions = program.opts();
|
|
16983
17000
|
await rollbackStage({
|
|
16984
17001
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16996,7 +17013,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16996
17013
|
try {
|
|
16997
17014
|
const globalOptions = program.opts();
|
|
16998
17015
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16999
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17016
|
+
const { composeServerCommand } = await import("./serverSetup-BW1RgJXo.mjs");
|
|
17000
17017
|
await composeServerCommand(options);
|
|
17001
17018
|
} catch (error) {
|
|
17002
17019
|
exitWithError(error);
|
|
@@ -17021,7 +17038,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17021
17038
|
try {
|
|
17022
17039
|
const globalOptions = program.opts();
|
|
17023
17040
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17024
|
-
const { deployGithubCommand } = await import("./github-
|
|
17041
|
+
const { deployGithubCommand } = await import("./github-D2-FIlNY.mjs");
|
|
17025
17042
|
await deployGithubCommand(options);
|
|
17026
17043
|
} catch (error) {
|
|
17027
17044
|
exitWithError(error);
|