@geekmidas/cli 10.0.0-alpha.115 → 10.0.0-alpha.117
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-BDvIMTO-.cjs → GoDaddyProvider-DY4QFpCg.cjs} +2 -2
- package/dist/{GoDaddyProvider-BDvIMTO-.cjs.map → GoDaddyProvider-DY4QFpCg.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-eW1mre1g.mjs → GoDaddyProvider-I3WR0Irc.mjs} +2 -2
- package/dist/{GoDaddyProvider-eW1mre1g.mjs.map → GoDaddyProvider-I3WR0Irc.mjs.map} +1 -1
- package/dist/{LegacyStateStore-DFeykTd8.cjs → LegacyStateStore-E2rUw9Vu.cjs} +3 -3
- package/dist/{LegacyStateStore-DFeykTd8.cjs.map → LegacyStateStore-E2rUw9Vu.cjs.map} +1 -1
- package/dist/{LegacyStateStore-Ba1_x0cr.mjs → LegacyStateStore-RG7min0B.mjs} +3 -3
- package/dist/{LegacyStateStore-Ba1_x0cr.mjs.map → LegacyStateStore-RG7min0B.mjs.map} +1 -1
- package/dist/{LocalStateStore-CV-04jpI.cjs → LocalStateStore-CjzhVPcn.cjs} +2 -2
- package/dist/{LocalStateStore-CV-04jpI.cjs.map → LocalStateStore-CjzhVPcn.cjs.map} +1 -1
- package/dist/{LocalStateStore-C1rUUvBr.mjs → LocalStateStore-kI2cUMCn.mjs} +2 -2
- package/dist/{LocalStateStore-C1rUUvBr.mjs.map → LocalStateStore-kI2cUMCn.mjs.map} +1 -1
- package/dist/{S3StateStore-CqYi-1sb.cjs → S3StateStore-C-IrziGt.cjs} +2 -2
- package/dist/{S3StateStore-CqYi-1sb.cjs.map → S3StateStore-C-IrziGt.cjs.map} +1 -1
- package/dist/{S3StateStore-Dszt4fN5.mjs → S3StateStore-DZ8TCie0.mjs} +2 -2
- package/dist/{S3StateStore-Dszt4fN5.mjs.map → S3StateStore-DZ8TCie0.mjs.map} +1 -1
- package/dist/{SSMStateStore-BYRUyMkE.mjs → SSMStateStore-BqCLuXrh.mjs} +2 -2
- package/dist/{SSMStateStore-BYRUyMkE.mjs.map → SSMStateStore-BqCLuXrh.mjs.map} +1 -1
- package/dist/{SSMStateStore-zpHjDCAW.cjs → SSMStateStore-WRcHtpTy.cjs} +2 -2
- package/dist/{SSMStateStore-zpHjDCAW.cjs.map → SSMStateStore-WRcHtpTy.cjs.map} +1 -1
- package/dist/{add-DXdJjp0b.mjs → add-CZYOIVw8.mjs} +3 -3
- package/dist/{add-DXdJjp0b.mjs.map → add-CZYOIVw8.mjs.map} +1 -1
- package/dist/{add-0XI8_HOf.cjs → add-D31_V4oL.cjs} +3 -3
- package/dist/{add-0XI8_HOf.cjs.map → add-D31_V4oL.cjs.map} +1 -1
- package/dist/{bundler-B2ysiCTa.mjs → bundler-BADrhw79.mjs} +5 -5
- package/dist/{bundler-B2ysiCTa.mjs.map → bundler-BADrhw79.mjs.map} +1 -1
- package/dist/{bundler-hvCgi0EG.cjs → bundler-BY_-iPge.cjs} +5 -5
- package/dist/{bundler-hvCgi0EG.cjs.map → bundler-BY_-iPge.cjs.map} +1 -1
- package/dist/{cli-H0uB_znq.mjs → cli-BI2wjJaB.mjs} +2 -2
- package/dist/{cli-H0uB_znq.mjs.map → cli-BI2wjJaB.mjs.map} +1 -1
- package/dist/{cli-5k6kV_i4.cjs → cli-CfB5RjJS.cjs} +2 -2
- package/dist/{cli-5k6kV_i4.cjs.map → cli-CfB5RjJS.cjs.map} +1 -1
- package/dist/{compose-CYeMW2_o.cjs → compose-BEMY3EwM.cjs} +4 -4
- package/dist/{compose-CYeMW2_o.cjs.map → compose-BEMY3EwM.cjs.map} +1 -1
- package/dist/{compose-BEiJWrB7.mjs → compose-C9VN0iMJ.mjs} +4 -4
- package/dist/{compose-BEiJWrB7.mjs.map → compose-C9VN0iMJ.mjs.map} +1 -1
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-Cyx5fSb7.mjs → deploy-BD70bgTu.mjs} +5 -5
- package/dist/{deploy-Cyx5fSb7.mjs.map → deploy-BD70bgTu.mjs.map} +1 -1
- package/dist/{deploy-Q5qo1OP-.cjs → deploy-Ch45lV7q.cjs} +5 -5
- package/dist/{deploy-Q5qo1OP-.cjs.map → deploy-Ch45lV7q.cjs.map} +1 -1
- package/dist/{dns-v9viladZ.cjs → dns-0tfef9SR.cjs} +2 -2
- package/dist/{dns-v9viladZ.cjs.map → dns-0tfef9SR.cjs.map} +1 -1
- package/dist/{dns-CsApfzLc.mjs → dns-thzjBFvQ.mjs} +2 -2
- package/dist/{dns-CsApfzLc.mjs.map → dns-thzjBFvQ.mjs.map} +1 -1
- package/dist/{dokploy-Di7rC2z0.cjs → dokploy-B3wEC6-2.cjs} +2 -2
- package/dist/{dokploy-Di7rC2z0.cjs.map → dokploy-B3wEC6-2.cjs.map} +1 -1
- package/dist/{dokploy-DfUo_QRw.mjs → dokploy-QvxY0Ywi.mjs} +2 -2
- package/dist/{dokploy-DfUo_QRw.mjs.map → dokploy-QvxY0Ywi.mjs.map} +1 -1
- package/dist/{drivers-D11JHxrD.mjs → drivers-3klmg9Sk.mjs} +22 -4
- package/dist/drivers-3klmg9Sk.mjs.map +1 -0
- package/dist/{drivers-GKaA6ITM.cjs → drivers-CoqD5zYP.cjs} +27 -3
- package/dist/drivers-CoqD5zYP.cjs.map +1 -0
- package/dist/{eas-CTfRmndW.mjs → eas-C5UZCZER.mjs} +2 -2
- package/dist/{eas-CTfRmndW.mjs.map → eas-C5UZCZER.mjs.map} +1 -1
- package/dist/{eas-CIvNT6qa.cjs → eas-C8lIhY8B.cjs} +2 -2
- package/dist/{eas-CIvNT6qa.cjs.map → eas-C8lIhY8B.cjs.map} +1 -1
- package/dist/{encryption-BpTPmd7h.mjs → encryption-BhAA51gs.mjs} +2 -2
- package/dist/{encryption-BpTPmd7h.mjs.map → encryption-BhAA51gs.mjs.map} +1 -1
- package/dist/{encryption--U4NsK7N.cjs → encryption-xgKJ_098.cjs} +2 -2
- package/dist/{encryption--U4NsK7N.cjs.map → encryption-xgKJ_098.cjs.map} +1 -1
- package/dist/{engine-Ovl1PB6i.cjs → engine-BCC7wUqs.cjs} +3 -3
- package/dist/{engine-Ovl1PB6i.cjs.map → engine-BCC7wUqs.cjs.map} +1 -1
- package/dist/{engine-BFmHfek1.mjs → engine-CV0krWXP.mjs} +3 -3
- package/dist/{engine-BFmHfek1.mjs.map → engine-CV0krWXP.mjs.map} +1 -1
- package/dist/{github-tWAGuR9i.mjs → github-BASpyAs7.mjs} +4 -4
- package/dist/{github-tWAGuR9i.mjs.map → github-BASpyAs7.mjs.map} +1 -1
- package/dist/{github-CTlPQ5Ra.cjs → github-CeeFKscD.cjs} +4 -4
- package/dist/{github-CTlPQ5Ra.cjs.map → github-CeeFKscD.cjs.map} +1 -1
- package/dist/{googlePlay-BNH729It.cjs → googlePlay-C7sOjdR5.cjs} +3 -3
- package/dist/{googlePlay-BNH729It.cjs.map → googlePlay-C7sOjdR5.cjs.map} +1 -1
- package/dist/{googlePlay-m1De-qIJ.mjs → googlePlay-CD2Y0j8c.mjs} +3 -3
- package/dist/{googlePlay-m1De-qIJ.mjs.map → googlePlay-CD2Y0j8c.mjs.map} +1 -1
- package/dist/index.cjs +61 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +61 -57
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-X0Y7fz3N.mjs → migrate-BSnZFik_.mjs} +2 -2
- package/dist/{migrate-X0Y7fz3N.mjs.map → migrate-BSnZFik_.mjs.map} +1 -1
- package/dist/{migrate-4B4RgAjU.mjs → migrate-Ba-pFRWc.mjs} +2 -2
- package/dist/{migrate-4B4RgAjU.mjs.map → migrate-Ba-pFRWc.mjs.map} +1 -1
- package/dist/{migrate-DZ2--SaO.cjs → migrate-Bmgy1mh4.cjs} +2 -2
- package/dist/{migrate-DZ2--SaO.cjs.map → migrate-Bmgy1mh4.cjs.map} +1 -1
- package/dist/{migrate-BYEmpoIg.cjs → migrate-D8HKeUGo.cjs} +2 -2
- package/dist/{migrate-BYEmpoIg.cjs.map → migrate-D8HKeUGo.cjs.map} +1 -1
- package/dist/{publish-hhgraEhO.mjs → publish-BOivOLLp.mjs} +2 -2
- package/dist/{publish-hhgraEhO.mjs.map → publish-BOivOLLp.mjs.map} +1 -1
- package/dist/{publish-BUvYjiZH.cjs → publish-Cfe-drEb.cjs} +2 -2
- package/dist/{publish-BUvYjiZH.cjs.map → publish-Cfe-drEb.cjs.map} +1 -1
- package/dist/{ready-CIt5SOtg.mjs → ready-4hEoQ_cr.mjs} +2 -2
- package/dist/{ready-CIt5SOtg.mjs.map → ready-4hEoQ_cr.mjs.map} +1 -1
- package/dist/{ready-BMFjxBYA.cjs → ready-gc9IFByS.cjs} +2 -2
- package/dist/{ready-BMFjxBYA.cjs.map → ready-gc9IFByS.cjs.map} +1 -1
- package/dist/{resolve-DdFKTx8l.cjs → resolve-BHR-Ewxo.cjs} +3 -3
- package/dist/{resolve-DdFKTx8l.cjs.map → resolve-BHR-Ewxo.cjs.map} +1 -1
- package/dist/{resolve-DotGHvtX.mjs → resolve-CsJ1zX6m.mjs} +3 -3
- package/dist/{resolve-DotGHvtX.mjs.map → resolve-CsJ1zX6m.mjs.map} +1 -1
- package/dist/{rollback-D4xeUQvG.cjs → rollback-B4yQkUSH.cjs} +4 -4
- package/dist/{rollback-D4xeUQvG.cjs.map → rollback-B4yQkUSH.cjs.map} +1 -1
- package/dist/{rollback-9t9G3c_u.mjs → rollback-j38F1Jn-.mjs} +4 -4
- package/dist/{rollback-9t9G3c_u.mjs.map → rollback-j38F1Jn-.mjs.map} +1 -1
- package/dist/{seeds-DbKNcs3o.cjs → seeds-DWaiMMi3.cjs} +3 -3
- package/dist/{seeds-DbKNcs3o.cjs.map → seeds-DWaiMMi3.cjs.map} +1 -1
- package/dist/{seeds-CRkKeyW0.mjs → seeds-h4Wf-_hA.mjs} +3 -3
- package/dist/{seeds-CRkKeyW0.mjs.map → seeds-h4Wf-_hA.mjs.map} +1 -1
- package/dist/{serverSetup-DlRKRfTi.mjs → serverSetup-CKqCaDhI.mjs} +5 -5
- package/dist/{serverSetup-DlRKRfTi.mjs.map → serverSetup-CKqCaDhI.mjs.map} +1 -1
- package/dist/{serverSetup-CcWgNtiC.cjs → serverSetup-Dog5151C.cjs} +5 -5
- package/dist/{serverSetup-CcWgNtiC.cjs.map → serverSetup-Dog5151C.cjs.map} +1 -1
- package/dist/{sniffer-B6T6za4n.cjs → sniffer-B99iLT79.cjs} +6 -6
- package/dist/{sniffer-B6T6za4n.cjs.map → sniffer-B99iLT79.cjs.map} +1 -1
- package/dist/{sniffer-CakkKKqQ.mjs → sniffer-Dilwm65v.mjs} +6 -6
- package/dist/{sniffer-CakkKKqQ.mjs.map → sniffer-Dilwm65v.mjs.map} +1 -1
- package/dist/{stage-W3PUt7ar.cjs → stage-D1Qmw-Pd.cjs} +4 -4
- package/dist/{stage-W3PUt7ar.cjs.map → stage-D1Qmw-Pd.cjs.map} +1 -1
- package/dist/{stage-Mp6qQIoD.mjs → stage-dG5B6nC9.mjs} +4 -4
- package/dist/{stage-Mp6qQIoD.mjs.map → stage-dG5B6nC9.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/package.json +15 -15
- package/dist/drivers-D11JHxrD.mjs.map +0 -1
- package/dist/drivers-GKaA6ITM.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -3,27 +3,27 @@ import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mj
|
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
4
|
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
|
-
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-
|
|
6
|
+
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-C9VN0iMJ.mjs";
|
|
7
7
|
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-D1QbNd55.mjs";
|
|
8
|
-
import { b as runTime, d as BACKUPS_URL_KEY, f as RUNNER_PATH, g as backupDatabases, u as BACKUPS_SERVICE, v as backupFile, x as stageBackups, y as backupsPrefix } from "./dns-
|
|
9
|
-
import { $t as isUnder, An as appTelemetry, At as isPortAvailable, Bn as fakeKey, Bt as maskPassword, Ct as cacheBackendFor, Dn as TELEMETRY_CONTAINER, Dt as createCredentialsPreload, G as CronGenerator, Gn as LOCAL_LOGS_EMAIL, H as workerBundleName, Hn as portsOf, Ht as toEmbeddableSecrets, It as secretsStoreFor, L as dockerCommand, Mn as scopeTelemetryEnv, Mt as loadPortState, Nn as surfaceClientTraced, Nt as loadSecretsForApp, Ot as createEntryWrapper, Pn as telemetryOf, Pt as prepareEntryCredentials, Q as assertDevServicesFlag, Tt as providerOf, U as workerEntryDir, Ut as withCustomSecret, V as WorkerGenerator, W as QueueGenerator, Wn as primaryPortKey, Xt as imageBuildCredentials, Zt as isImageBuild, a as dnsResources, an as postgresDatabaseNames, bt as pgClient, c as describeActor, dt as constructGlobs, en as workerUnits, fn as readLocalCredentials, ft as derivedContainers, gn as projectKey, gt as forgetState, ht as LOCAL_CA_PATH, jt as loadEnvFiles, kt as findAvailablePort, lt as FAKE_ENV, mn as getKeyPath, pn as FileSecretsStore, pt as reconcileWorkspace, sn as quoteIdentifier, ut as backendsOf$1, wt as eventsBackendFor, xt as CLUSTER_DATABASE, zn as describeServices } from "./seeds-
|
|
8
|
+
import { b as runTime, d as BACKUPS_URL_KEY, f as RUNNER_PATH, g as backupDatabases, u as BACKUPS_SERVICE, v as backupFile, x as stageBackups, y as backupsPrefix } from "./dns-thzjBFvQ.mjs";
|
|
9
|
+
import { $t as isUnder, An as appTelemetry, At as isPortAvailable, Bn as fakeKey, Bt as maskPassword, Ct as cacheBackendFor, Dn as TELEMETRY_CONTAINER, Dt as createCredentialsPreload, G as CronGenerator, Gn as LOCAL_LOGS_EMAIL, H as workerBundleName, Hn as portsOf, Ht as toEmbeddableSecrets, It as secretsStoreFor, L as dockerCommand, Mn as scopeTelemetryEnv, Mt as loadPortState, Nn as surfaceClientTraced, Nt as loadSecretsForApp, Ot as createEntryWrapper, Pn as telemetryOf, Pt as prepareEntryCredentials, Q as assertDevServicesFlag, Tt as providerOf, U as workerEntryDir, Ut as withCustomSecret, V as WorkerGenerator, W as QueueGenerator, Wn as primaryPortKey, Xt as imageBuildCredentials, Zt as isImageBuild, a as dnsResources, an as postgresDatabaseNames, bt as pgClient, c as describeActor, dt as constructGlobs, en as workerUnits, fn as readLocalCredentials, ft as derivedContainers, gn as projectKey, gt as forgetState, ht as LOCAL_CA_PATH, jt as loadEnvFiles, kt as findAvailablePort, lt as FAKE_ENV, mn as getKeyPath, pn as FileSecretsStore, pt as reconcileWorkspace, sn as quoteIdentifier, ut as backendsOf$1, wt as eventsBackendFor, xt as CLUSTER_DATABASE, zn as describeServices } from "./seeds-h4Wf-_hA.mjs";
|
|
10
10
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
11
11
|
import { l as isCacheBackend, n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-DHnIYwUU.mjs";
|
|
12
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
13
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-CvLX8bpx.mjs";
|
|
14
14
|
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-Ca8U75dl.mjs";
|
|
15
15
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
16
|
-
import { d as awsEndpoint, f as awsProvisioningCredentials, t as deploy$1, u as awsClientConfig } from "./deploy-
|
|
16
|
+
import { d as awsEndpoint, f as awsProvisioningCredentials, t as deploy$1, u as awsClientConfig } from "./deploy-BD70bgTu.mjs";
|
|
17
17
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
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
|
-
import { n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-
|
|
19
|
+
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-3klmg9Sk.mjs";
|
|
20
20
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-C1e8qD08.mjs";
|
|
21
21
|
import { t as LocalSandbox } from "./local-BwC2v2Y8.mjs";
|
|
22
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
22
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-Dilwm65v.mjs";
|
|
23
23
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-Cf5Pf8VE.mjs";
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-kI2cUMCn.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
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
26
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-4hEoQ_cr.mjs";
|
|
27
27
|
import { createRequire } from "node:module";
|
|
28
28
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
29
29
|
import { Command, Option } from "commander";
|
|
@@ -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.117";
|
|
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-Dilwm65v.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-dG5B6nC9.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-BSnZFik_.mjs");
|
|
2751
2751
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2752
|
-
} else await import("./migrate-
|
|
2752
|
+
} else await import("./migrate-BSnZFik_.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 = {};
|
|
@@ -3825,7 +3825,7 @@ async function buildApp(input) {
|
|
|
3825
3825
|
...production,
|
|
3826
3826
|
...telemetry ? { telemetry } : {}
|
|
3827
3827
|
});
|
|
3828
|
-
const { bundleServer } = await import("./bundler-
|
|
3828
|
+
const { bundleServer } = await import("./bundler-BADrhw79.mjs");
|
|
3829
3829
|
await bundleServer({
|
|
3830
3830
|
entryPoint,
|
|
3831
3831
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3900,7 +3900,8 @@ async function buildApp(input) {
|
|
|
3900
3900
|
appRoot,
|
|
3901
3901
|
reach,
|
|
3902
3902
|
cacheBackend,
|
|
3903
|
-
eventsBackend
|
|
3903
|
+
eventsBackend,
|
|
3904
|
+
target
|
|
3904
3905
|
}));
|
|
3905
3906
|
if (target === "server") buildContext.telemetry = telemetryFor({
|
|
3906
3907
|
node: processTelemetry(declared, derived.surface?.id, servesOnly ? [] : hosted.map((unit) => unit.id)),
|
|
@@ -3933,7 +3934,8 @@ async function buildApp(input) {
|
|
|
3933
3934
|
appRoot,
|
|
3934
3935
|
reach: reachedBy(declared, [workerId], work),
|
|
3935
3936
|
cacheBackend,
|
|
3936
|
-
eventsBackend
|
|
3937
|
+
eventsBackend,
|
|
3938
|
+
target
|
|
3937
3939
|
})
|
|
3938
3940
|
}),
|
|
3939
3941
|
telemetry: (workerId) => telemetryFor({
|
|
@@ -3983,7 +3985,8 @@ function processTelemetry(declared, surfaceId, workers) {
|
|
|
3983
3985
|
* The drivers a process's entry registers, from the declarations it reaches:
|
|
3984
3986
|
* the cache's — the declaration for one that named its database, the deploy
|
|
3985
3987
|
* target's default for one that named nowhere — and the broker's, only when
|
|
3986
|
-
* it reaches a topic or a queue (see `eventsBackendsIn`)
|
|
3988
|
+
* it reaches a topic or a queue (see `eventsBackendsIn`) — and the KMS
|
|
3989
|
+
* cipher, only built for AWS and only when it reaches an `Encryption`.
|
|
3987
3990
|
*/
|
|
3988
3991
|
function runtimeDrivers(options) {
|
|
3989
3992
|
const eventsBackends = eventsBackendsIn(options.reach, options.eventsBackend);
|
|
@@ -3991,7 +3994,8 @@ function runtimeDrivers(options) {
|
|
|
3991
3994
|
storageDrivers: driversFor({
|
|
3992
3995
|
appRoot: options.appRoot,
|
|
3993
3996
|
cache: cacheBackendsIn(options.reach, options.cacheBackend),
|
|
3994
|
-
events: eventsBackends
|
|
3997
|
+
events: eventsBackends,
|
|
3998
|
+
kms: opensKmsKeys(options.reach, options.target)
|
|
3995
3999
|
}),
|
|
3996
4000
|
eventsBackends
|
|
3997
4001
|
};
|
|
@@ -4024,7 +4028,7 @@ async function buildWorkers(input) {
|
|
|
4024
4028
|
});
|
|
4025
4029
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4026
4030
|
if (!input.bundle) continue;
|
|
4027
|
-
const { bundleServer } = await import("./bundler-
|
|
4031
|
+
const { bundleServer } = await import("./bundler-BADrhw79.mjs");
|
|
4028
4032
|
const outfile = workerBundleName(worker.id);
|
|
4029
4033
|
await bundleServer({
|
|
4030
4034
|
entryPoint,
|
|
@@ -4110,7 +4114,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4110
4114
|
let masterKey;
|
|
4111
4115
|
if (context.production?.bundle && !skipBundle) {
|
|
4112
4116
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4113
|
-
const { bundleServer } = await import("./bundler-
|
|
4117
|
+
const { bundleServer } = await import("./bundler-BADrhw79.mjs");
|
|
4114
4118
|
const allConstructs = [
|
|
4115
4119
|
...endpoints.map((e) => e.construct),
|
|
4116
4120
|
...functions.map((f) => f.construct),
|
|
@@ -5944,25 +5948,25 @@ function loadPackageJson() {
|
|
|
5944
5948
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5945
5949
|
*/
|
|
5946
5950
|
const GEEKMIDAS_VERSIONS = {
|
|
5947
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5948
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5949
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5950
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5951
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5952
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5953
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5954
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5955
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5956
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5957
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5958
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5959
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5960
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5961
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5962
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5963
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5964
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5965
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
5951
|
+
"@geekmidas/audit": "~10.0.0-alpha.117",
|
|
5952
|
+
"@geekmidas/auth": "~10.0.0-alpha.117",
|
|
5953
|
+
"@geekmidas/cache": "~10.0.0-alpha.117",
|
|
5954
|
+
"@geekmidas/client": "~10.0.0-alpha.117",
|
|
5955
|
+
"@geekmidas/cloud": "~10.0.0-alpha.117",
|
|
5956
|
+
"@geekmidas/constructs": "~10.0.0-alpha.117",
|
|
5957
|
+
"@geekmidas/db": "~10.0.0-alpha.117",
|
|
5958
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.117",
|
|
5959
|
+
"@geekmidas/envkit": "~10.0.0-alpha.117",
|
|
5960
|
+
"@geekmidas/errors": "~10.0.0-alpha.117",
|
|
5961
|
+
"@geekmidas/events": "~10.0.0-alpha.117",
|
|
5962
|
+
"@geekmidas/logger": "~10.0.0-alpha.117",
|
|
5963
|
+
"@geekmidas/manifest": "~10.0.0-alpha.117",
|
|
5964
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.117",
|
|
5965
|
+
"@geekmidas/schema": "~10.0.0-alpha.117",
|
|
5966
|
+
"@geekmidas/services": "~10.0.0-alpha.117",
|
|
5967
|
+
"@geekmidas/storage": "~10.0.0-alpha.117",
|
|
5968
|
+
"@geekmidas/telescope": "~10.0.0-alpha.117",
|
|
5969
|
+
"@geekmidas/testkit": "~10.0.0-alpha.117",
|
|
5966
5970
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5967
5971
|
};
|
|
5968
5972
|
//#endregion
|
|
@@ -7155,7 +7159,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7155
7159
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7156
7160
|
* release the pinned commit is.
|
|
7157
7161
|
*/
|
|
7158
|
-
function stagesActionUses(commit = "
|
|
7162
|
+
function stagesActionUses(commit = "7104579b93b7c62b2022011e8f8a9bc5b71db5a2", version = cliVersion()) {
|
|
7159
7163
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7160
7164
|
}
|
|
7161
7165
|
//#endregion
|
|
@@ -16026,7 +16030,7 @@ function testDatabases(reconciled) {
|
|
|
16026
16030
|
* starts without the reference data the app needs.
|
|
16027
16031
|
*/
|
|
16028
16032
|
async function migrateTestStage(workspace, env) {
|
|
16029
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16033
|
+
const { migrateAndSeed } = await import("./migrate-BSnZFik_.mjs");
|
|
16030
16034
|
const { discover } = await import("./discover-Ca8U75dl.mjs").then((n) => n.a);
|
|
16031
16035
|
const sources = {};
|
|
16032
16036
|
const manifest = await discover({
|
|
@@ -16450,7 +16454,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16450
16454
|
try {
|
|
16451
16455
|
const globalOptions = program.opts();
|
|
16452
16456
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16453
|
-
const { easSync } = await import("./eas-
|
|
16457
|
+
const { easSync } = await import("./eas-C5UZCZER.mjs");
|
|
16454
16458
|
await easSync(options);
|
|
16455
16459
|
} catch (error) {
|
|
16456
16460
|
exitWithError(error);
|
|
@@ -16460,7 +16464,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16460
16464
|
try {
|
|
16461
16465
|
const globalOptions = program.opts();
|
|
16462
16466
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16463
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16467
|
+
const { publish, PublishModeConflict } = await import("./publish-BOivOLLp.mjs");
|
|
16464
16468
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16465
16469
|
const { build, update, ...rest } = options;
|
|
16466
16470
|
await publish({
|
|
@@ -16476,7 +16480,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16476
16480
|
try {
|
|
16477
16481
|
const globalOptions = program.opts();
|
|
16478
16482
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16479
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16483
|
+
const { deployGooglePlay } = await import("./googlePlay-CD2Y0j8c.mjs");
|
|
16480
16484
|
await deployGooglePlay(options);
|
|
16481
16485
|
} catch (error) {
|
|
16482
16486
|
exitWithError(error);
|
|
@@ -16498,7 +16502,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16498
16502
|
try {
|
|
16499
16503
|
const globalOptions = program.opts();
|
|
16500
16504
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16501
|
-
const { migrateCommand } = await import("./migrate-
|
|
16505
|
+
const { migrateCommand } = await import("./migrate-BSnZFik_.mjs");
|
|
16502
16506
|
await migrateCommand({
|
|
16503
16507
|
...options,
|
|
16504
16508
|
...construct ? { construct } : {}
|
|
@@ -16511,7 +16515,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16511
16515
|
try {
|
|
16512
16516
|
const globalOptions = program.opts();
|
|
16513
16517
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16514
|
-
const { seedCommand } = await import("./migrate-
|
|
16518
|
+
const { seedCommand } = await import("./migrate-BSnZFik_.mjs");
|
|
16515
16519
|
await seedCommand({
|
|
16516
16520
|
...options,
|
|
16517
16521
|
...construct ? { construct } : {}
|
|
@@ -16524,7 +16528,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16524
16528
|
try {
|
|
16525
16529
|
const globalOptions = program.opts();
|
|
16526
16530
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16527
|
-
const { migrationCommand } = await import("./migrate-
|
|
16531
|
+
const { migrationCommand } = await import("./migrate-BSnZFik_.mjs");
|
|
16528
16532
|
await migrationCommand({
|
|
16529
16533
|
construct,
|
|
16530
16534
|
...name ? { name } : {}
|
|
@@ -16624,7 +16628,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16624
16628
|
try {
|
|
16625
16629
|
const globalOptions = program.opts();
|
|
16626
16630
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16627
|
-
const { secretsAddCommand } = await import("./add-
|
|
16631
|
+
const { secretsAddCommand } = await import("./add-CZYOIVw8.mjs");
|
|
16628
16632
|
await secretsAddCommand(options);
|
|
16629
16633
|
} catch (error) {
|
|
16630
16634
|
exitWithError(error);
|
|
@@ -16634,7 +16638,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16634
16638
|
try {
|
|
16635
16639
|
const globalOptions = program.opts();
|
|
16636
16640
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16637
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16641
|
+
const { encryptionRotateCommand } = await import("./encryption-BhAA51gs.mjs");
|
|
16638
16642
|
await encryptionRotateCommand(construct, options);
|
|
16639
16643
|
} catch (error) {
|
|
16640
16644
|
exitWithError(error);
|
|
@@ -16644,7 +16648,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16644
16648
|
try {
|
|
16645
16649
|
const globalOptions = program.opts();
|
|
16646
16650
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16647
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16651
|
+
const { encryptionRetireCommand } = await import("./encryption-BhAA51gs.mjs");
|
|
16648
16652
|
await encryptionRetireCommand(construct, key, options);
|
|
16649
16653
|
} catch (error) {
|
|
16650
16654
|
exitWithError(error);
|
|
@@ -16683,7 +16687,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16683
16687
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16684
16688
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16685
16689
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16686
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16690
|
+
const { secretsStoreFor } = await import("./seeds-h4Wf-_hA.mjs").then((n) => n.Rt);
|
|
16687
16691
|
const { workspace } = await loadWorkspaceConfig();
|
|
16688
16692
|
const stage = options.stage ?? workspace.stages.local;
|
|
16689
16693
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16692,7 +16696,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16692
16696
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16693
16697
|
process.exit(1);
|
|
16694
16698
|
}
|
|
16695
|
-
const { derivedContainers } = await import("./seeds-
|
|
16699
|
+
const { derivedContainers } = await import("./seeds-h4Wf-_hA.mjs").then((n) => n.mt);
|
|
16696
16700
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16697
16701
|
if (!result) {
|
|
16698
16702
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16709,14 +16713,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16709
16713
|
try {
|
|
16710
16714
|
const globalOptions = program.opts();
|
|
16711
16715
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16712
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16716
|
+
const { secretsMigrateCommand } = await import("./migrate-Ba-pFRWc.mjs");
|
|
16713
16717
|
await secretsMigrateCommand(options);
|
|
16714
16718
|
} catch (error) {
|
|
16715
16719
|
exitWithError(error);
|
|
16716
16720
|
}
|
|
16717
16721
|
});
|
|
16718
16722
|
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) => {
|
|
16719
|
-
const { deployCli } = await import("./cli-
|
|
16723
|
+
const { deployCli } = await import("./cli-BI2wjJaB.mjs");
|
|
16720
16724
|
const globalOptions = program.opts();
|
|
16721
16725
|
const code = await deployCli({
|
|
16722
16726
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16736,7 +16740,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16736
16740
|
});
|
|
16737
16741
|
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) => {
|
|
16738
16742
|
try {
|
|
16739
|
-
const { rollbackStage } = await import("./rollback-
|
|
16743
|
+
const { rollbackStage } = await import("./rollback-j38F1Jn-.mjs").then((n) => n.a);
|
|
16740
16744
|
const { terminalCredentials } = await import("./terminal-CybB-cjk.mjs");
|
|
16741
16745
|
const globalOptions = program.opts();
|
|
16742
16746
|
await rollbackStage({
|
|
@@ -16755,7 +16759,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16755
16759
|
try {
|
|
16756
16760
|
const globalOptions = program.opts();
|
|
16757
16761
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16758
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16762
|
+
const { composeServerCommand } = await import("./serverSetup-CKqCaDhI.mjs");
|
|
16759
16763
|
await composeServerCommand(options);
|
|
16760
16764
|
} catch (error) {
|
|
16761
16765
|
exitWithError(error);
|
|
@@ -16780,7 +16784,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16780
16784
|
try {
|
|
16781
16785
|
const globalOptions = program.opts();
|
|
16782
16786
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16783
|
-
const { deployGithubCommand } = await import("./github-
|
|
16787
|
+
const { deployGithubCommand } = await import("./github-BASpyAs7.mjs");
|
|
16784
16788
|
await deployGithubCommand(options);
|
|
16785
16789
|
} catch (error) {
|
|
16786
16790
|
exitWithError(error);
|