@geekmidas/cli 10.0.0-alpha.108 → 10.0.0-alpha.109
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-Ckl5dg_9.cjs → GoDaddyProvider-BC2hb2N9.cjs} +2 -2
- package/dist/{GoDaddyProvider-Ckl5dg_9.cjs.map → GoDaddyProvider-BC2hb2N9.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-cg6Y_eV9.mjs → GoDaddyProvider-DNOK1nFq.mjs} +2 -2
- package/dist/{GoDaddyProvider-cg6Y_eV9.mjs.map → GoDaddyProvider-DNOK1nFq.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CnheiZ6T.cjs → LegacyStateStore-C3IP1pm0.cjs} +3 -3
- package/dist/{LegacyStateStore-CnheiZ6T.cjs.map → LegacyStateStore-C3IP1pm0.cjs.map} +1 -1
- package/dist/{LegacyStateStore-B2WIE19g.mjs → LegacyStateStore-DBbv0Iwj.mjs} +3 -3
- package/dist/{LegacyStateStore-B2WIE19g.mjs.map → LegacyStateStore-DBbv0Iwj.mjs.map} +1 -1
- package/dist/{LocalStateStore-BwM8fxqb.cjs → LocalStateStore-BCBQQpYx.cjs} +2 -2
- package/dist/{LocalStateStore-BwM8fxqb.cjs.map → LocalStateStore-BCBQQpYx.cjs.map} +1 -1
- package/dist/{LocalStateStore-C4NEpXl4.mjs → LocalStateStore-CqjePMa8.mjs} +2 -2
- package/dist/{LocalStateStore-C4NEpXl4.mjs.map → LocalStateStore-CqjePMa8.mjs.map} +1 -1
- package/dist/{S3StateStore-BiG11MFa.cjs → S3StateStore-ChGx5j9T.cjs} +2 -2
- package/dist/{S3StateStore-BiG11MFa.cjs.map → S3StateStore-ChGx5j9T.cjs.map} +1 -1
- package/dist/{S3StateStore-wMYYUer2.mjs → S3StateStore-CzVQuPXF.mjs} +2 -2
- package/dist/{S3StateStore-wMYYUer2.mjs.map → S3StateStore-CzVQuPXF.mjs.map} +1 -1
- package/dist/{SSMStateStore-BjrAt_Da.cjs → SSMStateStore-BL87Mth7.cjs} +2 -2
- package/dist/{SSMStateStore-BjrAt_Da.cjs.map → SSMStateStore-BL87Mth7.cjs.map} +1 -1
- package/dist/{SSMStateStore-Ch7Oanjc.mjs → SSMStateStore-D1GkBkUo.mjs} +2 -2
- package/dist/{SSMStateStore-Ch7Oanjc.mjs.map → SSMStateStore-D1GkBkUo.mjs.map} +1 -1
- package/dist/{add-awoylGp5.mjs → add-C-0W8ery.mjs} +3 -3
- package/dist/{add-awoylGp5.mjs.map → add-C-0W8ery.mjs.map} +1 -1
- package/dist/{add-DGk9B-eM.cjs → add-DAUrUYWr.cjs} +3 -3
- package/dist/{add-DGk9B-eM.cjs.map → add-DAUrUYWr.cjs.map} +1 -1
- package/dist/{bundler-D9CrZ8Bo.mjs → bundler-CE1Ph5w1.mjs} +5 -5
- package/dist/{bundler-D9CrZ8Bo.mjs.map → bundler-CE1Ph5w1.mjs.map} +1 -1
- package/dist/{bundler-BB1cJ7Wk.cjs → bundler-CrKh5yUa.cjs} +5 -5
- package/dist/{bundler-BB1cJ7Wk.cjs.map → bundler-CrKh5yUa.cjs.map} +1 -1
- package/dist/{cli-C5IGLhy7.cjs → cli-BSlDXj6V.cjs} +2 -2
- package/dist/{cli-C5IGLhy7.cjs.map → cli-BSlDXj6V.cjs.map} +1 -1
- package/dist/{cli-CoEDYj8W.mjs → cli-DDqetU5U.mjs} +2 -2
- package/dist/{cli-CoEDYj8W.mjs.map → cli-DDqetU5U.mjs.map} +1 -1
- package/dist/{compose-gqT23ikn.mjs → compose-C8VR6L7_.mjs} +7 -10
- package/dist/compose-C8VR6L7_.mjs.map +1 -0
- package/dist/{compose-Lx9MIQ53.cjs → compose-Dqe_svmN.cjs} +6 -9
- package/dist/compose-Dqe_svmN.cjs.map +1 -0
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-CS4uJ6hI.cjs → deploy-C7bSw5_V.cjs} +5 -5
- package/dist/{deploy-CS4uJ6hI.cjs.map → deploy-C7bSw5_V.cjs.map} +1 -1
- package/dist/{deploy-GLyTB9G_.mjs → deploy-c9Klc6Km.mjs} +5 -5
- package/dist/{deploy-GLyTB9G_.mjs.map → deploy-c9Klc6Km.mjs.map} +1 -1
- package/dist/{dns-NcwajiE-.cjs → dns-BTLYXhFN.cjs} +2 -2
- package/dist/{dns-NcwajiE-.cjs.map → dns-BTLYXhFN.cjs.map} +1 -1
- package/dist/{dns-CFgcutpi.mjs → dns-BuiKRYPo.mjs} +2 -2
- package/dist/{dns-CFgcutpi.mjs.map → dns-BuiKRYPo.mjs.map} +1 -1
- package/dist/{dokploy-CFilXRFD.cjs → dokploy-DdzUYLQF.cjs} +2 -2
- package/dist/{dokploy-CFilXRFD.cjs.map → dokploy-DdzUYLQF.cjs.map} +1 -1
- package/dist/{dokploy-DCOTyvW4.mjs → dokploy-DgcZgtDu.mjs} +2 -2
- package/dist/{dokploy-DCOTyvW4.mjs.map → dokploy-DgcZgtDu.mjs.map} +1 -1
- package/dist/{encryption-CApKYBgu.cjs → encryption-BLXmmIL4.cjs} +2 -2
- package/dist/{encryption-CApKYBgu.cjs.map → encryption-BLXmmIL4.cjs.map} +1 -1
- package/dist/{encryption-C_4hcRYV.mjs → encryption-DqeIqdFb.mjs} +2 -2
- package/dist/{encryption-C_4hcRYV.mjs.map → encryption-DqeIqdFb.mjs.map} +1 -1
- package/dist/{engine--meAuuRD.mjs → engine-BFbTLmO-.mjs} +3 -3
- package/dist/{engine--meAuuRD.mjs.map → engine-BFbTLmO-.mjs.map} +1 -1
- package/dist/{engine-Ds_PoVet.cjs → engine-CcwSJHyq.cjs} +3 -3
- package/dist/{engine-Ds_PoVet.cjs.map → engine-CcwSJHyq.cjs.map} +1 -1
- package/dist/{github-Dn9-X2Dl.mjs → github-BGPuFjD0.mjs} +4 -4
- package/dist/{github-Dn9-X2Dl.mjs.map → github-BGPuFjD0.mjs.map} +1 -1
- package/dist/{github-BJuKcvvW.cjs → github-DeELJEZo.cjs} +4 -4
- package/dist/{github-BJuKcvvW.cjs.map → github-DeELJEZo.cjs.map} +1 -1
- package/dist/index.cjs +46 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +46 -46
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-D76j6mtH.mjs → migrate-B7ePhUk3.mjs} +2 -2
- package/dist/{migrate-D76j6mtH.mjs.map → migrate-B7ePhUk3.mjs.map} +1 -1
- package/dist/{migrate-CeXyAch4.cjs → migrate-C5ttpcqf.cjs} +2 -2
- package/dist/{migrate-CeXyAch4.cjs.map → migrate-C5ttpcqf.cjs.map} +1 -1
- package/dist/{migrate-BfgQsxjM.cjs → migrate-DKLMFCox.cjs} +2 -2
- package/dist/{migrate-BfgQsxjM.cjs.map → migrate-DKLMFCox.cjs.map} +1 -1
- package/dist/{migrate-BzQv3iSj.mjs → migrate-Dv5L_S1z.mjs} +2 -2
- package/dist/{migrate-BzQv3iSj.mjs.map → migrate-Dv5L_S1z.mjs.map} +1 -1
- package/dist/{resolve-C2REGeLT.cjs → resolve-C8Otg8xZ.cjs} +3 -3
- package/dist/{resolve-C2REGeLT.cjs.map → resolve-C8Otg8xZ.cjs.map} +1 -1
- package/dist/{resolve-q3UJe1hP.mjs → resolve-CiCa2IEH.mjs} +3 -3
- package/dist/{resolve-q3UJe1hP.mjs.map → resolve-CiCa2IEH.mjs.map} +1 -1
- package/dist/{rollback-DDYopXJE.mjs → rollback-D1R0Vz0b.mjs} +4 -4
- package/dist/{rollback-DDYopXJE.mjs.map → rollback-D1R0Vz0b.mjs.map} +1 -1
- package/dist/{rollback-BvOo0hrK.cjs → rollback-DpY3YX-A.cjs} +4 -4
- package/dist/{rollback-BvOo0hrK.cjs.map → rollback-DpY3YX-A.cjs.map} +1 -1
- package/dist/{seeds-BvishTnF.cjs → seeds-C0RAykNG.cjs} +45 -10
- package/dist/seeds-C0RAykNG.cjs.map +1 -0
- package/dist/{seeds-DXJorkCJ.mjs → seeds-CcNV8zn9.mjs} +41 -12
- package/dist/seeds-CcNV8zn9.mjs.map +1 -0
- package/dist/{sniffer-DgyXiiSw.mjs → sniffer-1WA7Slw2.mjs} +6 -6
- package/dist/{sniffer-DgyXiiSw.mjs.map → sniffer-1WA7Slw2.mjs.map} +1 -1
- package/dist/{sniffer-MBR2lmPO.cjs → sniffer-DYmNg4Go.cjs} +6 -6
- package/dist/{sniffer-MBR2lmPO.cjs.map → sniffer-DYmNg4Go.cjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/package.json +15 -15
- package/dist/compose-Lx9MIQ53.cjs.map +0 -1
- package/dist/compose-gqT23ikn.mjs.map +0 -1
- package/dist/seeds-BvishTnF.cjs.map +0 -1
- package/dist/seeds-DXJorkCJ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -3,25 +3,25 @@ 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 { _ as sshTarget, a as stackOverrideFile, c as composeProject, d as stackPlan, f as EDGE_PROJECT, g as dockerHost, h as composeServer, i as ComposePushNeedsBuild, l as derivedCredentials, m as pinnedRef, o as edgeRef, p as parseDigests, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget, u as stackDir, v as dockerCompose, y as projectNetwork } from "./compose-
|
|
6
|
+
import { _ as sshTarget, a as stackOverrideFile, c as composeProject, d as stackPlan, f as EDGE_PROJECT, g as dockerHost, h as composeServer, i as ComposePushNeedsBuild, l as derivedCredentials, m as pinnedRef, o as edgeRef, p as parseDigests, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget, u as stackDir, v as dockerCompose, y as projectNetwork } from "./compose-C8VR6L7_.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
|
|
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-BuiKRYPo.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-CcNV8zn9.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-c9Klc6Km.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
19
|
import { n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-D11JHxrD.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-1WA7Slw2.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-CqjePMa8.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-CIt5SOtg.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.109";
|
|
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-1WA7Slw2.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2730,9 +2730,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2730
2730
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2731
2731
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2732
2732
|
if (options.migrate || options.seed) {
|
|
2733
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2733
|
+
const { prepareDevDatabases } = await import("./migrate-B7ePhUk3.mjs");
|
|
2734
2734
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2735
|
-
} else await import("./migrate-
|
|
2735
|
+
} else await import("./migrate-B7ePhUk3.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2736
2736
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2737
2737
|
});
|
|
2738
2738
|
const appUrls = {};
|
|
@@ -3808,7 +3808,7 @@ async function buildApp(input) {
|
|
|
3808
3808
|
...production,
|
|
3809
3809
|
...telemetry ? { telemetry } : {}
|
|
3810
3810
|
});
|
|
3811
|
-
const { bundleServer } = await import("./bundler-
|
|
3811
|
+
const { bundleServer } = await import("./bundler-CE1Ph5w1.mjs");
|
|
3812
3812
|
await bundleServer({
|
|
3813
3813
|
entryPoint,
|
|
3814
3814
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4007,7 +4007,7 @@ async function buildWorkers(input) {
|
|
|
4007
4007
|
});
|
|
4008
4008
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4009
4009
|
if (!input.bundle) continue;
|
|
4010
|
-
const { bundleServer } = await import("./bundler-
|
|
4010
|
+
const { bundleServer } = await import("./bundler-CE1Ph5w1.mjs");
|
|
4011
4011
|
const outfile = workerBundleName(worker.id);
|
|
4012
4012
|
await bundleServer({
|
|
4013
4013
|
entryPoint,
|
|
@@ -4093,7 +4093,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4093
4093
|
let masterKey;
|
|
4094
4094
|
if (context.production?.bundle && !skipBundle) {
|
|
4095
4095
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4096
|
-
const { bundleServer } = await import("./bundler-
|
|
4096
|
+
const { bundleServer } = await import("./bundler-CE1Ph5w1.mjs");
|
|
4097
4097
|
const allConstructs = [
|
|
4098
4098
|
...endpoints.map((e) => e.construct),
|
|
4099
4099
|
...functions.map((f) => f.construct),
|
|
@@ -5926,25 +5926,25 @@ function loadPackageJson() {
|
|
|
5926
5926
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5927
5927
|
*/
|
|
5928
5928
|
const GEEKMIDAS_VERSIONS = {
|
|
5929
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5930
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5931
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5932
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5933
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5934
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5935
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5936
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5937
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5938
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5939
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5940
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5941
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5942
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5943
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5944
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5945
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5946
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5947
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
5929
|
+
"@geekmidas/audit": "~10.0.0-alpha.109",
|
|
5930
|
+
"@geekmidas/auth": "~10.0.0-alpha.109",
|
|
5931
|
+
"@geekmidas/cache": "~10.0.0-alpha.109",
|
|
5932
|
+
"@geekmidas/client": "~10.0.0-alpha.109",
|
|
5933
|
+
"@geekmidas/cloud": "~10.0.0-alpha.109",
|
|
5934
|
+
"@geekmidas/constructs": "~10.0.0-alpha.109",
|
|
5935
|
+
"@geekmidas/db": "~10.0.0-alpha.109",
|
|
5936
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.109",
|
|
5937
|
+
"@geekmidas/envkit": "~10.0.0-alpha.109",
|
|
5938
|
+
"@geekmidas/errors": "~10.0.0-alpha.109",
|
|
5939
|
+
"@geekmidas/events": "~10.0.0-alpha.109",
|
|
5940
|
+
"@geekmidas/logger": "~10.0.0-alpha.109",
|
|
5941
|
+
"@geekmidas/manifest": "~10.0.0-alpha.109",
|
|
5942
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.109",
|
|
5943
|
+
"@geekmidas/schema": "~10.0.0-alpha.109",
|
|
5944
|
+
"@geekmidas/services": "~10.0.0-alpha.109",
|
|
5945
|
+
"@geekmidas/storage": "~10.0.0-alpha.109",
|
|
5946
|
+
"@geekmidas/telescope": "~10.0.0-alpha.109",
|
|
5947
|
+
"@geekmidas/testkit": "~10.0.0-alpha.109",
|
|
5948
5948
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5949
5949
|
};
|
|
5950
5950
|
//#endregion
|
|
@@ -7137,7 +7137,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7137
7137
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7138
7138
|
* release the pinned commit is.
|
|
7139
7139
|
*/
|
|
7140
|
-
function stagesActionUses(commit = "
|
|
7140
|
+
function stagesActionUses(commit = "36d546d941ebe30abdb13cc841254d825ad00d01", version = cliVersion()) {
|
|
7141
7141
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7142
7142
|
}
|
|
7143
7143
|
//#endregion
|
|
@@ -15837,7 +15837,7 @@ function testDatabases(reconciled) {
|
|
|
15837
15837
|
* starts without the reference data the app needs.
|
|
15838
15838
|
*/
|
|
15839
15839
|
async function migrateTestStage(workspace, env) {
|
|
15840
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
15840
|
+
const { migrateAndSeed } = await import("./migrate-B7ePhUk3.mjs");
|
|
15841
15841
|
const { discover } = await import("./discover-Ca8U75dl.mjs").then((n) => n.a);
|
|
15842
15842
|
const sources = {};
|
|
15843
15843
|
const manifest = await discover({
|
|
@@ -16273,7 +16273,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16273
16273
|
try {
|
|
16274
16274
|
const globalOptions = program.opts();
|
|
16275
16275
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16276
|
-
const { migrateCommand } = await import("./migrate-
|
|
16276
|
+
const { migrateCommand } = await import("./migrate-B7ePhUk3.mjs");
|
|
16277
16277
|
await migrateCommand({
|
|
16278
16278
|
...options,
|
|
16279
16279
|
...construct ? { construct } : {}
|
|
@@ -16286,7 +16286,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16286
16286
|
try {
|
|
16287
16287
|
const globalOptions = program.opts();
|
|
16288
16288
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16289
|
-
const { seedCommand } = await import("./migrate-
|
|
16289
|
+
const { seedCommand } = await import("./migrate-B7ePhUk3.mjs");
|
|
16290
16290
|
await seedCommand({
|
|
16291
16291
|
...options,
|
|
16292
16292
|
...construct ? { construct } : {}
|
|
@@ -16299,7 +16299,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16299
16299
|
try {
|
|
16300
16300
|
const globalOptions = program.opts();
|
|
16301
16301
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16302
|
-
const { migrationCommand } = await import("./migrate-
|
|
16302
|
+
const { migrationCommand } = await import("./migrate-B7ePhUk3.mjs");
|
|
16303
16303
|
await migrationCommand({
|
|
16304
16304
|
construct,
|
|
16305
16305
|
...name ? { name } : {}
|
|
@@ -16399,7 +16399,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16399
16399
|
try {
|
|
16400
16400
|
const globalOptions = program.opts();
|
|
16401
16401
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16402
|
-
const { secretsAddCommand } = await import("./add-
|
|
16402
|
+
const { secretsAddCommand } = await import("./add-C-0W8ery.mjs");
|
|
16403
16403
|
await secretsAddCommand(options);
|
|
16404
16404
|
} catch (error) {
|
|
16405
16405
|
exitWithError(error);
|
|
@@ -16409,7 +16409,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16409
16409
|
try {
|
|
16410
16410
|
const globalOptions = program.opts();
|
|
16411
16411
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16412
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16412
|
+
const { encryptionRotateCommand } = await import("./encryption-DqeIqdFb.mjs");
|
|
16413
16413
|
await encryptionRotateCommand(construct, options);
|
|
16414
16414
|
} catch (error) {
|
|
16415
16415
|
exitWithError(error);
|
|
@@ -16419,7 +16419,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16419
16419
|
try {
|
|
16420
16420
|
const globalOptions = program.opts();
|
|
16421
16421
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16422
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16422
|
+
const { encryptionRetireCommand } = await import("./encryption-DqeIqdFb.mjs");
|
|
16423
16423
|
await encryptionRetireCommand(construct, key, options);
|
|
16424
16424
|
} catch (error) {
|
|
16425
16425
|
exitWithError(error);
|
|
@@ -16458,7 +16458,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16458
16458
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16459
16459
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16460
16460
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16461
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16461
|
+
const { secretsStoreFor } = await import("./seeds-CcNV8zn9.mjs").then((n) => n.Rt);
|
|
16462
16462
|
const { workspace } = await loadWorkspaceConfig();
|
|
16463
16463
|
const stage = options.stage ?? workspace.stages.local;
|
|
16464
16464
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16467,7 +16467,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16467
16467
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16468
16468
|
process.exit(1);
|
|
16469
16469
|
}
|
|
16470
|
-
const { derivedContainers } = await import("./seeds-
|
|
16470
|
+
const { derivedContainers } = await import("./seeds-CcNV8zn9.mjs").then((n) => n.mt);
|
|
16471
16471
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16472
16472
|
if (!result) {
|
|
16473
16473
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16484,14 +16484,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16484
16484
|
try {
|
|
16485
16485
|
const globalOptions = program.opts();
|
|
16486
16486
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16487
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16487
|
+
const { secretsMigrateCommand } = await import("./migrate-Dv5L_S1z.mjs");
|
|
16488
16488
|
await secretsMigrateCommand(options);
|
|
16489
16489
|
} catch (error) {
|
|
16490
16490
|
exitWithError(error);
|
|
16491
16491
|
}
|
|
16492
16492
|
});
|
|
16493
16493
|
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) => {
|
|
16494
|
-
const { deployCli } = await import("./cli-
|
|
16494
|
+
const { deployCli } = await import("./cli-DDqetU5U.mjs");
|
|
16495
16495
|
const globalOptions = program.opts();
|
|
16496
16496
|
const code = await deployCli({
|
|
16497
16497
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16511,7 +16511,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16511
16511
|
});
|
|
16512
16512
|
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) => {
|
|
16513
16513
|
try {
|
|
16514
|
-
const { rollbackStage } = await import("./rollback-
|
|
16514
|
+
const { rollbackStage } = await import("./rollback-D1R0Vz0b.mjs").then((n) => n.a);
|
|
16515
16515
|
const { terminalCredentials } = await import("./terminal-CvRLxz6g.mjs");
|
|
16516
16516
|
const globalOptions = program.opts();
|
|
16517
16517
|
await rollbackStage({
|
|
@@ -16545,7 +16545,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16545
16545
|
try {
|
|
16546
16546
|
const globalOptions = program.opts();
|
|
16547
16547
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16548
|
-
const { deployGithubCommand } = await import("./github-
|
|
16548
|
+
const { deployGithubCommand } = await import("./github-BGPuFjD0.mjs");
|
|
16549
16549
|
await deployGithubCommand(options);
|
|
16550
16550
|
} catch (error) {
|
|
16551
16551
|
exitWithError(error);
|