@geekmidas/cli 10.0.0-alpha.134 → 10.0.0-alpha.135
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-bMRAYW79.mjs → GoDaddyProvider-DPiJ5exO.mjs} +2 -2
- package/dist/{GoDaddyProvider-bMRAYW79.mjs.map → GoDaddyProvider-DPiJ5exO.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BWU__DEY.cjs → GoDaddyProvider-DZWg8Ssf.cjs} +2 -2
- package/dist/{GoDaddyProvider-BWU__DEY.cjs.map → GoDaddyProvider-DZWg8Ssf.cjs.map} +1 -1
- package/dist/{LegacyStateStore-BvTCypOA.cjs → LegacyStateStore-B9bnnATg.cjs} +3 -3
- package/dist/{LegacyStateStore-BvTCypOA.cjs.map → LegacyStateStore-B9bnnATg.cjs.map} +1 -1
- package/dist/{LegacyStateStore-BGEf6nPn.mjs → LegacyStateStore-D4h5bkrb.mjs} +3 -3
- package/dist/{LegacyStateStore-BGEf6nPn.mjs.map → LegacyStateStore-D4h5bkrb.mjs.map} +1 -1
- package/dist/{LocalStateStore-B5oun7s4.mjs → LocalStateStore-BtUPqLVd.mjs} +2 -2
- package/dist/{LocalStateStore-B5oun7s4.mjs.map → LocalStateStore-BtUPqLVd.mjs.map} +1 -1
- package/dist/{LocalStateStore-Dg_VH2hs.cjs → LocalStateStore-DolIqU2y.cjs} +2 -2
- package/dist/{LocalStateStore-Dg_VH2hs.cjs.map → LocalStateStore-DolIqU2y.cjs.map} +1 -1
- package/dist/{S3StateStore-C0V3gdW_.mjs → S3StateStore-CDT_DkGE.mjs} +2 -2
- package/dist/{S3StateStore-C0V3gdW_.mjs.map → S3StateStore-CDT_DkGE.mjs.map} +1 -1
- package/dist/{S3StateStore-vUawQwzF.cjs → S3StateStore-CK8U4ICM.cjs} +2 -2
- package/dist/{S3StateStore-vUawQwzF.cjs.map → S3StateStore-CK8U4ICM.cjs.map} +1 -1
- package/dist/{SSMStateStore-6OqX1ljx.mjs → SSMStateStore-BtPIF4Qk.mjs} +2 -2
- package/dist/{SSMStateStore-6OqX1ljx.mjs.map → SSMStateStore-BtPIF4Qk.mjs.map} +1 -1
- package/dist/{SSMStateStore-BqQmI50p.cjs → SSMStateStore-DmZawuR5.cjs} +2 -2
- package/dist/{SSMStateStore-BqQmI50p.cjs.map → SSMStateStore-DmZawuR5.cjs.map} +1 -1
- package/dist/{add-Cf7j443Y.mjs → add-9t0pfwcy.mjs} +3 -3
- package/dist/{add-Cf7j443Y.mjs.map → add-9t0pfwcy.mjs.map} +1 -1
- package/dist/{add-DH6kOCWt.cjs → add-fXw-yJvm.cjs} +3 -3
- package/dist/{add-DH6kOCWt.cjs.map → add-fXw-yJvm.cjs.map} +1 -1
- package/dist/{bundler-NllxHcc3.cjs → bundler-Bj4FgDuH.cjs} +5 -5
- package/dist/{bundler-NllxHcc3.cjs.map → bundler-Bj4FgDuH.cjs.map} +1 -1
- package/dist/{bundler-DJOWPm2o.mjs → bundler-DP84yfVd.mjs} +5 -5
- package/dist/{bundler-DJOWPm2o.mjs.map → bundler-DP84yfVd.mjs.map} +1 -1
- package/dist/{cli-D_lrSwHD.cjs → cli-D47RSzQn.cjs} +2 -2
- package/dist/{cli-D_lrSwHD.cjs.map → cli-D47RSzQn.cjs.map} +1 -1
- package/dist/{cli-CR1jbJwq.mjs → cli-Mmy5wBuy.mjs} +2 -2
- package/dist/{cli-CR1jbJwq.mjs.map → cli-Mmy5wBuy.mjs.map} +1 -1
- package/dist/{compose-EhGFelLH.mjs → compose-CEikJR9c.mjs} +3 -3
- package/dist/{compose-EhGFelLH.mjs.map → compose-CEikJR9c.mjs.map} +1 -1
- package/dist/{compose-CTMonYlz.cjs → compose-ht0TCG2X.cjs} +3 -3
- package/dist/{compose-CTMonYlz.cjs.map → compose-ht0TCG2X.cjs.map} +1 -1
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-Djdvl9Vw.mjs → deploy-C0TpTD1d.mjs} +5 -5
- package/dist/{deploy-Djdvl9Vw.mjs.map → deploy-C0TpTD1d.mjs.map} +1 -1
- package/dist/{deploy-Clny7rUL.cjs → deploy-CdL9_-qw.cjs} +5 -5
- package/dist/{deploy-Clny7rUL.cjs.map → deploy-CdL9_-qw.cjs.map} +1 -1
- package/dist/{dokploy-BcmHDE-j.cjs → dokploy-BueAJuoo.cjs} +2 -2
- package/dist/{dokploy-BcmHDE-j.cjs.map → dokploy-BueAJuoo.cjs.map} +1 -1
- package/dist/{dokploy-3XEN3qM8.mjs → dokploy-DpvTEQV9.mjs} +2 -2
- package/dist/{dokploy-3XEN3qM8.mjs.map → dokploy-DpvTEQV9.mjs.map} +1 -1
- package/dist/{eas-47ihrpP_.cjs → eas-BPDzq2YJ.cjs} +2 -2
- package/dist/{eas-47ihrpP_.cjs.map → eas-BPDzq2YJ.cjs.map} +1 -1
- package/dist/{eas-DFr4OtsE.mjs → eas-J_D0eeql.mjs} +2 -2
- package/dist/{eas-DFr4OtsE.mjs.map → eas-J_D0eeql.mjs.map} +1 -1
- package/dist/{encryption-CTdgXPGk.mjs → encryption-D-02Ns4D.mjs} +2 -2
- package/dist/{encryption-CTdgXPGk.mjs.map → encryption-D-02Ns4D.mjs.map} +1 -1
- package/dist/{encryption-Be24KDa-.cjs → encryption-DkVOPJHl.cjs} +2 -2
- package/dist/{encryption-Be24KDa-.cjs.map → encryption-DkVOPJHl.cjs.map} +1 -1
- package/dist/{engine-Cit4QpMf.mjs → engine-CEg989YU.mjs} +3 -3
- package/dist/{engine-Cit4QpMf.mjs.map → engine-CEg989YU.mjs.map} +1 -1
- package/dist/{engine-DJU3udhe.cjs → engine-hYFSWxve.cjs} +3 -3
- package/dist/{engine-DJU3udhe.cjs.map → engine-hYFSWxve.cjs.map} +1 -1
- package/dist/{github-Cn5zn5SP.cjs → github-Btdbg8z3.cjs} +4 -4
- package/dist/{github-Cn5zn5SP.cjs.map → github-Btdbg8z3.cjs.map} +1 -1
- package/dist/{github-DkkhCshn.mjs → github-MwKWG3rQ.mjs} +4 -4
- package/dist/{github-DkkhCshn.mjs.map → github-MwKWG3rQ.mjs.map} +1 -1
- package/dist/{googlePlay-BKZvrPUP.mjs → googlePlay-BJPkSlE7.mjs} +3 -3
- package/dist/{googlePlay-BKZvrPUP.mjs.map → googlePlay-BJPkSlE7.mjs.map} +1 -1
- package/dist/{googlePlay-CU3oeZmS.cjs → googlePlay-Bq3krrnh.cjs} +3 -3
- package/dist/{googlePlay-CU3oeZmS.cjs.map → googlePlay-Bq3krrnh.cjs.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-B8Zmp44v.cjs → migrate-Bz8Y9FuF.cjs} +2 -2
- package/dist/{migrate-B8Zmp44v.cjs.map → migrate-Bz8Y9FuF.cjs.map} +1 -1
- package/dist/{migrate-CtjgTkyn.mjs → migrate-CXOGn5NC.mjs} +2 -2
- package/dist/{migrate-CtjgTkyn.mjs.map → migrate-CXOGn5NC.mjs.map} +1 -1
- package/dist/{migrate-BcVzkhs2.mjs → migrate-SmLqnkna.mjs} +2 -2
- package/dist/{migrate-BcVzkhs2.mjs.map → migrate-SmLqnkna.mjs.map} +1 -1
- package/dist/{migrate-DWbw8nOy.cjs → migrate-ZP_zGDPZ.cjs} +2 -2
- package/dist/{migrate-DWbw8nOy.cjs.map → migrate-ZP_zGDPZ.cjs.map} +1 -1
- package/dist/{publish-ClprDLQl.mjs → publish-BGPtiswJ.mjs} +2 -2
- package/dist/{publish-ClprDLQl.mjs.map → publish-BGPtiswJ.mjs.map} +1 -1
- package/dist/{publish-CumoWjin.cjs → publish-CuvbP2bc.cjs} +2 -2
- package/dist/{publish-CumoWjin.cjs.map → publish-CuvbP2bc.cjs.map} +1 -1
- package/dist/{resolve-nMzMombL.cjs → resolve-BQ_oAZSX.cjs} +3 -3
- package/dist/{resolve-nMzMombL.cjs.map → resolve-BQ_oAZSX.cjs.map} +1 -1
- package/dist/{resolve-DDFQRZh_.mjs → resolve-hyZMb2z7.mjs} +3 -3
- package/dist/{resolve-DDFQRZh_.mjs.map → resolve-hyZMb2z7.mjs.map} +1 -1
- package/dist/{rollback-CTWZB5Ai.cjs → rollback-BQufMCac.cjs} +4 -4
- package/dist/{rollback-CTWZB5Ai.cjs.map → rollback-BQufMCac.cjs.map} +1 -1
- package/dist/{rollback-M6Tzl8X-.mjs → rollback-ODQR4lLz.mjs} +4 -4
- package/dist/{rollback-M6Tzl8X-.mjs.map → rollback-ODQR4lLz.mjs.map} +1 -1
- package/dist/{seeds-Dq62Vi1i.cjs → seeds-BeXHiiuz.cjs} +29 -7
- package/dist/seeds-BeXHiiuz.cjs.map +1 -0
- package/dist/{seeds-B5Lw7Jwy.mjs → seeds-CNrAW2NR.mjs} +29 -7
- package/dist/seeds-CNrAW2NR.mjs.map +1 -0
- package/dist/{serverSetup-tkxyu4C4.cjs → serverSetup-ChdSMUmE.cjs} +5 -5
- package/dist/{serverSetup-tkxyu4C4.cjs.map → serverSetup-ChdSMUmE.cjs.map} +1 -1
- package/dist/{serverSetup-lCtWjAbe.mjs → serverSetup-CqaeTq8J.mjs} +5 -5
- package/dist/{serverSetup-lCtWjAbe.mjs.map → serverSetup-CqaeTq8J.mjs.map} +1 -1
- package/dist/{sniffer-BHWLGxbU.cjs → sniffer-CMMqjWyj.cjs} +6 -6
- package/dist/{sniffer-BHWLGxbU.cjs.map → sniffer-CMMqjWyj.cjs.map} +1 -1
- package/dist/{sniffer-DBT-n3aP.mjs → sniffer-DW4uTBXp.mjs} +6 -6
- package/dist/{sniffer-DBT-n3aP.mjs.map → sniffer-DW4uTBXp.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DeA_EfK2.cjs → snsSubscriptions-CLWW_I6o.cjs} +2 -2
- package/dist/{snsSubscriptions-DeA_EfK2.cjs.map → snsSubscriptions-CLWW_I6o.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CZcuwbO-.mjs → snsSubscriptions-ChIUluUY.mjs} +2 -2
- package/dist/{snsSubscriptions-CZcuwbO-.mjs.map → snsSubscriptions-ChIUluUY.mjs.map} +1 -1
- package/dist/{stage-CvaUCPxu.cjs → stage-C1oR_hgI.cjs} +4 -4
- package/dist/{stage-CvaUCPxu.cjs.map → stage-C1oR_hgI.cjs.map} +1 -1
- package/dist/{stage-Bqgc0gpc.mjs → stage-DGj-LIZd.mjs} +4 -4
- package/dist/{stage-Bqgc0gpc.mjs.map → stage-DGj-LIZd.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/package.json +15 -15
- package/dist/seeds-B5Lw7Jwy.mjs.map +0 -1
- package/dist/seeds-Dq62Vi1i.cjs.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-CEikJR9c.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-aiDQZMje.mjs";
|
|
7
|
-
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
7
|
+
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-ChIUluUY.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-CNrAW2NR.mjs";
|
|
10
10
|
import { i as wildcardSite, r as protectedSubdomains, t as appKey } from "./derive-Bsnm81mg.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-DW4uTBXp.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-C0TpTD1d.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-BtUPqLVd.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-AcAH2WL6.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.135";
|
|
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-DW4uTBXp.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2202,7 +2202,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2202
2202
|
const cwd = options.cwd ?? process.cwd();
|
|
2203
2203
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2204
2204
|
if (options.stage && !isImageBuild()) {
|
|
2205
|
-
const { execOnStage } = await import("./stage-
|
|
2205
|
+
const { execOnStage } = await import("./stage-DGj-LIZd.mjs").then((n) => n.n);
|
|
2206
2206
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2207
2207
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2208
2208
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2775,9 +2775,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2775
2775
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2776
2776
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2777
2777
|
if (options.migrate || options.seed) {
|
|
2778
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2778
|
+
const { prepareDevDatabases } = await import("./migrate-SmLqnkna.mjs");
|
|
2779
2779
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2780
|
-
} else await import("./migrate-
|
|
2780
|
+
} else await import("./migrate-SmLqnkna.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2781
2781
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2782
2782
|
});
|
|
2783
2783
|
const appUrls = {};
|
|
@@ -3883,7 +3883,7 @@ async function buildApp(input) {
|
|
|
3883
3883
|
...production,
|
|
3884
3884
|
...telemetry ? { telemetry } : {}
|
|
3885
3885
|
});
|
|
3886
|
-
const { bundleServer } = await import("./bundler-
|
|
3886
|
+
const { bundleServer } = await import("./bundler-DP84yfVd.mjs");
|
|
3887
3887
|
await bundleServer({
|
|
3888
3888
|
entryPoint,
|
|
3889
3889
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4128,7 +4128,7 @@ async function buildWorkers(input) {
|
|
|
4128
4128
|
});
|
|
4129
4129
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4130
4130
|
if (!input.bundle) continue;
|
|
4131
|
-
const { bundleServer } = await import("./bundler-
|
|
4131
|
+
const { bundleServer } = await import("./bundler-DP84yfVd.mjs");
|
|
4132
4132
|
const outfile = workerBundleName(worker.id);
|
|
4133
4133
|
await bundleServer({
|
|
4134
4134
|
entryPoint,
|
|
@@ -4170,7 +4170,7 @@ async function buildProcessors(input) {
|
|
|
4170
4170
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4171
4171
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4172
4172
|
if (!input.bundle) continue;
|
|
4173
|
-
const { bundleServer } = await import("./bundler-
|
|
4173
|
+
const { bundleServer } = await import("./bundler-DP84yfVd.mjs");
|
|
4174
4174
|
const outfile = processorBundleName(fileServerId);
|
|
4175
4175
|
await bundleServer({
|
|
4176
4176
|
entryPoint,
|
|
@@ -4253,7 +4253,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4253
4253
|
let masterKey;
|
|
4254
4254
|
if (context.production?.bundle && !skipBundle) {
|
|
4255
4255
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4256
|
-
const { bundleServer } = await import("./bundler-
|
|
4256
|
+
const { bundleServer } = await import("./bundler-DP84yfVd.mjs");
|
|
4257
4257
|
const allConstructs = [
|
|
4258
4258
|
...endpoints.map((e) => e.construct),
|
|
4259
4259
|
...functions.map((f) => f.construct),
|
|
@@ -6089,25 +6089,25 @@ function loadPackageJson() {
|
|
|
6089
6089
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6090
6090
|
*/
|
|
6091
6091
|
const GEEKMIDAS_VERSIONS = {
|
|
6092
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6093
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6094
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6095
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6096
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6097
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6098
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6099
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6100
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6101
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6102
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6103
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6104
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6105
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6106
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6107
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6108
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6109
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6110
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6092
|
+
"@geekmidas/audit": "~10.0.0-alpha.135",
|
|
6093
|
+
"@geekmidas/auth": "~10.0.0-alpha.135",
|
|
6094
|
+
"@geekmidas/cache": "~10.0.0-alpha.135",
|
|
6095
|
+
"@geekmidas/client": "~10.0.0-alpha.135",
|
|
6096
|
+
"@geekmidas/cloud": "~10.0.0-alpha.135",
|
|
6097
|
+
"@geekmidas/constructs": "~10.0.0-alpha.135",
|
|
6098
|
+
"@geekmidas/db": "~10.0.0-alpha.135",
|
|
6099
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.135",
|
|
6100
|
+
"@geekmidas/envkit": "~10.0.0-alpha.135",
|
|
6101
|
+
"@geekmidas/errors": "~10.0.0-alpha.135",
|
|
6102
|
+
"@geekmidas/events": "~10.0.0-alpha.135",
|
|
6103
|
+
"@geekmidas/logger": "~10.0.0-alpha.135",
|
|
6104
|
+
"@geekmidas/manifest": "~10.0.0-alpha.135",
|
|
6105
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.135",
|
|
6106
|
+
"@geekmidas/schema": "~10.0.0-alpha.135",
|
|
6107
|
+
"@geekmidas/services": "~10.0.0-alpha.135",
|
|
6108
|
+
"@geekmidas/storage": "~10.0.0-alpha.135",
|
|
6109
|
+
"@geekmidas/telescope": "~10.0.0-alpha.135",
|
|
6110
|
+
"@geekmidas/testkit": "~10.0.0-alpha.135",
|
|
6111
6111
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6112
6112
|
};
|
|
6113
6113
|
//#endregion
|
|
@@ -7300,7 +7300,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7300
7300
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7301
7301
|
* release the pinned commit is.
|
|
7302
7302
|
*/
|
|
7303
|
-
function stagesActionUses(commit = "
|
|
7303
|
+
function stagesActionUses(commit = "3fb2d3d94f7c176e86b3718a2045e792fe5bd30b", version = cliVersion()) {
|
|
7304
7304
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7305
7305
|
}
|
|
7306
7306
|
//#endregion
|
|
@@ -16272,7 +16272,7 @@ function testDatabases(reconciled) {
|
|
|
16272
16272
|
* starts without the reference data the app needs.
|
|
16273
16273
|
*/
|
|
16274
16274
|
async function migrateTestStage(workspace, env) {
|
|
16275
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16275
|
+
const { migrateAndSeed } = await import("./migrate-SmLqnkna.mjs");
|
|
16276
16276
|
const { discover } = await import("./discover-DOhYSKY_.mjs").then((n) => n.a);
|
|
16277
16277
|
const sources = {};
|
|
16278
16278
|
const manifest = await discover({
|
|
@@ -16697,7 +16697,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16697
16697
|
try {
|
|
16698
16698
|
const globalOptions = program.opts();
|
|
16699
16699
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16700
|
-
const { easSync } = await import("./eas-
|
|
16700
|
+
const { easSync } = await import("./eas-J_D0eeql.mjs");
|
|
16701
16701
|
await easSync(options);
|
|
16702
16702
|
} catch (error) {
|
|
16703
16703
|
exitWithError(error);
|
|
@@ -16707,7 +16707,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16707
16707
|
try {
|
|
16708
16708
|
const globalOptions = program.opts();
|
|
16709
16709
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16710
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16710
|
+
const { publish, PublishModeConflict } = await import("./publish-BGPtiswJ.mjs");
|
|
16711
16711
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16712
16712
|
const { build, update, ...rest } = options;
|
|
16713
16713
|
await publish({
|
|
@@ -16723,7 +16723,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16723
16723
|
try {
|
|
16724
16724
|
const globalOptions = program.opts();
|
|
16725
16725
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16726
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16726
|
+
const { deployGooglePlay } = await import("./googlePlay-BJPkSlE7.mjs");
|
|
16727
16727
|
await deployGooglePlay(options);
|
|
16728
16728
|
} catch (error) {
|
|
16729
16729
|
exitWithError(error);
|
|
@@ -16745,7 +16745,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16745
16745
|
try {
|
|
16746
16746
|
const globalOptions = program.opts();
|
|
16747
16747
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16748
|
-
const { migrateCommand } = await import("./migrate-
|
|
16748
|
+
const { migrateCommand } = await import("./migrate-SmLqnkna.mjs");
|
|
16749
16749
|
await migrateCommand({
|
|
16750
16750
|
...options,
|
|
16751
16751
|
...construct ? { construct } : {}
|
|
@@ -16758,7 +16758,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16758
16758
|
try {
|
|
16759
16759
|
const globalOptions = program.opts();
|
|
16760
16760
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16761
|
-
const { seedCommand } = await import("./migrate-
|
|
16761
|
+
const { seedCommand } = await import("./migrate-SmLqnkna.mjs");
|
|
16762
16762
|
await seedCommand({
|
|
16763
16763
|
...options,
|
|
16764
16764
|
...construct ? { construct } : {}
|
|
@@ -16771,7 +16771,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16771
16771
|
try {
|
|
16772
16772
|
const globalOptions = program.opts();
|
|
16773
16773
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16774
|
-
const { migrationCommand } = await import("./migrate-
|
|
16774
|
+
const { migrationCommand } = await import("./migrate-SmLqnkna.mjs");
|
|
16775
16775
|
await migrationCommand({
|
|
16776
16776
|
construct,
|
|
16777
16777
|
...name ? { name } : {}
|
|
@@ -16871,7 +16871,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16871
16871
|
try {
|
|
16872
16872
|
const globalOptions = program.opts();
|
|
16873
16873
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16874
|
-
const { secretsAddCommand } = await import("./add-
|
|
16874
|
+
const { secretsAddCommand } = await import("./add-9t0pfwcy.mjs");
|
|
16875
16875
|
await secretsAddCommand(options);
|
|
16876
16876
|
} catch (error) {
|
|
16877
16877
|
exitWithError(error);
|
|
@@ -16881,7 +16881,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16881
16881
|
try {
|
|
16882
16882
|
const globalOptions = program.opts();
|
|
16883
16883
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16884
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16884
|
+
const { encryptionRotateCommand } = await import("./encryption-D-02Ns4D.mjs");
|
|
16885
16885
|
await encryptionRotateCommand(construct, options);
|
|
16886
16886
|
} catch (error) {
|
|
16887
16887
|
exitWithError(error);
|
|
@@ -16891,7 +16891,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16891
16891
|
try {
|
|
16892
16892
|
const globalOptions = program.opts();
|
|
16893
16893
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16894
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16894
|
+
const { encryptionRetireCommand } = await import("./encryption-D-02Ns4D.mjs");
|
|
16895
16895
|
await encryptionRetireCommand(construct, key, options);
|
|
16896
16896
|
} catch (error) {
|
|
16897
16897
|
exitWithError(error);
|
|
@@ -16930,7 +16930,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16930
16930
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16931
16931
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16932
16932
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16933
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16933
|
+
const { secretsStoreFor } = await import("./seeds-CNrAW2NR.mjs").then((n) => n.Zt);
|
|
16934
16934
|
const { workspace } = await loadWorkspaceConfig();
|
|
16935
16935
|
const stage = options.stage ?? workspace.stages.local;
|
|
16936
16936
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16939,7 +16939,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16939
16939
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16940
16940
|
process.exit(1);
|
|
16941
16941
|
}
|
|
16942
|
-
const { derivedContainers } = await import("./seeds-
|
|
16942
|
+
const { derivedContainers } = await import("./seeds-CNrAW2NR.mjs").then((n) => n.Dt);
|
|
16943
16943
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16944
16944
|
if (!result) {
|
|
16945
16945
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16956,14 +16956,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16956
16956
|
try {
|
|
16957
16957
|
const globalOptions = program.opts();
|
|
16958
16958
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16959
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16959
|
+
const { secretsMigrateCommand } = await import("./migrate-CXOGn5NC.mjs");
|
|
16960
16960
|
await secretsMigrateCommand(options);
|
|
16961
16961
|
} catch (error) {
|
|
16962
16962
|
exitWithError(error);
|
|
16963
16963
|
}
|
|
16964
16964
|
});
|
|
16965
16965
|
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) => {
|
|
16966
|
-
const { deployCli } = await import("./cli-
|
|
16966
|
+
const { deployCli } = await import("./cli-Mmy5wBuy.mjs");
|
|
16967
16967
|
const globalOptions = program.opts();
|
|
16968
16968
|
const code = await deployCli({
|
|
16969
16969
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16983,7 +16983,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16983
16983
|
});
|
|
16984
16984
|
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) => {
|
|
16985
16985
|
try {
|
|
16986
|
-
const { rollbackStage } = await import("./rollback-
|
|
16986
|
+
const { rollbackStage } = await import("./rollback-ODQR4lLz.mjs").then((n) => n.a);
|
|
16987
16987
|
const { terminalCredentials } = await import("./terminal-CebFDhWQ.mjs");
|
|
16988
16988
|
const globalOptions = program.opts();
|
|
16989
16989
|
await rollbackStage({
|
|
@@ -17002,7 +17002,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17002
17002
|
try {
|
|
17003
17003
|
const globalOptions = program.opts();
|
|
17004
17004
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17005
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17005
|
+
const { composeServerCommand } = await import("./serverSetup-CqaeTq8J.mjs");
|
|
17006
17006
|
await composeServerCommand(options);
|
|
17007
17007
|
} catch (error) {
|
|
17008
17008
|
exitWithError(error);
|
|
@@ -17027,7 +17027,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17027
17027
|
try {
|
|
17028
17028
|
const globalOptions = program.opts();
|
|
17029
17029
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17030
|
-
const { deployGithubCommand } = await import("./github-
|
|
17030
|
+
const { deployGithubCommand } = await import("./github-MwKWG3rQ.mjs");
|
|
17031
17031
|
await deployGithubCommand(options);
|
|
17032
17032
|
} catch (error) {
|
|
17033
17033
|
exitWithError(error);
|