@geekmidas/cli 10.0.0-alpha.128 → 10.0.0-alpha.129
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/README.md +3 -3
- package/dist/{GoDaddyProvider-CJ4vLgLc.mjs → GoDaddyProvider-AhuGnEZV.mjs} +2 -2
- package/dist/{GoDaddyProvider-CJ4vLgLc.mjs.map → GoDaddyProvider-AhuGnEZV.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DNKDgN4c.cjs → GoDaddyProvider-Qq_nddKT.cjs} +2 -2
- package/dist/{GoDaddyProvider-DNKDgN4c.cjs.map → GoDaddyProvider-Qq_nddKT.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C39DHDiy.cjs → LegacyStateStore-1C1j7ejD.cjs} +3 -3
- package/dist/{LegacyStateStore-C39DHDiy.cjs.map → LegacyStateStore-1C1j7ejD.cjs.map} +1 -1
- package/dist/{LegacyStateStore-Dyy2HJ5w.mjs → LegacyStateStore-ZoAGkNSP.mjs} +3 -3
- package/dist/{LegacyStateStore-Dyy2HJ5w.mjs.map → LegacyStateStore-ZoAGkNSP.mjs.map} +1 -1
- package/dist/{LocalStateStore-Dd_ufBGj.mjs → LocalStateStore-DHb4xA3-.mjs} +2 -2
- package/dist/{LocalStateStore-Dd_ufBGj.mjs.map → LocalStateStore-DHb4xA3-.mjs.map} +1 -1
- package/dist/{LocalStateStore-DjosDjI_.cjs → LocalStateStore-DrFbxhJU.cjs} +2 -2
- package/dist/{LocalStateStore-DjosDjI_.cjs.map → LocalStateStore-DrFbxhJU.cjs.map} +1 -1
- package/dist/{S3StateStore-z643Z4I8.cjs → S3StateStore-CmWtoJTs.cjs} +2 -2
- package/dist/{S3StateStore-z643Z4I8.cjs.map → S3StateStore-CmWtoJTs.cjs.map} +1 -1
- package/dist/{S3StateStore-BaXRkJxv.mjs → S3StateStore-DJapLfBV.mjs} +2 -2
- package/dist/{S3StateStore-BaXRkJxv.mjs.map → S3StateStore-DJapLfBV.mjs.map} +1 -1
- package/dist/{SSMStateStore-BYuP_QBj.cjs → SSMStateStore-B0HWy2fD.cjs} +2 -2
- package/dist/{SSMStateStore-BYuP_QBj.cjs.map → SSMStateStore-B0HWy2fD.cjs.map} +1 -1
- package/dist/{SSMStateStore-C25_b2rs.mjs → SSMStateStore-DcoLB2G6.mjs} +2 -2
- package/dist/{SSMStateStore-C25_b2rs.mjs.map → SSMStateStore-DcoLB2G6.mjs.map} +1 -1
- package/dist/{add-D1QOrzX4.cjs → add-BhfIk6ZP.cjs} +3 -3
- package/dist/{add-D1QOrzX4.cjs.map → add-BhfIk6ZP.cjs.map} +1 -1
- package/dist/{add-UkBkKrJa.mjs → add-C27m-Ohf.mjs} +3 -3
- package/dist/{add-UkBkKrJa.mjs.map → add-C27m-Ohf.mjs.map} +1 -1
- package/dist/{bundler-CTjCpxnJ.cjs → bundler-7k6KcC5M.cjs} +5 -5
- package/dist/{bundler-CTjCpxnJ.cjs.map → bundler-7k6KcC5M.cjs.map} +1 -1
- package/dist/{bundler-DbMeF8dZ.mjs → bundler-BhZAdOZq.mjs} +5 -5
- package/dist/{bundler-DbMeF8dZ.mjs.map → bundler-BhZAdOZq.mjs.map} +1 -1
- package/dist/{cli-B53jzbx8.cjs → cli-BCaG7_0a.cjs} +2 -2
- package/dist/{cli-B53jzbx8.cjs.map → cli-BCaG7_0a.cjs.map} +1 -1
- package/dist/{cli-C0163_6o.mjs → cli-CPYctfiS.mjs} +2 -2
- package/dist/{cli-C0163_6o.mjs.map → cli-CPYctfiS.mjs.map} +1 -1
- package/dist/{compose-B8UZhkVK.mjs → compose-Cm1fa51c.mjs} +3 -3
- package/dist/{compose-B8UZhkVK.mjs.map → compose-Cm1fa51c.mjs.map} +1 -1
- package/dist/{compose-BxXVtITo.cjs → compose-QOmxw7Ox.cjs} +3 -3
- package/dist/{compose-BxXVtITo.cjs.map → compose-QOmxw7Ox.cjs.map} +1 -1
- package/dist/{config-CRRxZMk7.d.mts → config-CbliLxS2.d.mts} +3 -3
- package/dist/{config-B8fXmuK0.d.cts.map → config-CbliLxS2.d.mts.map} +1 -1
- package/dist/{config-B8fXmuK0.d.cts → config-CjATpAye.d.cts} +3 -3
- package/dist/{config-CRRxZMk7.d.mts.map → config-CjATpAye.d.cts.map} +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-Cxk3T3oq.mjs → deploy-DRfIt-qE.mjs} +5 -5
- package/dist/{deploy-Cxk3T3oq.mjs.map → deploy-DRfIt-qE.mjs.map} +1 -1
- package/dist/{deploy-Cd4nV-Vu.cjs → deploy-XFs9gmXf.cjs} +5 -5
- package/dist/{deploy-Cd4nV-Vu.cjs.map → deploy-XFs9gmXf.cjs.map} +1 -1
- package/dist/{dokploy-DE2aHah8.mjs → dokploy-BEzXU0b-.mjs} +2 -2
- package/dist/{dokploy-DE2aHah8.mjs.map → dokploy-BEzXU0b-.mjs.map} +1 -1
- package/dist/{dokploy-BtexNh6y.cjs → dokploy-CGq-BuLe.cjs} +2 -2
- package/dist/{dokploy-BtexNh6y.cjs.map → dokploy-CGq-BuLe.cjs.map} +1 -1
- package/dist/drivers-C47nm-wB.cjs.map +1 -1
- package/dist/drivers-CDjpjakg.mjs.map +1 -1
- package/dist/{eas-QoGRLfms.cjs → eas-DTUB56bd.cjs} +2 -2
- package/dist/{eas-QoGRLfms.cjs.map → eas-DTUB56bd.cjs.map} +1 -1
- package/dist/{eas-B37qOKhb.mjs → eas-DexFFs0G.mjs} +2 -2
- package/dist/{eas-B37qOKhb.mjs.map → eas-DexFFs0G.mjs.map} +1 -1
- package/dist/{encryption-8q9SdQQC.cjs → encryption-BATd8ypu.cjs} +2 -2
- package/dist/{encryption-8q9SdQQC.cjs.map → encryption-BATd8ypu.cjs.map} +1 -1
- package/dist/{encryption-C0MA58Jw.mjs → encryption-erSXTiRJ.mjs} +2 -2
- package/dist/{encryption-C0MA58Jw.mjs.map → encryption-erSXTiRJ.mjs.map} +1 -1
- package/dist/{engine-Bc_x_l0q.cjs → engine-BRG4Zf7w.cjs} +3 -3
- package/dist/{engine-Bc_x_l0q.cjs.map → engine-BRG4Zf7w.cjs.map} +1 -1
- package/dist/{engine-WBWinyU1.mjs → engine-D06jwynu.mjs} +3 -3
- package/dist/{engine-WBWinyU1.mjs.map → engine-D06jwynu.mjs.map} +1 -1
- package/dist/{github-8-Ujyeya.cjs → github-DEt-CTeW.cjs} +4 -4
- package/dist/{github-8-Ujyeya.cjs.map → github-DEt-CTeW.cjs.map} +1 -1
- package/dist/{github-DCd1qS85.mjs → github-DXDHZ6fO.mjs} +4 -4
- package/dist/{github-DCd1qS85.mjs.map → github-DXDHZ6fO.mjs.map} +1 -1
- package/dist/{googlePlay-IBhxxd1Q.mjs → googlePlay-B2K-ay-T.mjs} +3 -3
- package/dist/{googlePlay-IBhxxd1Q.mjs.map → googlePlay-B2K-ay-T.mjs.map} +1 -1
- package/dist/{googlePlay-CpeQEoRi.cjs → googlePlay-CxQjwX9-.cjs} +3 -3
- package/dist/{googlePlay-CpeQEoRi.cjs.map → googlePlay-CxQjwX9-.cjs.map} +1 -1
- package/dist/{index-Dx93n3Ur.d.cts → index-B0AVzJnn.d.cts} +2 -2
- package/dist/{index-Cu8eIwUW.d.mts.map → index-B0AVzJnn.d.cts.map} +1 -1
- package/dist/{index-Cu8eIwUW.d.mts → index-D_XZFWdx.d.mts} +2 -2
- package/dist/{index-Dx93n3Ur.d.cts.map → index-D_XZFWdx.d.mts.map} +1 -1
- package/dist/index.cjs +52 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +52 -52
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-DjAwAbDT.cjs → migrate-BALZ77W0.cjs} +2 -2
- package/dist/{migrate-DjAwAbDT.cjs.map → migrate-BALZ77W0.cjs.map} +1 -1
- package/dist/{migrate-CXMJfuGe.cjs → migrate-Caw9Ug5O.cjs} +2 -2
- package/dist/{migrate-CXMJfuGe.cjs.map → migrate-Caw9Ug5O.cjs.map} +1 -1
- package/dist/{migrate-DS531DNJ.mjs → migrate-DQWFzuQR.mjs} +2 -2
- package/dist/{migrate-DS531DNJ.mjs.map → migrate-DQWFzuQR.mjs.map} +1 -1
- package/dist/{migrate-DEp8UH6U.mjs → migrate-DmwkQymE.mjs} +2 -2
- package/dist/{migrate-DEp8UH6U.mjs.map → migrate-DmwkQymE.mjs.map} +1 -1
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/{publish-CJJgoG-F.mjs → publish-DvQNF8JU.mjs} +2 -2
- package/dist/{publish-CJJgoG-F.mjs.map → publish-DvQNF8JU.mjs.map} +1 -1
- package/dist/{publish-CLOn3UQs.cjs → publish-NZK6FV83.cjs} +2 -2
- package/dist/{publish-CLOn3UQs.cjs.map → publish-NZK6FV83.cjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-Dc25SBiS.cjs → resolve-BNs7ldTt.cjs} +3 -3
- package/dist/{resolve-Dc25SBiS.cjs.map → resolve-BNs7ldTt.cjs.map} +1 -1
- package/dist/{resolve-BTDoQPV9.mjs → resolve-CNqpGyFi.mjs} +3 -3
- package/dist/{resolve-BTDoQPV9.mjs.map → resolve-CNqpGyFi.mjs.map} +1 -1
- package/dist/{rollback-BWTELIxX.mjs → rollback-BBRlQMGK.mjs} +4 -4
- package/dist/{rollback-BWTELIxX.mjs.map → rollback-BBRlQMGK.mjs.map} +1 -1
- package/dist/{rollback-CXrHhxrQ.cjs → rollback-MtKegyjf.cjs} +4 -4
- package/dist/{rollback-CXrHhxrQ.cjs.map → rollback-MtKegyjf.cjs.map} +1 -1
- package/dist/{runtime-C_1PteGG.d.cts → runtime-DNkl6Yk3.d.mts} +2 -2
- package/dist/{runtime-C_1PteGG.d.cts.map → runtime-DNkl6Yk3.d.mts.map} +1 -1
- package/dist/{runtime-jjB2e3-M.d.mts → runtime-Dq6WXQx9.d.cts} +2 -2
- package/dist/{runtime-jjB2e3-M.d.mts.map → runtime-Dq6WXQx9.d.cts.map} +1 -1
- package/dist/{seeds-CAZkdfQB.mjs → seeds-BEUMZv9P.mjs} +36 -15
- package/dist/seeds-BEUMZv9P.mjs.map +1 -0
- package/dist/{seeds-Bzd5OLsc.cjs → seeds-i7B2DFgD.cjs} +36 -15
- package/dist/seeds-i7B2DFgD.cjs.map +1 -0
- package/dist/{serverSetup-BPUAZDR4.mjs → serverSetup-9cK5hPCc.mjs} +5 -5
- package/dist/{serverSetup-BPUAZDR4.mjs.map → serverSetup-9cK5hPCc.mjs.map} +1 -1
- package/dist/{serverSetup-DeMhVhsO.cjs → serverSetup-PwUBDgZ0.cjs} +5 -5
- package/dist/{serverSetup-DeMhVhsO.cjs.map → serverSetup-PwUBDgZ0.cjs.map} +1 -1
- package/dist/{sniffer-B7ZAAJyo.cjs → sniffer-Cxy2o6Sy.cjs} +6 -6
- package/dist/{sniffer-B7ZAAJyo.cjs.map → sniffer-Cxy2o6Sy.cjs.map} +1 -1
- package/dist/{sniffer-DpqtQqPp.mjs → sniffer-DyMDjSzb.mjs} +6 -6
- package/dist/{sniffer-DpqtQqPp.mjs.map → sniffer-DyMDjSzb.mjs.map} +1 -1
- package/dist/{snsSubscriptions-BY0cBZe7.cjs → snsSubscriptions-Cj5ywvs4.cjs} +2 -2
- package/dist/{snsSubscriptions-BY0cBZe7.cjs.map → snsSubscriptions-Cj5ywvs4.cjs.map} +1 -1
- package/dist/{snsSubscriptions-zGO69_QV.mjs → snsSubscriptions-CjNgsCSO.mjs} +2 -2
- package/dist/{snsSubscriptions-zGO69_QV.mjs.map → snsSubscriptions-CjNgsCSO.mjs.map} +1 -1
- package/dist/{stage-CyoVHsHa.mjs → stage-Bxwn5eDD.mjs} +4 -4
- package/dist/{stage-CyoVHsHa.mjs.map → stage-Bxwn5eDD.mjs.map} +1 -1
- package/dist/{stage-CZU_4D-u.cjs → stage-DxeFPGzA.cjs} +4 -4
- package/dist/{stage-CZU_4D-u.cjs.map → stage-DxeFPGzA.cjs.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-DLANxOpy.d.mts → types-CoOaIn9J.d.mts} +2 -2
- package/dist/{types-DLANxOpy.d.mts.map → types-CoOaIn9J.d.mts.map} +1 -1
- package/dist/{types-SEHMr6Aw.d.cts → types-gHsMbSOF.d.cts} +2 -2
- package/dist/{types-SEHMr6Aw.d.cts.map → types-gHsMbSOF.d.cts.map} +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/package.json +15 -15
- package/dist/seeds-Bzd5OLsc.cjs.map +0 -1
- package/dist/seeds-CAZkdfQB.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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
4
|
import { _ as storeDokployCredentials, d as getDokployRegistryId, f as getDokployToken, g as removeGoDaddyCredentials, h as removeDokployCredentials, i as CommandFailed, l as getCredentialsPath, m as readCredentials, o as DEFAULT_TIMEOUT_MS, u as getDokployCredentials, v as storeGoDaddyToken, y as storeHostingerToken } from "./credentials-DpfnUvIR.mjs";
|
|
5
|
-
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-
|
|
5
|
+
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-Cm1fa51c.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-DBHF9Gba.mjs";
|
|
7
|
-
import { D as BACKUPS_SERVICE, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as BACKUPS_URL_KEY, R as stageBackups, b as awsEndpoint, k as RUNNER_PATH, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
7
|
+
import { D as BACKUPS_SERVICE, F as backupFile, I as backupsPrefix, L as runTime, N as backupDatabases, O as BACKUPS_URL_KEY, R as stageBackups, b as awsEndpoint, k as RUNNER_PATH, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-CjNgsCSO.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { $n as telemetryOf, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as TELEMETRY_CONTAINER, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as surfaceClientTraced, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Y as ProcessorGenerator, Yn as appTelemetry, Yt as secretsStoreFor, Z as processorEntryDir, Zn as scopeTelemetryEnv, a as dnsResources, dn as isImageBuild, dr as primaryPortKey, fr as LOCAL_LOGS_EMAIL, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, lr as portsOf, mn as processorUnits, nn as withCustomSecret, or as describeServices, pn as isUnder, q as QueueGenerator, qt as prepareEntryCredentials, sr as fakeKey, tn as toEmbeddableSecrets, un as imageBuildCredentials, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-
|
|
9
|
+
import { $n as telemetryOf, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as TELEMETRY_CONTAINER, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as surfaceClientTraced, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Y as ProcessorGenerator, Yn as appTelemetry, Yt as secretsStoreFor, Z as processorEntryDir, Zn as scopeTelemetryEnv, a as dnsResources, dn as isImageBuild, dr as primaryPortKey, fr as LOCAL_LOGS_EMAIL, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, lr as portsOf, mn as processorUnits, nn as withCustomSecret, or as describeServices, pn as isUnder, q as QueueGenerator, qt as prepareEntryCredentials, sr as fakeKey, tn as toEmbeddableSecrets, un as imageBuildCredentials, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-BEUMZv9P.mjs";
|
|
10
10
|
import { t as appKey } from "./derive-Dew0QoGe.mjs";
|
|
11
11
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn, u as isCacheBackend } from "./drivers-CDjpjakg.mjs";
|
|
12
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
@@ -18,10 +18,10 @@ import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi
|
|
|
18
18
|
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";
|
|
19
19
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-CiJGdy_f.mjs";
|
|
20
20
|
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
21
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
22
|
-
import { t as deploy$1 } from "./deploy-
|
|
21
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-DyMDjSzb.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-DRfIt-qE.mjs";
|
|
23
23
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DPOGqOrU.mjs";
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-DHb4xA3-.mjs";
|
|
25
25
|
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";
|
|
26
26
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-BwtLriAF.mjs";
|
|
27
27
|
import { createRequire } from "node:module";
|
|
@@ -51,7 +51,7 @@ import crypto from "crypto";
|
|
|
51
51
|
import { Function } from "@geekmidas/constructs/functions";
|
|
52
52
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
53
53
|
//#region package.json
|
|
54
|
-
var version = "10.0.0-alpha.
|
|
54
|
+
var version = "10.0.0-alpha.129";
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/prompt.ts
|
|
57
57
|
/**
|
|
@@ -134,7 +134,7 @@ const logger$8 = console;
|
|
|
134
134
|
* Validate Dokploy token by making a test API call
|
|
135
135
|
*/
|
|
136
136
|
async function validateDokployToken(endpoint, token) {
|
|
137
|
-
const { DokployApi } = await import("./sniffer-
|
|
137
|
+
const { DokployApi } = await import("./sniffer-DyMDjSzb.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2174,7 +2174,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2174
2174
|
const cwd = options.cwd ?? process.cwd();
|
|
2175
2175
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2176
2176
|
if (options.stage && !isImageBuild()) {
|
|
2177
|
-
const { execOnStage } = await import("./stage-
|
|
2177
|
+
const { execOnStage } = await import("./stage-Bxwn5eDD.mjs").then((n) => n.n);
|
|
2178
2178
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2179
2179
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2180
2180
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2747,9 +2747,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2747
2747
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2748
2748
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2749
2749
|
if (options.migrate || options.seed) {
|
|
2750
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2750
|
+
const { prepareDevDatabases } = await import("./migrate-DmwkQymE.mjs");
|
|
2751
2751
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2752
|
-
} else await import("./migrate-
|
|
2752
|
+
} else await import("./migrate-DmwkQymE.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2753
2753
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2754
2754
|
});
|
|
2755
2755
|
const appUrls = {};
|
|
@@ -3854,7 +3854,7 @@ async function buildApp(input) {
|
|
|
3854
3854
|
...production,
|
|
3855
3855
|
...telemetry ? { telemetry } : {}
|
|
3856
3856
|
});
|
|
3857
|
-
const { bundleServer } = await import("./bundler-
|
|
3857
|
+
const { bundleServer } = await import("./bundler-BhZAdOZq.mjs");
|
|
3858
3858
|
await bundleServer({
|
|
3859
3859
|
entryPoint,
|
|
3860
3860
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4099,7 +4099,7 @@ async function buildWorkers(input) {
|
|
|
4099
4099
|
});
|
|
4100
4100
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4101
4101
|
if (!input.bundle) continue;
|
|
4102
|
-
const { bundleServer } = await import("./bundler-
|
|
4102
|
+
const { bundleServer } = await import("./bundler-BhZAdOZq.mjs");
|
|
4103
4103
|
const outfile = workerBundleName(worker.id);
|
|
4104
4104
|
await bundleServer({
|
|
4105
4105
|
entryPoint,
|
|
@@ -4141,7 +4141,7 @@ async function buildProcessors(input) {
|
|
|
4141
4141
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4142
4142
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4143
4143
|
if (!input.bundle) continue;
|
|
4144
|
-
const { bundleServer } = await import("./bundler-
|
|
4144
|
+
const { bundleServer } = await import("./bundler-BhZAdOZq.mjs");
|
|
4145
4145
|
const outfile = processorBundleName(fileServerId);
|
|
4146
4146
|
await bundleServer({
|
|
4147
4147
|
entryPoint,
|
|
@@ -4224,7 +4224,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4224
4224
|
let masterKey;
|
|
4225
4225
|
if (context.production?.bundle && !skipBundle) {
|
|
4226
4226
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4227
|
-
const { bundleServer } = await import("./bundler-
|
|
4227
|
+
const { bundleServer } = await import("./bundler-BhZAdOZq.mjs");
|
|
4228
4228
|
const allConstructs = [
|
|
4229
4229
|
...endpoints.map((e) => e.construct),
|
|
4230
4230
|
...functions.map((f) => f.construct),
|
|
@@ -6058,25 +6058,25 @@ function loadPackageJson() {
|
|
|
6058
6058
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6059
6059
|
*/
|
|
6060
6060
|
const GEEKMIDAS_VERSIONS = {
|
|
6061
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6062
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6063
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6064
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6065
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6066
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6067
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6068
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6069
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6070
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6071
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6072
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6073
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6074
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6075
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6076
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6077
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6078
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6079
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6061
|
+
"@geekmidas/audit": "~10.0.0-alpha.129",
|
|
6062
|
+
"@geekmidas/auth": "~10.0.0-alpha.129",
|
|
6063
|
+
"@geekmidas/cache": "~10.0.0-alpha.129",
|
|
6064
|
+
"@geekmidas/client": "~10.0.0-alpha.129",
|
|
6065
|
+
"@geekmidas/cloud": "~10.0.0-alpha.129",
|
|
6066
|
+
"@geekmidas/constructs": "~10.0.0-alpha.129",
|
|
6067
|
+
"@geekmidas/db": "~10.0.0-alpha.129",
|
|
6068
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.129",
|
|
6069
|
+
"@geekmidas/envkit": "~10.0.0-alpha.129",
|
|
6070
|
+
"@geekmidas/errors": "~10.0.0-alpha.129",
|
|
6071
|
+
"@geekmidas/events": "~10.0.0-alpha.129",
|
|
6072
|
+
"@geekmidas/logger": "~10.0.0-alpha.129",
|
|
6073
|
+
"@geekmidas/manifest": "~10.0.0-alpha.129",
|
|
6074
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.129",
|
|
6075
|
+
"@geekmidas/schema": "~10.0.0-alpha.129",
|
|
6076
|
+
"@geekmidas/services": "~10.0.0-alpha.129",
|
|
6077
|
+
"@geekmidas/storage": "~10.0.0-alpha.129",
|
|
6078
|
+
"@geekmidas/telescope": "~10.0.0-alpha.129",
|
|
6079
|
+
"@geekmidas/testkit": "~10.0.0-alpha.129",
|
|
6080
6080
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6081
6081
|
};
|
|
6082
6082
|
//#endregion
|
|
@@ -7269,7 +7269,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7269
7269
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7270
7270
|
* release the pinned commit is.
|
|
7271
7271
|
*/
|
|
7272
|
-
function stagesActionUses(commit = "
|
|
7272
|
+
function stagesActionUses(commit = "529ba3f3a8dab24d43ec4677ac63861cc3e92c8c", version = cliVersion()) {
|
|
7273
7273
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7274
7274
|
}
|
|
7275
7275
|
//#endregion
|
|
@@ -16241,7 +16241,7 @@ function testDatabases(reconciled) {
|
|
|
16241
16241
|
* starts without the reference data the app needs.
|
|
16242
16242
|
*/
|
|
16243
16243
|
async function migrateTestStage(workspace, env) {
|
|
16244
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16244
|
+
const { migrateAndSeed } = await import("./migrate-DmwkQymE.mjs");
|
|
16245
16245
|
const { discover } = await import("./discover-DOhYSKY_.mjs").then((n) => n.a);
|
|
16246
16246
|
const sources = {};
|
|
16247
16247
|
const manifest = await discover({
|
|
@@ -16666,7 +16666,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16666
16666
|
try {
|
|
16667
16667
|
const globalOptions = program.opts();
|
|
16668
16668
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16669
|
-
const { easSync } = await import("./eas-
|
|
16669
|
+
const { easSync } = await import("./eas-DexFFs0G.mjs");
|
|
16670
16670
|
await easSync(options);
|
|
16671
16671
|
} catch (error) {
|
|
16672
16672
|
exitWithError(error);
|
|
@@ -16676,7 +16676,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16676
16676
|
try {
|
|
16677
16677
|
const globalOptions = program.opts();
|
|
16678
16678
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16679
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16679
|
+
const { publish, PublishModeConflict } = await import("./publish-DvQNF8JU.mjs");
|
|
16680
16680
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16681
16681
|
const { build, update, ...rest } = options;
|
|
16682
16682
|
await publish({
|
|
@@ -16692,7 +16692,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16692
16692
|
try {
|
|
16693
16693
|
const globalOptions = program.opts();
|
|
16694
16694
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16695
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16695
|
+
const { deployGooglePlay } = await import("./googlePlay-B2K-ay-T.mjs");
|
|
16696
16696
|
await deployGooglePlay(options);
|
|
16697
16697
|
} catch (error) {
|
|
16698
16698
|
exitWithError(error);
|
|
@@ -16714,7 +16714,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16714
16714
|
try {
|
|
16715
16715
|
const globalOptions = program.opts();
|
|
16716
16716
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16717
|
-
const { migrateCommand } = await import("./migrate-
|
|
16717
|
+
const { migrateCommand } = await import("./migrate-DmwkQymE.mjs");
|
|
16718
16718
|
await migrateCommand({
|
|
16719
16719
|
...options,
|
|
16720
16720
|
...construct ? { construct } : {}
|
|
@@ -16727,7 +16727,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16727
16727
|
try {
|
|
16728
16728
|
const globalOptions = program.opts();
|
|
16729
16729
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16730
|
-
const { seedCommand } = await import("./migrate-
|
|
16730
|
+
const { seedCommand } = await import("./migrate-DmwkQymE.mjs");
|
|
16731
16731
|
await seedCommand({
|
|
16732
16732
|
...options,
|
|
16733
16733
|
...construct ? { construct } : {}
|
|
@@ -16740,7 +16740,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16740
16740
|
try {
|
|
16741
16741
|
const globalOptions = program.opts();
|
|
16742
16742
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16743
|
-
const { migrationCommand } = await import("./migrate-
|
|
16743
|
+
const { migrationCommand } = await import("./migrate-DmwkQymE.mjs");
|
|
16744
16744
|
await migrationCommand({
|
|
16745
16745
|
construct,
|
|
16746
16746
|
...name ? { name } : {}
|
|
@@ -16840,7 +16840,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16840
16840
|
try {
|
|
16841
16841
|
const globalOptions = program.opts();
|
|
16842
16842
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16843
|
-
const { secretsAddCommand } = await import("./add-
|
|
16843
|
+
const { secretsAddCommand } = await import("./add-C27m-Ohf.mjs");
|
|
16844
16844
|
await secretsAddCommand(options);
|
|
16845
16845
|
} catch (error) {
|
|
16846
16846
|
exitWithError(error);
|
|
@@ -16850,7 +16850,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16850
16850
|
try {
|
|
16851
16851
|
const globalOptions = program.opts();
|
|
16852
16852
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16853
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16853
|
+
const { encryptionRotateCommand } = await import("./encryption-erSXTiRJ.mjs");
|
|
16854
16854
|
await encryptionRotateCommand(construct, options);
|
|
16855
16855
|
} catch (error) {
|
|
16856
16856
|
exitWithError(error);
|
|
@@ -16860,7 +16860,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16860
16860
|
try {
|
|
16861
16861
|
const globalOptions = program.opts();
|
|
16862
16862
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16863
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16863
|
+
const { encryptionRetireCommand } = await import("./encryption-erSXTiRJ.mjs");
|
|
16864
16864
|
await encryptionRetireCommand(construct, key, options);
|
|
16865
16865
|
} catch (error) {
|
|
16866
16866
|
exitWithError(error);
|
|
@@ -16899,7 +16899,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16899
16899
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16900
16900
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16901
16901
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16902
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16902
|
+
const { secretsStoreFor } = await import("./seeds-BEUMZv9P.mjs").then((n) => n.Zt);
|
|
16903
16903
|
const { workspace } = await loadWorkspaceConfig();
|
|
16904
16904
|
const stage = options.stage ?? workspace.stages.local;
|
|
16905
16905
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16908,7 +16908,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16908
16908
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16909
16909
|
process.exit(1);
|
|
16910
16910
|
}
|
|
16911
|
-
const { derivedContainers } = await import("./seeds-
|
|
16911
|
+
const { derivedContainers } = await import("./seeds-BEUMZv9P.mjs").then((n) => n.Dt);
|
|
16912
16912
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16913
16913
|
if (!result) {
|
|
16914
16914
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16925,14 +16925,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16925
16925
|
try {
|
|
16926
16926
|
const globalOptions = program.opts();
|
|
16927
16927
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16928
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16928
|
+
const { secretsMigrateCommand } = await import("./migrate-DQWFzuQR.mjs");
|
|
16929
16929
|
await secretsMigrateCommand(options);
|
|
16930
16930
|
} catch (error) {
|
|
16931
16931
|
exitWithError(error);
|
|
16932
16932
|
}
|
|
16933
16933
|
});
|
|
16934
16934
|
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) => {
|
|
16935
|
-
const { deployCli } = await import("./cli-
|
|
16935
|
+
const { deployCli } = await import("./cli-CPYctfiS.mjs");
|
|
16936
16936
|
const globalOptions = program.opts();
|
|
16937
16937
|
const code = await deployCli({
|
|
16938
16938
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16952,7 +16952,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16952
16952
|
});
|
|
16953
16953
|
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) => {
|
|
16954
16954
|
try {
|
|
16955
|
-
const { rollbackStage } = await import("./rollback-
|
|
16955
|
+
const { rollbackStage } = await import("./rollback-BBRlQMGK.mjs").then((n) => n.a);
|
|
16956
16956
|
const { terminalCredentials } = await import("./terminal-CebFDhWQ.mjs");
|
|
16957
16957
|
const globalOptions = program.opts();
|
|
16958
16958
|
await rollbackStage({
|
|
@@ -16971,7 +16971,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16971
16971
|
try {
|
|
16972
16972
|
const globalOptions = program.opts();
|
|
16973
16973
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16974
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16974
|
+
const { composeServerCommand } = await import("./serverSetup-9cK5hPCc.mjs");
|
|
16975
16975
|
await composeServerCommand(options);
|
|
16976
16976
|
} catch (error) {
|
|
16977
16977
|
exitWithError(error);
|
|
@@ -16996,7 +16996,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16996
16996
|
try {
|
|
16997
16997
|
const globalOptions = program.opts();
|
|
16998
16998
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16999
|
-
const { deployGithubCommand } = await import("./github-
|
|
16999
|
+
const { deployGithubCommand } = await import("./github-DXDHZ6fO.mjs");
|
|
17000
17000
|
await deployGithubCommand(options);
|
|
17001
17001
|
} catch (error) {
|
|
17002
17002
|
exitWithError(error);
|