@geekmidas/cli 10.0.0-alpha.100 → 10.0.0-alpha.102
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-DS4Wgu0c.cjs → GoDaddyProvider-BOuLf_Py.cjs} +2 -2
- package/dist/{GoDaddyProvider-DS4Wgu0c.cjs.map → GoDaddyProvider-BOuLf_Py.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-CVnzcWX5.mjs → GoDaddyProvider-u9MF-Dqk.mjs} +2 -2
- package/dist/{GoDaddyProvider-CVnzcWX5.mjs.map → GoDaddyProvider-u9MF-Dqk.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CoHPQMLO.cjs → LegacyStateStore-DWmHGNgH.cjs} +3 -3
- package/dist/{LegacyStateStore-CoHPQMLO.cjs.map → LegacyStateStore-DWmHGNgH.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C2Xlqy4v.mjs → LegacyStateStore-vhkx7Bbq.mjs} +3 -3
- package/dist/{LegacyStateStore-C2Xlqy4v.mjs.map → LegacyStateStore-vhkx7Bbq.mjs.map} +1 -1
- package/dist/{LocalStateStore-BGDzf2f8.cjs → LocalStateStore-BVKDADoG.cjs} +2 -2
- package/dist/{LocalStateStore-BGDzf2f8.cjs.map → LocalStateStore-BVKDADoG.cjs.map} +1 -1
- package/dist/{LocalStateStore-By59pUve.mjs → LocalStateStore-FVsg0UoM.mjs} +2 -2
- package/dist/{LocalStateStore-By59pUve.mjs.map → LocalStateStore-FVsg0UoM.mjs.map} +1 -1
- package/dist/{S3StateStore-CU485pYn.mjs → S3StateStore-B8seZUsw.mjs} +2 -2
- package/dist/{S3StateStore-CU485pYn.mjs.map → S3StateStore-B8seZUsw.mjs.map} +1 -1
- package/dist/{S3StateStore-Re4LfDTl.cjs → S3StateStore-B_2gE9Un.cjs} +2 -2
- package/dist/{S3StateStore-Re4LfDTl.cjs.map → S3StateStore-B_2gE9Un.cjs.map} +1 -1
- package/dist/{SSMStateStore-CLX4Dm5d.cjs → SSMStateStore-CTDEI5Bi.cjs} +2 -2
- package/dist/{SSMStateStore-CLX4Dm5d.cjs.map → SSMStateStore-CTDEI5Bi.cjs.map} +1 -1
- package/dist/{SSMStateStore-BquRBbUG.mjs → SSMStateStore-DGTbBomw.mjs} +2 -2
- package/dist/{SSMStateStore-BquRBbUG.mjs.map → SSMStateStore-DGTbBomw.mjs.map} +1 -1
- package/dist/{add-C6RhiCBX.cjs → add-BB2tLVc2.cjs} +3 -3
- package/dist/{add-C6RhiCBX.cjs.map → add-BB2tLVc2.cjs.map} +1 -1
- package/dist/{add-Blv6Q_YA.mjs → add-CIbhGE5v.mjs} +3 -3
- package/dist/{add-Blv6Q_YA.mjs.map → add-CIbhGE5v.mjs.map} +1 -1
- package/dist/{bundler-DAeBIOlG.cjs → bundler-Ba6BER3w.cjs} +5 -5
- package/dist/{bundler-DAeBIOlG.cjs.map → bundler-Ba6BER3w.cjs.map} +1 -1
- package/dist/{bundler-Cquc0e8N.mjs → bundler-CHjRYVKh.mjs} +5 -5
- package/dist/{bundler-Cquc0e8N.mjs.map → bundler-CHjRYVKh.mjs.map} +1 -1
- package/dist/{cli-DbeqYBTs.cjs → cli-CtlqYRlN.cjs} +2 -2
- package/dist/{cli-DbeqYBTs.cjs.map → cli-CtlqYRlN.cjs.map} +1 -1
- package/dist/{cli-tWfeiYmO.mjs → cli-DOlkhrsh.mjs} +2 -2
- package/dist/{cli-tWfeiYmO.mjs.map → cli-DOlkhrsh.mjs.map} +1 -1
- package/dist/{compose-BftbEv0b.mjs → compose-FDP_TaFt.mjs} +4 -4
- package/dist/compose-FDP_TaFt.mjs.map +1 -0
- package/dist/{compose-C_mfrSVH.cjs → compose-uAWLy-nR.cjs} +4 -4
- package/dist/compose-uAWLy-nR.cjs.map +1 -0
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-CktQpmpU.cjs → deploy-DUUc3jV9.cjs} +5 -5
- package/dist/{deploy-CktQpmpU.cjs.map → deploy-DUUc3jV9.cjs.map} +1 -1
- package/dist/{deploy-BSilGXuR.mjs → deploy-DgZxTnGS.mjs} +5 -5
- package/dist/{deploy-BSilGXuR.mjs.map → deploy-DgZxTnGS.mjs.map} +1 -1
- package/dist/{dns-CQZQL3gj.mjs → dns-DDDCfj75.mjs} +2 -2
- package/dist/{dns-CQZQL3gj.mjs.map → dns-DDDCfj75.mjs.map} +1 -1
- package/dist/{dns-KPxvcCdL.cjs → dns-DnE_02tB.cjs} +2 -2
- package/dist/{dns-KPxvcCdL.cjs.map → dns-DnE_02tB.cjs.map} +1 -1
- package/dist/{dokploy-B7eMa6Pa.cjs → dokploy-BrfdeVEu.cjs} +2 -2
- package/dist/{dokploy-B7eMa6Pa.cjs.map → dokploy-BrfdeVEu.cjs.map} +1 -1
- package/dist/{dokploy-Dguhz3Uo.mjs → dokploy-DBlGSdnb.mjs} +2 -2
- package/dist/{dokploy-Dguhz3Uo.mjs.map → dokploy-DBlGSdnb.mjs.map} +1 -1
- package/dist/{encryption-DrhCX7G6.cjs → encryption-CeW3xpE1.cjs} +2 -2
- package/dist/{encryption-DrhCX7G6.cjs.map → encryption-CeW3xpE1.cjs.map} +1 -1
- package/dist/{encryption-CixpDF6e.mjs → encryption-DC8zsh2s.mjs} +2 -2
- package/dist/{encryption-CixpDF6e.mjs.map → encryption-DC8zsh2s.mjs.map} +1 -1
- package/dist/{engine-CQgycl7o.cjs → engine-BXxvcxVq.cjs} +3 -3
- package/dist/{engine-CQgycl7o.cjs.map → engine-BXxvcxVq.cjs.map} +1 -1
- package/dist/{engine-32gL2ju3.mjs → engine-z0UClzE9.mjs} +3 -3
- package/dist/{engine-32gL2ju3.mjs.map → engine-z0UClzE9.mjs.map} +1 -1
- package/dist/{github-DYQ5wvod.mjs → github-DJgO5z37.mjs} +4 -4
- package/dist/{github-DYQ5wvod.mjs.map → github-DJgO5z37.mjs.map} +1 -1
- package/dist/{github-DkSCUoWS.cjs → github-DWoFgxtl.cjs} +4 -4
- package/dist/{github-DkSCUoWS.cjs.map → github-DWoFgxtl.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-ISBZNDKU.cjs → migrate-B1OjPwUY.cjs} +2 -2
- package/dist/{migrate-ISBZNDKU.cjs.map → migrate-B1OjPwUY.cjs.map} +1 -1
- package/dist/{migrate-CJTyeBul.cjs → migrate-CWSCkzu3.cjs} +2 -2
- package/dist/{migrate-CJTyeBul.cjs.map → migrate-CWSCkzu3.cjs.map} +1 -1
- package/dist/{migrate-CxmkvMbw.mjs → migrate-DIVxoju6.mjs} +2 -2
- package/dist/{migrate-CxmkvMbw.mjs.map → migrate-DIVxoju6.mjs.map} +1 -1
- package/dist/{migrate-BoJxKbfR.mjs → migrate-DoI2hWNH.mjs} +2 -2
- package/dist/{migrate-BoJxKbfR.mjs.map → migrate-DoI2hWNH.mjs.map} +1 -1
- package/dist/{resolve-qm7FrBj_.cjs → resolve-WAwYMN6q.cjs} +3 -3
- package/dist/{resolve-qm7FrBj_.cjs.map → resolve-WAwYMN6q.cjs.map} +1 -1
- package/dist/{resolve-Bei6BMbw.mjs → resolve-pmXIdi9j.mjs} +3 -3
- package/dist/{resolve-Bei6BMbw.mjs.map → resolve-pmXIdi9j.mjs.map} +1 -1
- package/dist/{rollback-BJ3H4kQ8.mjs → rollback-CLtwbByg.mjs} +4 -4
- package/dist/{rollback-BJ3H4kQ8.mjs.map → rollback-CLtwbByg.mjs.map} +1 -1
- package/dist/{rollback-Bt4xRXtq.cjs → rollback-Cz8F9xSB.cjs} +4 -4
- package/dist/{rollback-Bt4xRXtq.cjs.map → rollback-Cz8F9xSB.cjs.map} +1 -1
- package/dist/{seeds-E4nUeXTl.mjs → seeds-BHKUAExH.mjs} +3 -3
- package/dist/{seeds-E4nUeXTl.mjs.map → seeds-BHKUAExH.mjs.map} +1 -1
- package/dist/{seeds-CHIPcMrY.cjs → seeds-Dk4WHhjU.cjs} +3 -3
- package/dist/{seeds-CHIPcMrY.cjs.map → seeds-Dk4WHhjU.cjs.map} +1 -1
- package/dist/{sniffer-n3TkX6JD.cjs → sniffer-BjBZ01PE.cjs} +6 -6
- package/dist/{sniffer-n3TkX6JD.cjs.map → sniffer-BjBZ01PE.cjs.map} +1 -1
- package/dist/{sniffer-bUiSXLMj.mjs → sniffer-CaXl51vO.mjs} +6 -6
- package/dist/{sniffer-bUiSXLMj.mjs.map → sniffer-CaXl51vO.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/compose-BftbEv0b.mjs.map +0 -1
- package/dist/compose-C_mfrSVH.cjs.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-FDP_TaFt.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 { An as scopeTelemetryEnv, At as isPortAvailable, Bn as portsOf, Bt as maskPassword, Ct as cacheBackendFor, Dt as createCredentialsPreload, G as CronGenerator, H as workerBundleName, Hn as primaryPortKey, Ht as toEmbeddableSecrets, It as secretsStoreFor, L as dockerCommand, Ln as describeServices, Mn as telemetryOf, Mt as loadPortState, Nt as loadSecretsForApp, On as appTelemetry, Ot as createEntryWrapper, Pt as prepareEntryCredentials, Q as assertDevServicesFlag, Qt as workerUnits, Rn as fakeKey, Tn as TELEMETRY_CONTAINER, Tt as providerOf, U as workerEntryDir, Un as LOCAL_LOGS_EMAIL, Ut as withCustomSecret, V as WorkerGenerator, W as QueueGenerator, Xt as imageBuildCredentials, Zt as isImageBuild, a as dnsResources, an as quoteIdentifier, bt as pgClient, c as describeActor, dn as FileSecretsStore, dt as constructGlobs, fn as getKeyPath, ft as derivedContainers, gt as forgetState, ht as LOCAL_CA_PATH, jn as surfaceClientTraced, jt as loadEnvFiles, kt as findAvailablePort, lt as FAKE_ENV, mn as projectKey, pt as reconcileWorkspace, rn as postgresDatabaseNames, un as readLocalCredentials, ut as backendsOf$1, wt as eventsBackendFor, xt as CLUSTER_DATABASE } 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-DDDCfj75.mjs";
|
|
9
|
+
import { An as scopeTelemetryEnv, At as isPortAvailable, Bn as portsOf, Bt as maskPassword, Ct as cacheBackendFor, Dt as createCredentialsPreload, G as CronGenerator, H as workerBundleName, Hn as primaryPortKey, Ht as toEmbeddableSecrets, It as secretsStoreFor, L as dockerCommand, Ln as describeServices, Mn as telemetryOf, Mt as loadPortState, Nt as loadSecretsForApp, On as appTelemetry, Ot as createEntryWrapper, Pt as prepareEntryCredentials, Q as assertDevServicesFlag, Qt as workerUnits, Rn as fakeKey, Tn as TELEMETRY_CONTAINER, Tt as providerOf, U as workerEntryDir, Un as LOCAL_LOGS_EMAIL, Ut as withCustomSecret, V as WorkerGenerator, W as QueueGenerator, Xt as imageBuildCredentials, Zt as isImageBuild, a as dnsResources, an as quoteIdentifier, bt as pgClient, c as describeActor, dn as FileSecretsStore, dt as constructGlobs, fn as getKeyPath, ft as derivedContainers, gt as forgetState, ht as LOCAL_CA_PATH, jn as surfaceClientTraced, jt as loadEnvFiles, kt as findAvailablePort, lt as FAKE_ENV, mn as projectKey, pt as reconcileWorkspace, rn as postgresDatabaseNames, un as readLocalCredentials, ut as backendsOf$1, wt as eventsBackendFor, xt as CLUSTER_DATABASE } from "./seeds-BHKUAExH.mjs";
|
|
10
10
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
11
11
|
import { s as isCacheBackend, t as SubscriberGenerator } from "./SubscriberGenerator-1-IsjIwF.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-Br97xgs_.mjs";
|
|
14
14
|
import { l as withOwningTsconfigJsx, r as discover, u as ConstructGenerator } from "./discover-kziEht4W.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-DgZxTnGS.mjs";
|
|
17
17
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
18
18
|
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";
|
|
19
19
|
import { n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-C08LL4E8.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-CaXl51vO.mjs";
|
|
23
23
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DvitraL-.mjs";
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-FVsg0UoM.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-CzHNHhI6.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.102";
|
|
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-CaXl51vO.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2728,9 +2728,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2728
2728
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2729
2729
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2730
2730
|
if (options.migrate || options.seed) {
|
|
2731
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2731
|
+
const { prepareDevDatabases } = await import("./migrate-DIVxoju6.mjs");
|
|
2732
2732
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2733
|
-
} else await import("./migrate-
|
|
2733
|
+
} else await import("./migrate-DIVxoju6.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2734
2734
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2735
2735
|
});
|
|
2736
2736
|
const appUrls = {};
|
|
@@ -3783,7 +3783,7 @@ async function buildApp(input) {
|
|
|
3783
3783
|
...production,
|
|
3784
3784
|
...telemetry ? { telemetry } : {}
|
|
3785
3785
|
});
|
|
3786
|
-
const { bundleServer } = await import("./bundler-
|
|
3786
|
+
const { bundleServer } = await import("./bundler-CHjRYVKh.mjs");
|
|
3787
3787
|
await bundleServer({
|
|
3788
3788
|
entryPoint,
|
|
3789
3789
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3928,7 +3928,7 @@ async function buildWorkers(input) {
|
|
|
3928
3928
|
});
|
|
3929
3929
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
3930
3930
|
if (!input.bundle) continue;
|
|
3931
|
-
const { bundleServer } = await import("./bundler-
|
|
3931
|
+
const { bundleServer } = await import("./bundler-CHjRYVKh.mjs");
|
|
3932
3932
|
const outfile = workerBundleName(worker.id);
|
|
3933
3933
|
await bundleServer({
|
|
3934
3934
|
entryPoint,
|
|
@@ -4014,7 +4014,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4014
4014
|
let masterKey;
|
|
4015
4015
|
if (context.production?.bundle && !skipBundle) {
|
|
4016
4016
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4017
|
-
const { bundleServer } = await import("./bundler-
|
|
4017
|
+
const { bundleServer } = await import("./bundler-CHjRYVKh.mjs");
|
|
4018
4018
|
const allConstructs = [
|
|
4019
4019
|
...endpoints.map((e) => e.construct),
|
|
4020
4020
|
...functions.map((f) => f.construct),
|
|
@@ -5842,25 +5842,25 @@ function loadPackageJson() {
|
|
|
5842
5842
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5843
5843
|
*/
|
|
5844
5844
|
const GEEKMIDAS_VERSIONS = {
|
|
5845
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5846
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5847
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5848
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5849
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5850
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5851
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5852
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5853
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5854
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5855
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5856
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5857
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5858
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5859
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5860
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5861
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5862
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5863
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
5845
|
+
"@geekmidas/audit": "~10.0.0-alpha.102",
|
|
5846
|
+
"@geekmidas/auth": "~10.0.0-alpha.102",
|
|
5847
|
+
"@geekmidas/cache": "~10.0.0-alpha.102",
|
|
5848
|
+
"@geekmidas/client": "~10.0.0-alpha.102",
|
|
5849
|
+
"@geekmidas/cloud": "~10.0.0-alpha.102",
|
|
5850
|
+
"@geekmidas/constructs": "~10.0.0-alpha.102",
|
|
5851
|
+
"@geekmidas/db": "~10.0.0-alpha.102",
|
|
5852
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.102",
|
|
5853
|
+
"@geekmidas/envkit": "~10.0.0-alpha.102",
|
|
5854
|
+
"@geekmidas/errors": "~10.0.0-alpha.102",
|
|
5855
|
+
"@geekmidas/events": "~10.0.0-alpha.102",
|
|
5856
|
+
"@geekmidas/logger": "~10.0.0-alpha.102",
|
|
5857
|
+
"@geekmidas/manifest": "~10.0.0-alpha.102",
|
|
5858
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.102",
|
|
5859
|
+
"@geekmidas/schema": "~10.0.0-alpha.102",
|
|
5860
|
+
"@geekmidas/services": "~10.0.0-alpha.102",
|
|
5861
|
+
"@geekmidas/storage": "~10.0.0-alpha.102",
|
|
5862
|
+
"@geekmidas/telescope": "~10.0.0-alpha.102",
|
|
5863
|
+
"@geekmidas/testkit": "~10.0.0-alpha.102",
|
|
5864
5864
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5865
5865
|
};
|
|
5866
5866
|
//#endregion
|
|
@@ -6261,7 +6261,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
6261
6261
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
6262
6262
|
* release the pinned commit is.
|
|
6263
6263
|
*/
|
|
6264
|
-
function stagesActionUses(commit = "
|
|
6264
|
+
function stagesActionUses(commit = "49e00aa29d2a37c388cf8c2c67581f7d3eb1a81c", version = cliVersion()) {
|
|
6265
6265
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
6266
6266
|
}
|
|
6267
6267
|
//#endregion
|
|
@@ -11999,7 +11999,7 @@ function testDatabases(reconciled) {
|
|
|
11999
11999
|
* starts without the reference data the app needs.
|
|
12000
12000
|
*/
|
|
12001
12001
|
async function migrateTestStage(workspace, env) {
|
|
12002
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
12002
|
+
const { migrateAndSeed } = await import("./migrate-DIVxoju6.mjs");
|
|
12003
12003
|
const { discover } = await import("./discover-kziEht4W.mjs").then((n) => n.i);
|
|
12004
12004
|
const sources = {};
|
|
12005
12005
|
const manifest = await discover({
|
|
@@ -12435,7 +12435,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
12435
12435
|
try {
|
|
12436
12436
|
const globalOptions = program.opts();
|
|
12437
12437
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12438
|
-
const { migrateCommand } = await import("./migrate-
|
|
12438
|
+
const { migrateCommand } = await import("./migrate-DIVxoju6.mjs");
|
|
12439
12439
|
await migrateCommand({
|
|
12440
12440
|
...options,
|
|
12441
12441
|
...construct ? { construct } : {}
|
|
@@ -12448,7 +12448,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
12448
12448
|
try {
|
|
12449
12449
|
const globalOptions = program.opts();
|
|
12450
12450
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12451
|
-
const { seedCommand } = await import("./migrate-
|
|
12451
|
+
const { seedCommand } = await import("./migrate-DIVxoju6.mjs");
|
|
12452
12452
|
await seedCommand({
|
|
12453
12453
|
...options,
|
|
12454
12454
|
...construct ? { construct } : {}
|
|
@@ -12461,7 +12461,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
12461
12461
|
try {
|
|
12462
12462
|
const globalOptions = program.opts();
|
|
12463
12463
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12464
|
-
const { migrationCommand } = await import("./migrate-
|
|
12464
|
+
const { migrationCommand } = await import("./migrate-DIVxoju6.mjs");
|
|
12465
12465
|
await migrationCommand({
|
|
12466
12466
|
construct,
|
|
12467
12467
|
...name ? { name } : {}
|
|
@@ -12561,7 +12561,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
12561
12561
|
try {
|
|
12562
12562
|
const globalOptions = program.opts();
|
|
12563
12563
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12564
|
-
const { secretsAddCommand } = await import("./add-
|
|
12564
|
+
const { secretsAddCommand } = await import("./add-CIbhGE5v.mjs");
|
|
12565
12565
|
await secretsAddCommand(options);
|
|
12566
12566
|
} catch (error) {
|
|
12567
12567
|
exitWithError(error);
|
|
@@ -12571,7 +12571,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
12571
12571
|
try {
|
|
12572
12572
|
const globalOptions = program.opts();
|
|
12573
12573
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12574
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
12574
|
+
const { encryptionRotateCommand } = await import("./encryption-DC8zsh2s.mjs");
|
|
12575
12575
|
await encryptionRotateCommand(construct, options);
|
|
12576
12576
|
} catch (error) {
|
|
12577
12577
|
exitWithError(error);
|
|
@@ -12581,7 +12581,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
12581
12581
|
try {
|
|
12582
12582
|
const globalOptions = program.opts();
|
|
12583
12583
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12584
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
12584
|
+
const { encryptionRetireCommand } = await import("./encryption-DC8zsh2s.mjs");
|
|
12585
12585
|
await encryptionRetireCommand(construct, key, options);
|
|
12586
12586
|
} catch (error) {
|
|
12587
12587
|
exitWithError(error);
|
|
@@ -12620,7 +12620,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12620
12620
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12621
12621
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
12622
12622
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
12623
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
12623
|
+
const { secretsStoreFor } = await import("./seeds-BHKUAExH.mjs").then((n) => n.Rt);
|
|
12624
12624
|
const { workspace } = await loadWorkspaceConfig();
|
|
12625
12625
|
const stage = options.stage ?? workspace.stages.local;
|
|
12626
12626
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -12629,7 +12629,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12629
12629
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
12630
12630
|
process.exit(1);
|
|
12631
12631
|
}
|
|
12632
|
-
const { derivedContainers } = await import("./seeds-
|
|
12632
|
+
const { derivedContainers } = await import("./seeds-BHKUAExH.mjs").then((n) => n.mt);
|
|
12633
12633
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
12634
12634
|
if (!result) {
|
|
12635
12635
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -12646,14 +12646,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
12646
12646
|
try {
|
|
12647
12647
|
const globalOptions = program.opts();
|
|
12648
12648
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12649
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
12649
|
+
const { secretsMigrateCommand } = await import("./migrate-DoI2hWNH.mjs");
|
|
12650
12650
|
await secretsMigrateCommand(options);
|
|
12651
12651
|
} catch (error) {
|
|
12652
12652
|
exitWithError(error);
|
|
12653
12653
|
}
|
|
12654
12654
|
});
|
|
12655
12655
|
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) => {
|
|
12656
|
-
const { deployCli } = await import("./cli-
|
|
12656
|
+
const { deployCli } = await import("./cli-DOlkhrsh.mjs");
|
|
12657
12657
|
const globalOptions = program.opts();
|
|
12658
12658
|
const code = await deployCli({
|
|
12659
12659
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -12673,7 +12673,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
12673
12673
|
});
|
|
12674
12674
|
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) => {
|
|
12675
12675
|
try {
|
|
12676
|
-
const { rollbackStage } = await import("./rollback-
|
|
12676
|
+
const { rollbackStage } = await import("./rollback-CLtwbByg.mjs").then((n) => n.a);
|
|
12677
12677
|
const { terminalCredentials } = await import("./terminal-Bs_lNQhL.mjs");
|
|
12678
12678
|
const globalOptions = program.opts();
|
|
12679
12679
|
await rollbackStage({
|
|
@@ -12707,7 +12707,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
12707
12707
|
try {
|
|
12708
12708
|
const globalOptions = program.opts();
|
|
12709
12709
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12710
|
-
const { deployGithubCommand } = await import("./github-
|
|
12710
|
+
const { deployGithubCommand } = await import("./github-DJgO5z37.mjs");
|
|
12711
12711
|
await deployGithubCommand(options);
|
|
12712
12712
|
} catch (error) {
|
|
12713
12713
|
exitWithError(error);
|