@geekmidas/cli 10.0.0-alpha.95 → 10.0.0-alpha.97
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-BwW51hPm.mjs → GoDaddyProvider-AqNu60WQ.mjs} +2 -2
- package/dist/{GoDaddyProvider-BwW51hPm.mjs.map → GoDaddyProvider-AqNu60WQ.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-C_DgIkMv.cjs → GoDaddyProvider-B4R_QFl8.cjs} +2 -2
- package/dist/{GoDaddyProvider-C_DgIkMv.cjs.map → GoDaddyProvider-B4R_QFl8.cjs.map} +1 -1
- package/dist/{LegacyStateStore-D5DarNA2.mjs → LegacyStateStore-8F05-BOo.mjs} +3 -3
- package/dist/{LegacyStateStore-D5DarNA2.mjs.map → LegacyStateStore-8F05-BOo.mjs.map} +1 -1
- package/dist/{LegacyStateStore-BawjE_5n.cjs → LegacyStateStore-B-aRqRdD.cjs} +3 -3
- package/dist/{LegacyStateStore-BawjE_5n.cjs.map → LegacyStateStore-B-aRqRdD.cjs.map} +1 -1
- package/dist/{LocalStateStore-D8fu5WiF.cjs → LocalStateStore-B_bRI8M7.cjs} +2 -2
- package/dist/{LocalStateStore-D8fu5WiF.cjs.map → LocalStateStore-B_bRI8M7.cjs.map} +1 -1
- package/dist/{LocalStateStore-YjIqlgAz.mjs → LocalStateStore-B_mfgcO8.mjs} +2 -2
- package/dist/{LocalStateStore-YjIqlgAz.mjs.map → LocalStateStore-B_mfgcO8.mjs.map} +1 -1
- package/dist/{S3StateStore-CjTAVsWh.mjs → S3StateStore-CMN0Uzdp.mjs} +69 -8
- package/dist/S3StateStore-CMN0Uzdp.mjs.map +1 -0
- package/dist/{S3StateStore-Cm-v2IPI.cjs → S3StateStore-zK9zcd9f.cjs} +69 -8
- package/dist/S3StateStore-zK9zcd9f.cjs.map +1 -0
- package/dist/{SSMStateStore-BS4BiZCN.cjs → SSMStateStore-C489DnR6.cjs} +58 -7
- package/dist/SSMStateStore-C489DnR6.cjs.map +1 -0
- package/dist/{SSMStateStore-BhtM6jOh.mjs → SSMStateStore-Cv7VcMak.mjs} +58 -7
- package/dist/SSMStateStore-Cv7VcMak.mjs.map +1 -0
- package/dist/{add-ylx8dejw.mjs → add-BA5d4pA0.mjs} +4 -4
- package/dist/{add-ylx8dejw.mjs.map → add-BA5d4pA0.mjs.map} +1 -1
- package/dist/{add-D-3IKT7W.cjs → add-HXzTCy_I.cjs} +4 -4
- package/dist/{add-D-3IKT7W.cjs.map → add-HXzTCy_I.cjs.map} +1 -1
- package/dist/{bundler-ywR3C1B_.mjs → bundler-CBomFsnd.mjs} +5 -5
- package/dist/{bundler-ywR3C1B_.mjs.map → bundler-CBomFsnd.mjs.map} +1 -1
- package/dist/{bundler-CI3elfZS.cjs → bundler-SX3Uy8qT.cjs} +5 -5
- package/dist/{bundler-CI3elfZS.cjs.map → bundler-SX3Uy8qT.cjs.map} +1 -1
- package/dist/{cli-Dewt2T21.cjs → cli-1l0L9LCA.cjs} +2 -2
- package/dist/{cli-Dewt2T21.cjs.map → cli-1l0L9LCA.cjs.map} +1 -1
- package/dist/{cli-BCSuCfQk.mjs → cli-D7z1lQtO.mjs} +2 -2
- package/dist/{cli-BCSuCfQk.mjs.map → cli-D7z1lQtO.mjs.map} +1 -1
- package/dist/{compose-Dd0XphvF.cjs → compose-C39XupJu.cjs} +7 -7
- package/dist/{compose-Dd0XphvF.cjs.map → compose-C39XupJu.cjs.map} +1 -1
- package/dist/{compose-C4js1JDv.mjs → compose-DgWrNd2k.mjs} +7 -7
- package/dist/{compose-C4js1JDv.mjs.map → compose-DgWrNd2k.mjs.map} +1 -1
- package/dist/{config-4yirvxS8.d.cts → config-D-k0gaAr.d.mts} +4 -4
- package/dist/{config-4yirvxS8.d.cts.map → config-D-k0gaAr.d.mts.map} +1 -1
- package/dist/{config-C8NPCn1l.d.mts → config-xIWIaDhW.d.cts} +4 -4
- package/dist/{config-C8NPCn1l.d.mts.map → config-xIWIaDhW.d.cts.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +1 -1
- package/dist/deploy/public.cjs +7 -7
- package/dist/deploy/public.d.cts +5 -5
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +5 -5
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +7 -7
- package/dist/{deploy-Bw1FjX_x.cjs → deploy-Cu_HyWoJ.cjs} +212 -47
- package/dist/deploy-Cu_HyWoJ.cjs.map +1 -0
- package/dist/{deploy-B0drCD6s.mjs → deploy-LY-20Yeb.mjs} +212 -47
- package/dist/deploy-LY-20Yeb.mjs.map +1 -0
- package/dist/{discover-BtFofyQB.d.cts → discover-CbJCQq4J.d.mts} +2 -2
- package/dist/{discover-BtFofyQB.d.cts.map → discover-CbJCQq4J.d.mts.map} +1 -1
- package/dist/{discover-D-MdXZgm.d.mts → discover-RCW5mBXb.d.cts} +2 -2
- package/dist/{discover-D-MdXZgm.d.mts.map → discover-RCW5mBXb.d.cts.map} +1 -1
- package/dist/{dns-Bmk7P9c2.cjs → dns-BFnoawgh.cjs} +3 -3
- package/dist/{dns-Bmk7P9c2.cjs.map → dns-BFnoawgh.cjs.map} +1 -1
- package/dist/{dns-idXfyCay.mjs → dns-BbTOzmVp.mjs} +3 -3
- package/dist/{dns-idXfyCay.mjs.map → dns-BbTOzmVp.mjs.map} +1 -1
- package/dist/{dns-X3oqEV4C.mjs → dns-Bmbhmz41.mjs} +5 -5
- package/dist/{dns-X3oqEV4C.mjs.map → dns-Bmbhmz41.mjs.map} +1 -1
- package/dist/{dns-CyMIq6to.cjs → dns-Dro_vbk9.cjs} +5 -5
- package/dist/{dns-CyMIq6to.cjs.map → dns-Dro_vbk9.cjs.map} +1 -1
- package/dist/{dokploy-DaT0mgLU.cjs → dokploy-CKgSww82.cjs} +2 -2
- package/dist/{dokploy-DaT0mgLU.cjs.map → dokploy-CKgSww82.cjs.map} +1 -1
- package/dist/{dokploy-CZYxXeMa.mjs → dokploy-LR94sBVI.mjs} +2 -2
- package/dist/{dokploy-CZYxXeMa.mjs.map → dokploy-LR94sBVI.mjs.map} +1 -1
- package/dist/{encryption-D0ucY4O7.mjs → encryption-C0plOf4a.mjs} +3 -3
- package/dist/{encryption-D0ucY4O7.mjs.map → encryption-C0plOf4a.mjs.map} +1 -1
- package/dist/{encryption-Dp0IvLVX.cjs → encryption-CUyw-8sc.cjs} +3 -3
- package/dist/{encryption-Dp0IvLVX.cjs.map → encryption-CUyw-8sc.cjs.map} +1 -1
- package/dist/{engine-WY6j_kvA.cjs → engine-D8TeraDK.cjs} +4 -4
- package/dist/{engine-WY6j_kvA.cjs.map → engine-D8TeraDK.cjs.map} +1 -1
- package/dist/{engine-BcuhnyQO.mjs → engine-DqbqQhck.mjs} +4 -4
- package/dist/{engine-BcuhnyQO.mjs.map → engine-DqbqQhck.mjs.map} +1 -1
- package/dist/{github-DgmW83OP.cjs → github-DC4SIqV1.cjs} +35 -20
- package/dist/github-DC4SIqV1.cjs.map +1 -0
- package/dist/{github-DUGA57du.mjs → github-zgaBOQvh.mjs} +35 -20
- package/dist/github-zgaBOQvh.mjs.map +1 -0
- package/dist/{index-5eL8rM6H.d.mts → index-ClqOsbBl.d.mts} +2 -2
- package/dist/{index-5eL8rM6H.d.mts.map → index-ClqOsbBl.d.mts.map} +1 -1
- package/dist/{index-Dz-gyjm_.d.cts → index-DgOBAEl5.d.cts} +2 -2
- package/dist/{index-Dz-gyjm_.d.cts.map → index-DgOBAEl5.d.cts.map} +1 -1
- package/dist/index.cjs +56 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +56 -52
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-CZ-v5WV0.mjs → migrate-BJ8aLOWk.mjs} +3 -3
- package/dist/{migrate-CZ-v5WV0.mjs.map → migrate-BJ8aLOWk.mjs.map} +1 -1
- package/dist/{migrate-D6PlNv2o.mjs → migrate-C230QeXU.mjs} +3 -3
- package/dist/{migrate-D6PlNv2o.mjs.map → migrate-C230QeXU.mjs.map} +1 -1
- package/dist/{migrate-afgRL3Hg.cjs → migrate-CWq8-s21.cjs} +3 -3
- package/dist/{migrate-afgRL3Hg.cjs.map → migrate-CWq8-s21.cjs.map} +1 -1
- package/dist/{migrate-BBcG1dhS.cjs → migrate-CsMrI7Dk.cjs} +3 -3
- package/dist/{migrate-BBcG1dhS.cjs.map → migrate-CsMrI7Dk.cjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/projectBucket-BFp-SFee.mjs +177 -0
- package/dist/projectBucket-BFp-SFee.mjs.map +1 -0
- package/dist/projectBucket-Cho9DpSh.cjs +206 -0
- package/dist/projectBucket-Cho9DpSh.cjs.map +1 -0
- package/dist/reconcile/public.d.cts +2 -2
- package/dist/reconcile/public.d.mts +2 -2
- package/dist/{resolve-DakDhr6Z.mjs → resolve-6EYNqYdr.mjs} +3 -3
- package/dist/{resolve-DakDhr6Z.mjs.map → resolve-6EYNqYdr.mjs.map} +1 -1
- package/dist/{resolve-CFb4Navi.cjs → resolve-C8VkR4oW.cjs} +3 -3
- package/dist/{resolve-CFb4Navi.cjs.map → resolve-C8VkR4oW.cjs.map} +1 -1
- package/dist/{rollback-B1TIpjdE.mjs → rollback-BsThTeSN.mjs} +7 -6
- package/dist/{rollback-B1TIpjdE.mjs.map → rollback-BsThTeSN.mjs.map} +1 -1
- package/dist/{rollback-B-1dPP0m.cjs → rollback-CvGfm4DX.cjs} +7 -6
- package/dist/{rollback-B-1dPP0m.cjs.map → rollback-CvGfm4DX.cjs.map} +1 -1
- package/dist/{runtime-DUQdM-mW.d.cts → runtime-CaW4QqF2.d.cts} +2 -2
- package/dist/{runtime-DUQdM-mW.d.cts.map → runtime-CaW4QqF2.d.cts.map} +1 -1
- package/dist/{runtime-Vr6mleo2.d.mts → runtime-K5uxp6HE.d.mts} +2 -2
- package/dist/{runtime-Vr6mleo2.d.mts.map → runtime-K5uxp6HE.d.mts.map} +1 -1
- package/dist/{sandbox-DGOsMPMf.d.mts → sandbox-B_BkfmTP.d.mts} +2 -2
- package/dist/{sandbox-BbJmh2rI.d.cts.map → sandbox-B_BkfmTP.d.mts.map} +1 -1
- package/dist/{sandbox-BbJmh2rI.d.cts → sandbox-D8cfZUAA.d.cts} +2 -2
- package/dist/{sandbox-DGOsMPMf.d.mts.map → sandbox-D8cfZUAA.d.cts.map} +1 -1
- package/dist/{secrets-CPM0Qffe.cjs → secrets-BTY6JhTp.cjs} +3 -3
- package/dist/{secrets-CPM0Qffe.cjs.map → secrets-BTY6JhTp.cjs.map} +1 -1
- package/dist/{secrets-oI9ClAPR.mjs → secrets-HzKNTWg9.mjs} +3 -3
- package/dist/{secrets-oI9ClAPR.mjs.map → secrets-HzKNTWg9.mjs.map} +1 -1
- package/dist/{seeds-CnXkgKUv.cjs → seeds-BQlj9Fsg.cjs} +4 -4
- package/dist/{seeds-CnXkgKUv.cjs.map → seeds-BQlj9Fsg.cjs.map} +1 -1
- package/dist/{seeds-CoKkrSny.mjs → seeds-BsJRUL1K.mjs} +4 -4
- package/dist/{seeds-CoKkrSny.mjs.map → seeds-BsJRUL1K.mjs.map} +1 -1
- package/dist/{sniffer-vbiQ2Isn.cjs → sniffer-CeUKUoHn.cjs} +100 -10
- package/dist/sniffer-CeUKUoHn.cjs.map +1 -0
- package/dist/{sniffer-CFRzIrby.mjs → sniffer-DVsvP8s-.mjs} +77 -11
- package/dist/sniffer-DVsvP8s-.mjs.map +1 -0
- package/dist/{stack-B7O975TR.mjs → stack-BQOyqaVG.mjs} +3 -3
- package/dist/{stack-B7O975TR.mjs.map → stack-BQOyqaVG.mjs.map} +1 -1
- package/dist/{stack-1g57OfOw.cjs → stack-Clzi40EE.cjs} +3 -3
- package/dist/{stack-1g57OfOw.cjs.map → stack-Clzi40EE.cjs.map} +1 -1
- package/dist/{stages-BujUB4we.cjs → stages-BpDXFPGg.cjs} +4 -4
- package/dist/{stages-BujUB4we.cjs.map → stages-BpDXFPGg.cjs.map} +1 -1
- package/dist/{stages-Bt4OggMm.mjs → stages-DEmn7qI8.mjs} +4 -4
- package/dist/{stages-Bt4OggMm.mjs.map → stages-DEmn7qI8.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{types-dipJRmKV.d.cts → types-4vPS_YFX.d.cts} +21 -4
- package/dist/types-4vPS_YFX.d.cts.map +1 -0
- package/dist/{types-bkqVscdN.d.mts → types-CFsEyFb1.d.mts} +21 -4
- package/dist/types-CFsEyFb1.d.mts.map +1 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-DWK1PTXP.mjs → workspace-Bv4xROeu.mjs} +61 -5
- package/dist/workspace-Bv4xROeu.mjs.map +1 -0
- package/dist/{workspace-cSyi5nb1.cjs → workspace-C1M-S4al.cjs} +78 -4
- package/dist/workspace-C1M-S4al.cjs.map +1 -0
- package/package.json +16 -15
- package/dist/S3StateStore-CjTAVsWh.mjs.map +0 -1
- package/dist/S3StateStore-Cm-v2IPI.cjs.map +0 -1
- package/dist/SSMStateStore-BS4BiZCN.cjs.map +0 -1
- package/dist/SSMStateStore-BhtM6jOh.mjs.map +0 -1
- package/dist/deploy-B0drCD6s.mjs.map +0 -1
- package/dist/deploy-Bw1FjX_x.cjs.map +0 -1
- package/dist/github-DUGA57du.mjs.map +0 -1
- package/dist/github-DgmW83OP.cjs.map +0 -1
- package/dist/sniffer-CFRzIrby.mjs.map +0 -1
- package/dist/sniffer-vbiQ2Isn.cjs.map +0 -1
- package/dist/types-bkqVscdN.d.mts.map +0 -1
- package/dist/types-dipJRmKV.d.cts.map +0 -1
- package/dist/workspace-DWK1PTXP.mjs.map +0 -1
- package/dist/workspace-cSyi5nb1.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -5,9 +5,9 @@ import { r as DEFAULT_TIMEOUT_MS, t as CommandFailed } from "./run-BJLIerMM.mjs"
|
|
|
5
5
|
import { a as getDokployCredentials, d as removeGoDaddyCredentials, f as storeDokployCredentials, i as getCredentialsPath, l as readCredentials, m as storeHostingerToken, o as getDokployRegistryId, p as storeGoDaddyToken, s as getDokployToken, u as removeDokployCredentials } from "./credentials-B5N5yKk6.mjs";
|
|
6
6
|
import { l as withOwningTsconfigJsx, r as discover, u as ConstructGenerator } from "./discover-qjFapetL.mjs";
|
|
7
7
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
8
|
-
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-
|
|
8
|
+
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-Bv4xROeu.mjs";
|
|
9
9
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
10
|
-
import { C as assertDevServicesFlag, Cn as loadEnvFiles, Ct as LOCAL_CA_PATH, En as prepareEntryCredentials, Ft as pgClient, Gn as maskPassword, Jn as withCustomSecret, Jt as imageBuildCredentials, Ln as deployIdentity, Mn as getKeyPath, On as secretsStoreFor, Pn as projectKey, Qt as providerOf, Sn as isPortAvailable, Tn as loadSecretsForApp, Xt as cacheBackendFor, Yn as LOCAL_LOGS_EMAIL, Yt as isImageBuild, Zt as eventsBackendFor, _n as portsOf, at as CronGenerator, bn as createEntryWrapper, ct as constructGlobs, dn as telemetryOf, en as CLUSTER_DATABASE, et as workerUnits, g as describeActor, hn as fakeKey, ht as readLocalCredentials, it as QueueGenerator, jn as FileSecretsStore, jt as quoteIdentifier, kt as postgresDatabaseNames, ln as scopeTelemetryEnv, lt as derivedContainers, mn as describeServices, nt as workerBundleName, ot as FAKE_ENV, p as dnsResources, qn as toEmbeddableSecrets, rn as TELEMETRY_CONTAINER, rt as workerEntryDir, s as dockerCommand, sn as appTelemetry, st as backendsOf$1, tt as WorkerGenerator, un as surfaceClientTraced, ut as reconcileWorkspace, vn as primaryPortKey, wn as loadPortState, wt as forgetState, xn as findAvailablePort, yn as createCredentialsPreload } from "./seeds-
|
|
10
|
+
import { C as assertDevServicesFlag, Cn as loadEnvFiles, Ct as LOCAL_CA_PATH, En as prepareEntryCredentials, Ft as pgClient, Gn as maskPassword, Jn as withCustomSecret, Jt as imageBuildCredentials, Ln as deployIdentity, Mn as getKeyPath, On as secretsStoreFor, Pn as projectKey, Qt as providerOf, Sn as isPortAvailable, Tn as loadSecretsForApp, Xt as cacheBackendFor, Yn as LOCAL_LOGS_EMAIL, Yt as isImageBuild, Zt as eventsBackendFor, _n as portsOf, at as CronGenerator, bn as createEntryWrapper, ct as constructGlobs, dn as telemetryOf, en as CLUSTER_DATABASE, et as workerUnits, g as describeActor, hn as fakeKey, ht as readLocalCredentials, it as QueueGenerator, jn as FileSecretsStore, jt as quoteIdentifier, kt as postgresDatabaseNames, ln as scopeTelemetryEnv, lt as derivedContainers, mn as describeServices, nt as workerBundleName, ot as FAKE_ENV, p as dnsResources, qn as toEmbeddableSecrets, rn as TELEMETRY_CONTAINER, rt as workerEntryDir, s as dockerCommand, sn as appTelemetry, st as backendsOf$1, tt as WorkerGenerator, un as surfaceClientTraced, ut as reconcileWorkspace, vn as primaryPortKey, wn as loadPortState, wt as forgetState, xn as findAvailablePort, yn as createCredentialsPreload } from "./seeds-BsJRUL1K.mjs";
|
|
11
11
|
import { c as startTelemetryCode, l as telemetryFor, n as runtimeFor, o as mountRequestSpansCode, r as parseTelemetryFlag, s as routeTelemetry, t as EndpointGenerator, u as writeTelemetryModule } from "./EndpointGenerator-Bor2tZCm.mjs";
|
|
12
12
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
13
13
|
import { s as isCacheBackend, t as SubscriberGenerator } from "./SubscriberGenerator-CyN2VF5X.mjs";
|
|
@@ -15,12 +15,12 @@ import { a as describeHolder, i as assignAppPorts, o as holderOf, r as appTag, s
|
|
|
15
15
|
import { n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-CTaWrA_L.mjs";
|
|
16
16
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-C1e8qD08.mjs";
|
|
17
17
|
import { t as LocalSandbox } from "./local-BwC2v2Y8.mjs";
|
|
18
|
-
import {
|
|
19
|
-
import { t as deploy$1 } from "./deploy-
|
|
18
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-DVsvP8s-.mjs";
|
|
19
|
+
import { t as deploy$1 } from "./deploy-LY-20Yeb.mjs";
|
|
20
20
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-BJFvfkaz.mjs";
|
|
21
|
-
import { a as stackOverrideFile, c as dockerCompose, i as ComposePushNeedsBuild, o as edgeDir, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget } from "./compose-
|
|
22
|
-
import { d as parseDigests, h as EDGE_PROJECT, i as composeProject, p as pinnedRef, s as stackDir } from "./stack-
|
|
23
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
21
|
+
import { a as stackOverrideFile, c as dockerCompose, i as ComposePushNeedsBuild, o as edgeDir, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget } from "./compose-DgWrNd2k.mjs";
|
|
22
|
+
import { d as parseDigests, h as EDGE_PROJECT, i as composeProject, p as pinnedRef, s as stackDir } from "./stack-BQOyqaVG.mjs";
|
|
23
|
+
import { t as LocalStateStore } from "./LocalStateStore-B_mfgcO8.mjs";
|
|
24
24
|
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";
|
|
25
25
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-naOSJpeJ.mjs";
|
|
26
26
|
import { createRequire } from "node:module";
|
|
@@ -50,7 +50,7 @@ import crypto from "crypto";
|
|
|
50
50
|
import { Function } from "@geekmidas/constructs/functions";
|
|
51
51
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
52
52
|
//#region package.json
|
|
53
|
-
var version = "10.0.0-alpha.
|
|
53
|
+
var version = "10.0.0-alpha.97";
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/prompt.ts
|
|
56
56
|
/**
|
|
@@ -133,7 +133,7 @@ const logger$8 = console;
|
|
|
133
133
|
* Validate Dokploy token by making a test API call
|
|
134
134
|
*/
|
|
135
135
|
async function validateDokployToken(endpoint, token) {
|
|
136
|
-
const { DokployApi } = await import("./sniffer-
|
|
136
|
+
const { DokployApi } = await import("./sniffer-DVsvP8s-.mjs").then((n) => n.c);
|
|
137
137
|
return new DokployApi({
|
|
138
138
|
baseUrl: endpoint,
|
|
139
139
|
token
|
|
@@ -2327,9 +2327,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2327
2327
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2328
2328
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2329
2329
|
if (options.migrate || options.seed) {
|
|
2330
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2330
|
+
const { prepareDevDatabases } = await import("./migrate-BJ8aLOWk.mjs");
|
|
2331
2331
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2332
|
-
} else await import("./migrate-
|
|
2332
|
+
} else await import("./migrate-BJ8aLOWk.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2333
2333
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2334
2334
|
});
|
|
2335
2335
|
const appUrls = {};
|
|
@@ -3382,7 +3382,7 @@ async function buildApp(input) {
|
|
|
3382
3382
|
...production,
|
|
3383
3383
|
...telemetry ? { telemetry } : {}
|
|
3384
3384
|
});
|
|
3385
|
-
const { bundleServer } = await import("./bundler-
|
|
3385
|
+
const { bundleServer } = await import("./bundler-CBomFsnd.mjs");
|
|
3386
3386
|
await bundleServer({
|
|
3387
3387
|
entryPoint,
|
|
3388
3388
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3527,7 +3527,7 @@ async function buildWorkers(input) {
|
|
|
3527
3527
|
});
|
|
3528
3528
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
3529
3529
|
if (!input.bundle) continue;
|
|
3530
|
-
const { bundleServer } = await import("./bundler-
|
|
3530
|
+
const { bundleServer } = await import("./bundler-CBomFsnd.mjs");
|
|
3531
3531
|
const outfile = workerBundleName(worker.id);
|
|
3532
3532
|
await bundleServer({
|
|
3533
3533
|
entryPoint,
|
|
@@ -3613,7 +3613,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
3613
3613
|
let masterKey;
|
|
3614
3614
|
if (context.production?.bundle && !skipBundle) {
|
|
3615
3615
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
3616
|
-
const { bundleServer } = await import("./bundler-
|
|
3616
|
+
const { bundleServer } = await import("./bundler-CBomFsnd.mjs");
|
|
3617
3617
|
const allConstructs = [
|
|
3618
3618
|
...endpoints.map((e) => e.construct),
|
|
3619
3619
|
...functions.map((f) => f.construct),
|
|
@@ -4184,7 +4184,8 @@ async function stateShowCommand(options) {
|
|
|
4184
4184
|
const stored = await (await createStateStore({
|
|
4185
4185
|
config: workspace.state,
|
|
4186
4186
|
workspaceRoot: workspace.root,
|
|
4187
|
-
workspaceName: workspace.name
|
|
4187
|
+
workspaceName: workspace.name,
|
|
4188
|
+
namespace: workspace.deploy?.namespace
|
|
4188
4189
|
})).read(options.stage);
|
|
4189
4190
|
if (!stored) {
|
|
4190
4191
|
console.log(`No state found for stage: ${options.stage}`);
|
|
@@ -4211,7 +4212,8 @@ async function stateUnlockCommand(options) {
|
|
|
4211
4212
|
const holder = await (await createStateStore({
|
|
4212
4213
|
config: workspace.state,
|
|
4213
4214
|
workspaceRoot: workspace.root,
|
|
4214
|
-
workspaceName: workspace.name
|
|
4215
|
+
workspaceName: workspace.name,
|
|
4216
|
+
namespace: workspace.deploy?.namespace
|
|
4215
4217
|
})).forceUnlock(options.stage);
|
|
4216
4218
|
if (!holder) {
|
|
4217
4219
|
console.log(`Stage ${options.stage} was not locked.`);
|
|
@@ -4288,7 +4290,8 @@ async function remoteAndLocal(workspace, hint = ["Add a remote provider in gkm.c
|
|
|
4288
4290
|
remote: await createStateStore({
|
|
4289
4291
|
config: workspace.state,
|
|
4290
4292
|
workspaceRoot: workspace.root,
|
|
4291
|
-
workspaceName: workspace.name
|
|
4293
|
+
workspaceName: workspace.name,
|
|
4294
|
+
namespace: workspace.deploy?.namespace
|
|
4292
4295
|
})
|
|
4293
4296
|
};
|
|
4294
4297
|
}
|
|
@@ -4436,7 +4439,8 @@ async function stateHistoryCommand(options) {
|
|
|
4436
4439
|
const stored = await (await createStateStore({
|
|
4437
4440
|
config: workspace.state,
|
|
4438
4441
|
workspaceRoot: workspace.root,
|
|
4439
|
-
workspaceName: workspace.name
|
|
4442
|
+
workspaceName: workspace.name,
|
|
4443
|
+
namespace: workspace.deploy?.namespace
|
|
4440
4444
|
})).read(options.stage);
|
|
4441
4445
|
if (!stored) {
|
|
4442
4446
|
console.log(`No state found for stage: ${options.stage}`);
|
|
@@ -5428,25 +5432,25 @@ function loadPackageJson() {
|
|
|
5428
5432
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5429
5433
|
*/
|
|
5430
5434
|
const GEEKMIDAS_VERSIONS = {
|
|
5431
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5432
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5433
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5434
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5435
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5436
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5437
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5438
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5439
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5440
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5441
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5442
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5443
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5444
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5445
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5446
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5447
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5448
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5449
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
5435
|
+
"@geekmidas/audit": "~10.0.0-alpha.97",
|
|
5436
|
+
"@geekmidas/auth": "~10.0.0-alpha.97",
|
|
5437
|
+
"@geekmidas/cache": "~10.0.0-alpha.97",
|
|
5438
|
+
"@geekmidas/client": "~10.0.0-alpha.97",
|
|
5439
|
+
"@geekmidas/cloud": "~10.0.0-alpha.97",
|
|
5440
|
+
"@geekmidas/constructs": "~10.0.0-alpha.97",
|
|
5441
|
+
"@geekmidas/db": "~10.0.0-alpha.97",
|
|
5442
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.97",
|
|
5443
|
+
"@geekmidas/envkit": "~10.0.0-alpha.97",
|
|
5444
|
+
"@geekmidas/errors": "~10.0.0-alpha.97",
|
|
5445
|
+
"@geekmidas/events": "~10.0.0-alpha.97",
|
|
5446
|
+
"@geekmidas/logger": "~10.0.0-alpha.97",
|
|
5447
|
+
"@geekmidas/manifest": "~10.0.0-alpha.97",
|
|
5448
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.97",
|
|
5449
|
+
"@geekmidas/schema": "~10.0.0-alpha.97",
|
|
5450
|
+
"@geekmidas/services": "~10.0.0-alpha.97",
|
|
5451
|
+
"@geekmidas/storage": "~10.0.0-alpha.97",
|
|
5452
|
+
"@geekmidas/telescope": "~10.0.0-alpha.97",
|
|
5453
|
+
"@geekmidas/testkit": "~10.0.0-alpha.97",
|
|
5450
5454
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5451
5455
|
};
|
|
5452
5456
|
//#endregion
|
|
@@ -5847,7 +5851,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
5847
5851
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
5848
5852
|
* release the pinned commit is.
|
|
5849
5853
|
*/
|
|
5850
|
-
function stagesActionUses(commit = "
|
|
5854
|
+
function stagesActionUses(commit = "3e132c8a7cb4e861d459ae32496c1a122d892b14", version = cliVersion()) {
|
|
5851
5855
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
5852
5856
|
}
|
|
5853
5857
|
//#endregion
|
|
@@ -11587,7 +11591,7 @@ function testDatabases(reconciled) {
|
|
|
11587
11591
|
* starts without the reference data the app needs.
|
|
11588
11592
|
*/
|
|
11589
11593
|
async function migrateTestStage(workspace, env) {
|
|
11590
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
11594
|
+
const { migrateAndSeed } = await import("./migrate-BJ8aLOWk.mjs");
|
|
11591
11595
|
const { discover } = await import("./discover-qjFapetL.mjs").then((n) => n.i);
|
|
11592
11596
|
const sources = {};
|
|
11593
11597
|
const manifest = await discover({
|
|
@@ -12023,7 +12027,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
12023
12027
|
try {
|
|
12024
12028
|
const globalOptions = program.opts();
|
|
12025
12029
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12026
|
-
const { migrateCommand } = await import("./migrate-
|
|
12030
|
+
const { migrateCommand } = await import("./migrate-BJ8aLOWk.mjs");
|
|
12027
12031
|
await migrateCommand({
|
|
12028
12032
|
...options,
|
|
12029
12033
|
...construct ? { construct } : {}
|
|
@@ -12036,7 +12040,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
12036
12040
|
try {
|
|
12037
12041
|
const globalOptions = program.opts();
|
|
12038
12042
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12039
|
-
const { seedCommand } = await import("./migrate-
|
|
12043
|
+
const { seedCommand } = await import("./migrate-BJ8aLOWk.mjs");
|
|
12040
12044
|
await seedCommand({
|
|
12041
12045
|
...options,
|
|
12042
12046
|
...construct ? { construct } : {}
|
|
@@ -12049,7 +12053,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
12049
12053
|
try {
|
|
12050
12054
|
const globalOptions = program.opts();
|
|
12051
12055
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12052
|
-
const { migrationCommand } = await import("./migrate-
|
|
12056
|
+
const { migrationCommand } = await import("./migrate-BJ8aLOWk.mjs");
|
|
12053
12057
|
await migrationCommand({
|
|
12054
12058
|
construct,
|
|
12055
12059
|
...name ? { name } : {}
|
|
@@ -12149,7 +12153,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
12149
12153
|
try {
|
|
12150
12154
|
const globalOptions = program.opts();
|
|
12151
12155
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12152
|
-
const { secretsAddCommand } = await import("./add-
|
|
12156
|
+
const { secretsAddCommand } = await import("./add-BA5d4pA0.mjs");
|
|
12153
12157
|
await secretsAddCommand(options);
|
|
12154
12158
|
} catch (error) {
|
|
12155
12159
|
exitWithError(error);
|
|
@@ -12159,7 +12163,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
12159
12163
|
try {
|
|
12160
12164
|
const globalOptions = program.opts();
|
|
12161
12165
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12162
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
12166
|
+
const { encryptionRotateCommand } = await import("./encryption-C0plOf4a.mjs");
|
|
12163
12167
|
await encryptionRotateCommand(construct, options);
|
|
12164
12168
|
} catch (error) {
|
|
12165
12169
|
exitWithError(error);
|
|
@@ -12169,7 +12173,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
12169
12173
|
try {
|
|
12170
12174
|
const globalOptions = program.opts();
|
|
12171
12175
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12172
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
12176
|
+
const { encryptionRetireCommand } = await import("./encryption-C0plOf4a.mjs");
|
|
12173
12177
|
await encryptionRetireCommand(construct, key, options);
|
|
12174
12178
|
} catch (error) {
|
|
12175
12179
|
exitWithError(error);
|
|
@@ -12208,7 +12212,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12208
12212
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12209
12213
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
12210
12214
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
12211
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
12215
|
+
const { secretsStoreFor } = await import("./seeds-BsJRUL1K.mjs").then((n) => n.An);
|
|
12212
12216
|
const { workspace } = await loadWorkspaceConfig();
|
|
12213
12217
|
const stage = options.stage ?? workspace.stages.local;
|
|
12214
12218
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -12217,7 +12221,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12217
12221
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
12218
12222
|
process.exit(1);
|
|
12219
12223
|
}
|
|
12220
|
-
const { derivedContainers } = await import("./seeds-
|
|
12224
|
+
const { derivedContainers } = await import("./seeds-BsJRUL1K.mjs").then((n) => n.dt);
|
|
12221
12225
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
12222
12226
|
if (!result) {
|
|
12223
12227
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -12234,14 +12238,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
12234
12238
|
try {
|
|
12235
12239
|
const globalOptions = program.opts();
|
|
12236
12240
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12237
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
12241
|
+
const { secretsMigrateCommand } = await import("./migrate-C230QeXU.mjs");
|
|
12238
12242
|
await secretsMigrateCommand(options);
|
|
12239
12243
|
} catch (error) {
|
|
12240
12244
|
exitWithError(error);
|
|
12241
12245
|
}
|
|
12242
12246
|
});
|
|
12243
12247
|
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("--resources-only", "Deployed stage: create its resources — deploy.<kind>.<stage> providers' buckets and keys, and its DNS records — and nothing else (a CI runner, before the server deploys)").option("--skip-resources", "Deployed stage: an earlier --resources-only run created its resources; run no provider and write or check no DNS record").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) => {
|
|
12244
|
-
const { deployCli } = await import("./cli-
|
|
12248
|
+
const { deployCli } = await import("./cli-D7z1lQtO.mjs");
|
|
12245
12249
|
const globalOptions = program.opts();
|
|
12246
12250
|
const code = await deployCli({
|
|
12247
12251
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -12263,7 +12267,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
12263
12267
|
});
|
|
12264
12268
|
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) => {
|
|
12265
12269
|
try {
|
|
12266
|
-
const { rollbackStage } = await import("./rollback-
|
|
12270
|
+
const { rollbackStage } = await import("./rollback-BsThTeSN.mjs").then((n) => n.a);
|
|
12267
12271
|
const { terminalCredentials } = await import("./terminal-iNmAXXjs.mjs");
|
|
12268
12272
|
const globalOptions = program.opts();
|
|
12269
12273
|
await rollbackStage({
|
|
@@ -12297,7 +12301,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
12297
12301
|
try {
|
|
12298
12302
|
const globalOptions = program.opts();
|
|
12299
12303
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12300
|
-
const { deployGithubCommand } = await import("./github-
|
|
12304
|
+
const { deployGithubCommand } = await import("./github-zgaBOQvh.mjs");
|
|
12301
12305
|
await deployGithubCommand(options);
|
|
12302
12306
|
} catch (error) {
|
|
12303
12307
|
exitWithError(error);
|
|
@@ -12307,7 +12311,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
12307
12311
|
try {
|
|
12308
12312
|
const globalOptions = program.opts();
|
|
12309
12313
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12310
|
-
const { stagesCommand } = await import("./stages-
|
|
12314
|
+
const { stagesCommand } = await import("./stages-DEmn7qI8.mjs");
|
|
12311
12315
|
await stagesCommand(options);
|
|
12312
12316
|
} catch (error) {
|
|
12313
12317
|
exitWithError(error);
|