@geekmidas/cli 10.0.0-alpha.61 → 10.0.0-alpha.62
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/{HostingerProvider-DI_Pr2VE.mjs → HostingerProvider-B92qH4dC.mjs} +2 -2
- package/dist/{HostingerProvider-DI_Pr2VE.mjs.map → HostingerProvider-B92qH4dC.mjs.map} +1 -1
- package/dist/{HostingerProvider-CgDaD8VR.cjs → HostingerProvider-DyD1Hin8.cjs} +2 -2
- package/dist/{HostingerProvider-CgDaD8VR.cjs.map → HostingerProvider-DyD1Hin8.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C7vFAxbu.mjs → LegacyStateStore-A8d2GdT7.mjs} +2 -2
- package/dist/{LegacyStateStore-C7vFAxbu.mjs.map → LegacyStateStore-A8d2GdT7.mjs.map} +1 -1
- package/dist/{LegacyStateStore-JbBVFp_2.cjs → LegacyStateStore-UHJEBLdn.cjs} +2 -2
- package/dist/{LegacyStateStore-JbBVFp_2.cjs.map → LegacyStateStore-UHJEBLdn.cjs.map} +1 -1
- package/dist/{LocalStateStore-DfUwQsL8.mjs → LocalStateStore-B51rnfgn.mjs} +2 -2
- package/dist/{LocalStateStore-DfUwQsL8.mjs.map → LocalStateStore-B51rnfgn.mjs.map} +1 -1
- package/dist/{LocalStateStore-DHj_-CQB.cjs → LocalStateStore-COW3Ldwa.cjs} +2 -2
- package/dist/{LocalStateStore-DHj_-CQB.cjs.map → LocalStateStore-COW3Ldwa.cjs.map} +1 -1
- package/dist/{S3StateStore-Dq6hHtzY.mjs → S3StateStore-CJewPhgz.mjs} +2 -2
- package/dist/{S3StateStore-Dq6hHtzY.mjs.map → S3StateStore-CJewPhgz.mjs.map} +1 -1
- package/dist/{S3StateStore-xqnpUrzy.cjs → S3StateStore-WUJGdRNL.cjs} +2 -2
- package/dist/{S3StateStore-xqnpUrzy.cjs.map → S3StateStore-WUJGdRNL.cjs.map} +1 -1
- package/dist/{SSMStateStore-5dBRwVlJ.cjs → SSMStateStore-Zejt42V8.cjs} +2 -2
- package/dist/{SSMStateStore-5dBRwVlJ.cjs.map → SSMStateStore-Zejt42V8.cjs.map} +1 -1
- package/dist/{SSMStateStore-SUmvAbLi.mjs → SSMStateStore-iK5UKp9d.mjs} +2 -2
- package/dist/{SSMStateStore-SUmvAbLi.mjs.map → SSMStateStore-iK5UKp9d.mjs.map} +1 -1
- package/dist/{bundler-DXATpO1T.cjs → bundler-CfH9frOS.cjs} +2 -2
- package/dist/{bundler-DXATpO1T.cjs.map → bundler-CfH9frOS.cjs.map} +1 -1
- package/dist/{bundler-B5VsKW-_.mjs → bundler-DN5r4x5b.mjs} +2 -2
- package/dist/{bundler-B5VsKW-_.mjs.map → bundler-DN5r4x5b.mjs.map} +1 -1
- package/dist/{cli-DQdrVkj2.cjs → cli-DOAUp80L.cjs} +12 -16
- package/dist/cli-DOAUp80L.cjs.map +1 -0
- package/dist/{cli-DEA_J3Sa.mjs → cli-DYwxmfsW.mjs} +10 -14
- package/dist/cli-DYwxmfsW.mjs.map +1 -0
- package/dist/{config-DXnkCEq0.cjs → config-BYh9S0cZ.cjs} +2 -2
- package/dist/config-BYh9S0cZ.cjs.map +1 -0
- package/dist/{config-C5-EEdmr.mjs → config-Bf4-bROQ.mjs} +2 -2
- package/dist/config-Bf4-bROQ.mjs.map +1 -0
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +2 -2
- package/dist/define-CHBIEc5j.mjs +94 -0
- package/dist/define-CHBIEc5j.mjs.map +1 -0
- package/dist/define-Cv_QvDrg.cjs +141 -0
- package/dist/define-Cv_QvDrg.cjs.map +1 -0
- package/dist/deploy/public.cjs +28 -13
- package/dist/deploy/public.d.cts +38 -315
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +38 -315
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +8 -3
- package/dist/{deploy-BJcLmVTc.mjs → deploy-B7jvUORo.mjs} +152 -532
- package/dist/deploy-B7jvUORo.mjs.map +1 -0
- package/dist/deploy-Cg9fae7a.mjs +133 -0
- package/dist/deploy-Cg9fae7a.mjs.map +1 -0
- package/dist/deploy-D8Qr-Xto.cjs +138 -0
- package/dist/deploy-D8Qr-Xto.cjs.map +1 -0
- package/dist/{deploy-BbJdgQ2b.cjs → deploy-DSaCYvcO.cjs} +168 -560
- package/dist/deploy-DSaCYvcO.cjs.map +1 -0
- package/dist/dokploy-CD9PY-3D.mjs +32 -0
- package/dist/dokploy-CD9PY-3D.mjs.map +1 -0
- package/dist/dokploy-Ey2foJLv.cjs +32 -0
- package/dist/dokploy-Ey2foJLv.cjs.map +1 -0
- package/dist/{encryption-DaA9gRXr.mjs → encryption-CVwvGbsL.mjs} +4 -4
- package/dist/{encryption-DaA9gRXr.mjs.map → encryption-CVwvGbsL.mjs.map} +1 -1
- package/dist/{encryption-ojzUo7-z.cjs → encryption-ChBk3hTj.cjs} +4 -4
- package/dist/{encryption-ojzUo7-z.cjs.map → encryption-ChBk3hTj.cjs.map} +1 -1
- package/dist/{github-DmCj2u95.mjs → github-BCB3_LBX.mjs} +3 -3
- package/dist/{github-DmCj2u95.mjs.map → github-BCB3_LBX.mjs.map} +1 -1
- package/dist/{github-Cq57poPj.cjs → github-OUgPDlqg.cjs} +3 -3
- package/dist/{github-Cq57poPj.cjs.map → github-OUgPDlqg.cjs.map} +1 -1
- package/dist/{index-UiWCaGzU.d.cts → index-BtXDZQuF.d.cts} +2 -2
- package/dist/{index-Da1-oa9W.d.mts.map → index-BtXDZQuF.d.cts.map} +1 -1
- package/dist/{index-Da1-oa9W.d.mts → index-DrKzpHl-.d.mts} +2 -2
- package/dist/{index-UiWCaGzU.d.cts.map → index-DrKzpHl-.d.mts.map} +1 -1
- package/dist/index.cjs +42 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +42 -41
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-5_J5JySj.mjs → migrate-BoHMqdCu.mjs} +4 -4
- package/dist/{migrate-5_J5JySj.mjs.map → migrate-BoHMqdCu.mjs.map} +1 -1
- package/dist/{migrate-BScRpCEx.cjs → migrate-dnaFMvOm.cjs} +4 -4
- package/dist/{migrate-BScRpCEx.cjs.map → migrate-dnaFMvOm.cjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/resolve-CFCIkm7m.mjs +170 -0
- package/dist/resolve-CFCIkm7m.mjs.map +1 -0
- package/dist/resolve-wbv66HjD.cjs +217 -0
- package/dist/resolve-wbv66HjD.cjs.map +1 -0
- package/dist/runtime-CMwtq0AL.cjs +163 -0
- package/dist/runtime-CMwtq0AL.cjs.map +1 -0
- package/dist/runtime-CXPlkZzs.d.mts +90 -0
- package/dist/runtime-CXPlkZzs.d.mts.map +1 -0
- package/dist/runtime-DbakJS8u.mjs +134 -0
- package/dist/runtime-DbakJS8u.mjs.map +1 -0
- package/dist/runtime-Dn_n-29S.d.cts +90 -0
- package/dist/runtime-Dn_n-29S.d.cts.map +1 -0
- package/dist/{sniffer-CQmJnNJM.cjs → sniffer-BsfPa-GA.cjs} +17 -14
- package/dist/sniffer-BsfPa-GA.cjs.map +1 -0
- package/dist/{sniffer-bdleks5l.mjs → sniffer-DHE2Nafd.mjs} +17 -14
- package/dist/sniffer-DHE2Nafd.mjs.map +1 -0
- package/dist/target/public.cjs +15 -0
- package/dist/target/public.d.cts +28 -0
- package/dist/target/public.d.cts.map +1 -0
- package/dist/target/public.d.mts +28 -0
- package/dist/target/public.d.mts.map +1 -0
- package/dist/target/public.mjs +4 -0
- package/dist/terminal-6oL0vANs.cjs +576 -0
- package/dist/terminal-6oL0vANs.cjs.map +1 -0
- package/dist/terminal-ByZNjuig.mjs +517 -0
- package/dist/terminal-ByZNjuig.mjs.map +1 -0
- package/dist/{types-efNLu9xu.d.cts → types-CfLKGfC_.d.mts} +624 -34
- package/dist/types-CfLKGfC_.d.mts.map +1 -0
- package/dist/{types-Bp1mVxG0.d.mts → types-DIA7Li-J.d.cts} +626 -34
- package/dist/types-DIA7Li-J.d.cts.map +1 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +3 -3
- package/dist/workspace/index.d.mts +3 -3
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-B64Xk1Mb.cjs → workspace-B6zQO6RY.cjs} +229 -23
- package/dist/workspace-B6zQO6RY.cjs.map +1 -0
- package/dist/{workspace-Bp1xVaOz.mjs → workspace-BFe57es7.mjs} +229 -23
- package/dist/workspace-BFe57es7.mjs.map +1 -0
- package/package.json +23 -13
- package/dist/cli-DEA_J3Sa.mjs.map +0 -1
- package/dist/cli-DQdrVkj2.cjs.map +0 -1
- package/dist/config-C5-EEdmr.mjs.map +0 -1
- package/dist/config-DXnkCEq0.cjs.map +0 -1
- package/dist/deploy-BJcLmVTc.mjs.map +0 -1
- package/dist/deploy-BbJdgQ2b.cjs.map +0 -1
- package/dist/sniffer-CQmJnNJM.cjs.map +0 -1
- package/dist/sniffer-bdleks5l.mjs.map +0 -1
- package/dist/types-Bp1mVxG0.d.mts.map +0 -1
- package/dist/types-efNLu9xu.d.cts.map +0 -1
- package/dist/workspace-B64Xk1Mb.cjs.map +0 -1
- package/dist/workspace-Bp1xVaOz.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
|
-
import { $ as quoteIdentifier, At as getDokployCredentials, B as run$1, Ct as loadEnvFiles, Dt as logoutCommand, Et as loginCommand, G as derivedContainers, H as FAKE_ENV, I as withGeneratedSecrets, J as LOCAL_CA_PATH, K as reconcileWorkspace, Mt as getDokployToken, P as createStateStore, Q as postgresStatements, St as isPortAvailable, Tt as prepareEntryCredentials, U as backendsOf$1, V as runOutput, W as constructGlobs, X as applyPostgres, Y as forgetState, Z as postgresDatabaseNames, _t as primaryPortKey, at as localRolePassword, bt as createEntryWrapper, c as dockerCommand, ct as hostFor, d as generateDockerignore, dt as providerOf, et as composeFor, f as generateSlimDockerfile, g as createEmptyState, gt as portKeys, h as resolveHost, ht as fakeKey, it as envFor, jt as getDokployRegistryId, kt as whoamiCommand, l as siteDockerfile, lt as cacheBackendFor, m as isMainFrontendApp, mt as describeServices, n as sniffAppEnvironment, nt as appEnvKeys, ot as planFor, p as validateImageRef, pt as DEFAULT_IMAGES, r as DokployApi, rt as networkEnv, s as appPackageName$1, tt as pgClient, u as detectPackageManager$2, vt as withOwningTsconfigJsx, wt as loadSecretsForApp, xt as findAvailablePort, yt as createCredentialsPreload, z as keyFingerprint } from "./sniffer-
|
|
3
|
+
import { $ as quoteIdentifier, At as getDokployCredentials, B as run$1, Ct as loadEnvFiles, Dt as logoutCommand, Et as loginCommand, G as derivedContainers, H as FAKE_ENV, I as withGeneratedSecrets, J as LOCAL_CA_PATH, K as reconcileWorkspace, Mt as getDokployToken, P as createStateStore, Q as postgresStatements, St as isPortAvailable, Tt as prepareEntryCredentials, U as backendsOf$1, V as runOutput, W as constructGlobs, X as applyPostgres, Y as forgetState, Z as postgresDatabaseNames, _t as primaryPortKey, at as localRolePassword, bt as createEntryWrapper, c as dockerCommand, ct as hostFor, d as generateDockerignore, dt as providerOf, et as composeFor, f as generateSlimDockerfile, g as createEmptyState, gt as portKeys, h as resolveHost, ht as fakeKey, it as envFor, jt as getDokployRegistryId, kt as whoamiCommand, l as siteDockerfile, lt as cacheBackendFor, m as isMainFrontendApp, mt as describeServices, n as sniffAppEnvironment, nt as appEnvKeys, ot as planFor, p as validateImageRef, pt as DEFAULT_IMAGES, r as DokployApi, rt as networkEnv, s as appPackageName$1, tt as pgClient, u as detectPackageManager$2, vt as withOwningTsconfigJsx, wt as loadSecretsForApp, xt as findAvailablePort, yt as createCredentialsPreload, z as keyFingerprint } from "./sniffer-DHE2Nafd.mjs";
|
|
4
4
|
import { i as ConstructGenerator, t as discover } from "./discover-FrYvzkeC.mjs";
|
|
5
|
-
import { d as parseModuleConfig, f as appKey, l as loadWorkspaceConfig, n as NotABackendApp, o as loadAppConfig, r as NotInAnApp, s as loadConfig, t as ConfigNotFound, u as loadWorkspaceSettings } from "./config-
|
|
6
|
-
import { D as assertDeployedStage, E as TEST_STAGE, O as deployedProblems, T as InvalidStages, a as getAppBuildOrder, k as stageProblems, o as getAppGkmConfig, t as allConstructGlobs } from "./workspace-
|
|
5
|
+
import { d as parseModuleConfig, f as appKey, l as loadWorkspaceConfig, n as NotABackendApp, o as loadAppConfig, r as NotInAnApp, s as loadConfig, t as ConfigNotFound, u as loadWorkspaceSettings } from "./config-Bf4-bROQ.mjs";
|
|
6
|
+
import { D as assertDeployedStage, E as TEST_STAGE, O as deployedProblems, T as InvalidStages, a as getAppBuildOrder, k as stageProblems, o as getAppGkmConfig, t as allConstructGlobs } from "./workspace-BFe57es7.mjs";
|
|
7
7
|
import { a as withCustomSecret, i as toEmbeddableSecrets, n as maskPassword, t as initStageSecrets } from "./storage-BzaUxmqe.mjs";
|
|
8
8
|
import { a as getKeyPath, f as imageRef, i as FileSecretsStore, n as secretsStoreFor, s as projectKey, u as deployIdentity } from "./store-BS8A7NcA.mjs";
|
|
9
9
|
import { i as telemetryFor, n as EndpointGenerator, r as runtimeFor } from "./OpenApiTsGenerator-q5B0z8Xg.mjs";
|
|
@@ -12,7 +12,7 @@ import { n as DEFAULT_CACHE, r as DEFAULT_EVENTS } from "./fakes-C9RiT6XG.mjs";
|
|
|
12
12
|
import { a as describeHolder, i as assignAppPorts, o as holderOf, r as appTag, s as withAppPorts, t as APP_TAG_ENV } from "./appPorts-C9z9Pzn9.mjs";
|
|
13
13
|
import { a as writeTestHarness, c as driversFor, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, o as SubscriberGenerator, s as cacheBackendsIn, t as TEST_READY_ENV } from "./ready-DQIy21W5.mjs";
|
|
14
14
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-C1e8qD08.mjs";
|
|
15
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
15
|
+
import { t as LocalStateStore } from "./LocalStateStore-B51rnfgn.mjs";
|
|
16
16
|
import { createRequire } from "node:module";
|
|
17
17
|
import { basename, dirname, extname, isAbsolute, join, parse, relative, resolve } from "node:path";
|
|
18
18
|
import { Command } from "commander";
|
|
@@ -41,7 +41,7 @@ import { Function } from "@geekmidas/constructs/functions";
|
|
|
41
41
|
import { Queue } from "@geekmidas/constructs/queue";
|
|
42
42
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
43
43
|
//#region package.json
|
|
44
|
-
var version = "10.0.0-alpha.
|
|
44
|
+
var version = "10.0.0-alpha.62";
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/trust/index.ts
|
|
47
47
|
/**
|
|
@@ -1845,9 +1845,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
1845
1845
|
for (const { id, port } of fakes) logger$6.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
1846
1846
|
logger$6.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
1847
1847
|
if (options.migrate || options.seed) {
|
|
1848
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
1848
|
+
const { prepareDevDatabases } = await import("./migrate-BoHMqdCu.mjs");
|
|
1849
1849
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
1850
|
-
} else await import("./migrate-
|
|
1850
|
+
} else await import("./migrate-BoHMqdCu.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
1851
1851
|
logger$6.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
1852
1852
|
});
|
|
1853
1853
|
const appUrls = {};
|
|
@@ -3227,7 +3227,7 @@ async function buildApp(input) {
|
|
|
3227
3227
|
if (production?.bundle && !input.skipBundle) {
|
|
3228
3228
|
const outputDir = join(appRoot, ".gkm", "server");
|
|
3229
3229
|
const entryPoint = await writeSurfaceServer(outputDir, production);
|
|
3230
|
-
const { bundleServer } = await import("./bundler-
|
|
3230
|
+
const { bundleServer } = await import("./bundler-DN5r4x5b.mjs");
|
|
3231
3231
|
await bundleServer({
|
|
3232
3232
|
entryPoint,
|
|
3233
3233
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3365,7 +3365,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
3365
3365
|
let masterKey;
|
|
3366
3366
|
if (context.production?.bundle && !skipBundle) {
|
|
3367
3367
|
logger$5.log(`\n📦 Bundling production server...`);
|
|
3368
|
-
const { bundleServer } = await import("./bundler-
|
|
3368
|
+
const { bundleServer } = await import("./bundler-DN5r4x5b.mjs");
|
|
3369
3369
|
const allConstructs = [
|
|
3370
3370
|
...endpoints.map((e) => e.construct),
|
|
3371
3371
|
...functions.map((f) => f.construct),
|
|
@@ -5175,7 +5175,7 @@ async function deployInitCommand(options) {
|
|
|
5175
5175
|
logger$3.log(`\n🔗 View in Dokploy: ${endpoint}/project/${projectId}`);
|
|
5176
5176
|
logger$3.log(`\n📝 Next steps:`);
|
|
5177
5177
|
logger$3.log(` 1. Initialize secrets: gkm secrets:init --stage production`);
|
|
5178
|
-
logger$3.log(` 2. Deploy: gkm deploy --
|
|
5178
|
+
logger$3.log(` 2. Deploy: gkm deploy --stage production`);
|
|
5179
5179
|
return config;
|
|
5180
5180
|
}
|
|
5181
5181
|
/**
|
|
@@ -6473,25 +6473,25 @@ function loadPackageJson() {
|
|
|
6473
6473
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6474
6474
|
*/
|
|
6475
6475
|
const GEEKMIDAS_VERSIONS = {
|
|
6476
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6477
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6478
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6479
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6480
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6481
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6482
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6483
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6484
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6485
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6486
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6487
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6488
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6489
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6490
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6491
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6492
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6493
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6494
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6476
|
+
"@geekmidas/audit": "~10.0.0-alpha.62",
|
|
6477
|
+
"@geekmidas/auth": "~10.0.0-alpha.62",
|
|
6478
|
+
"@geekmidas/cache": "~10.0.0-alpha.62",
|
|
6479
|
+
"@geekmidas/client": "~10.0.0-alpha.62",
|
|
6480
|
+
"@geekmidas/cloud": "~10.0.0-alpha.62",
|
|
6481
|
+
"@geekmidas/constructs": "~10.0.0-alpha.62",
|
|
6482
|
+
"@geekmidas/db": "~10.0.0-alpha.62",
|
|
6483
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.62",
|
|
6484
|
+
"@geekmidas/envkit": "~10.0.0-alpha.62",
|
|
6485
|
+
"@geekmidas/errors": "~10.0.0-alpha.62",
|
|
6486
|
+
"@geekmidas/events": "~10.0.0-alpha.62",
|
|
6487
|
+
"@geekmidas/logger": "~10.0.0-alpha.62",
|
|
6488
|
+
"@geekmidas/manifest": "~10.0.0-alpha.62",
|
|
6489
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.62",
|
|
6490
|
+
"@geekmidas/schema": "~10.0.0-alpha.62",
|
|
6491
|
+
"@geekmidas/services": "~10.0.0-alpha.62",
|
|
6492
|
+
"@geekmidas/storage": "~10.0.0-alpha.62",
|
|
6493
|
+
"@geekmidas/telescope": "~10.0.0-alpha.62",
|
|
6494
|
+
"@geekmidas/testkit": "~10.0.0-alpha.62",
|
|
6495
6495
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6496
6496
|
};
|
|
6497
6497
|
//#endregion
|
|
@@ -8021,7 +8021,7 @@ const perStage = (options, command) => Object.fromEntries(options.stages.deploye
|
|
|
8021
8021
|
function deployPackage(options) {
|
|
8022
8022
|
switch (options.deployTarget) {
|
|
8023
8023
|
case "dokploy": return {
|
|
8024
|
-
scripts: perStage(options, (stage) => `gkm deploy --
|
|
8024
|
+
scripts: perStage(options, (stage) => `gkm deploy --stage ${stage}`),
|
|
8025
8025
|
dependencies: {},
|
|
8026
8026
|
devDependencies: {}
|
|
8027
8027
|
};
|
|
@@ -12392,7 +12392,7 @@ function testDatabases(reconciled) {
|
|
|
12392
12392
|
* starts without the reference data the app needs.
|
|
12393
12393
|
*/
|
|
12394
12394
|
async function migrateTestStage(workspace, env) {
|
|
12395
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
12395
|
+
const { migrateAndSeed } = await import("./migrate-BoHMqdCu.mjs");
|
|
12396
12396
|
const { discover } = await import("./discover-FrYvzkeC.mjs").then((n) => n.n);
|
|
12397
12397
|
const sources = {};
|
|
12398
12398
|
const manifest = await discover({
|
|
@@ -12823,7 +12823,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
12823
12823
|
try {
|
|
12824
12824
|
const globalOptions = program.opts();
|
|
12825
12825
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12826
|
-
const { migrateCommand } = await import("./migrate-
|
|
12826
|
+
const { migrateCommand } = await import("./migrate-BoHMqdCu.mjs");
|
|
12827
12827
|
await migrateCommand({
|
|
12828
12828
|
...options,
|
|
12829
12829
|
...construct ? { construct } : {}
|
|
@@ -12837,7 +12837,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
12837
12837
|
try {
|
|
12838
12838
|
const globalOptions = program.opts();
|
|
12839
12839
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12840
|
-
const { seedCommand } = await import("./migrate-
|
|
12840
|
+
const { seedCommand } = await import("./migrate-BoHMqdCu.mjs");
|
|
12841
12841
|
await seedCommand({
|
|
12842
12842
|
...options,
|
|
12843
12843
|
...construct ? { construct } : {}
|
|
@@ -12851,7 +12851,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
12851
12851
|
try {
|
|
12852
12852
|
const globalOptions = program.opts();
|
|
12853
12853
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12854
|
-
const { migrationCommand } = await import("./migrate-
|
|
12854
|
+
const { migrationCommand } = await import("./migrate-BoHMqdCu.mjs");
|
|
12855
12855
|
await migrationCommand({
|
|
12856
12856
|
construct,
|
|
12857
12857
|
...name ? { name } : {}
|
|
@@ -12959,7 +12959,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
12959
12959
|
try {
|
|
12960
12960
|
const globalOptions = program.opts();
|
|
12961
12961
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12962
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
12962
|
+
const { encryptionRotateCommand } = await import("./encryption-CVwvGbsL.mjs");
|
|
12963
12963
|
await encryptionRotateCommand(construct, options);
|
|
12964
12964
|
} catch (error) {
|
|
12965
12965
|
console.error(formatError(error));
|
|
@@ -12970,7 +12970,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
12970
12970
|
try {
|
|
12971
12971
|
const globalOptions = program.opts();
|
|
12972
12972
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12973
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
12973
|
+
const { encryptionRetireCommand } = await import("./encryption-CVwvGbsL.mjs");
|
|
12974
12974
|
await encryptionRetireCommand(construct, key, options);
|
|
12975
12975
|
} catch (error) {
|
|
12976
12976
|
console.error(formatError(error));
|
|
@@ -13022,7 +13022,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
13022
13022
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
13023
13023
|
process.exit(1);
|
|
13024
13024
|
}
|
|
13025
|
-
const { derivedContainers } = await import("./sniffer-
|
|
13025
|
+
const { derivedContainers } = await import("./sniffer-DHE2Nafd.mjs").then((n) => n.q);
|
|
13026
13026
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
13027
13027
|
if (!result) {
|
|
13028
13028
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -13036,12 +13036,13 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
13036
13036
|
process.exit(1);
|
|
13037
13037
|
}
|
|
13038
13038
|
});
|
|
13039
|
-
program.command("deploy").description("Deploy
|
|
13040
|
-
const { deployCli } = await import("./cli-
|
|
13039
|
+
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, 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)").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").action(async (options) => {
|
|
13040
|
+
const { deployCli } = await import("./cli-DYwxmfsW.mjs");
|
|
13041
13041
|
const globalOptions = program.opts();
|
|
13042
13042
|
const code = await deployCli({
|
|
13043
13043
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
13044
|
-
|
|
13044
|
+
...options.target ? { target: options.target } : {},
|
|
13045
|
+
...options.provider ? { provider: options.provider } : {},
|
|
13045
13046
|
stage: options.stage,
|
|
13046
13047
|
...options.tag ? { tag: options.tag } : {},
|
|
13047
13048
|
...options.json ? { json: true } : {},
|
|
@@ -13069,7 +13070,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
13069
13070
|
try {
|
|
13070
13071
|
const globalOptions = program.opts();
|
|
13071
13072
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
13072
|
-
const { deployGithubCommand } = await import("./github-
|
|
13073
|
+
const { deployGithubCommand } = await import("./github-BCB3_LBX.mjs");
|
|
13073
13074
|
await deployGithubCommand(options);
|
|
13074
13075
|
} catch (error) {
|
|
13075
13076
|
console.error(formatError(error));
|