@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.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
4
|
-
const require_sniffer = require("./sniffer-
|
|
4
|
+
const require_sniffer = require("./sniffer-BsfPa-GA.cjs");
|
|
5
5
|
const require_discover = require("./discover-Bc-4eA_p.cjs");
|
|
6
|
-
const require_config = require("./config-
|
|
7
|
-
const require_workspace = require("./workspace-
|
|
6
|
+
const require_config = require("./config-BYh9S0cZ.cjs");
|
|
7
|
+
const require_workspace = require("./workspace-B6zQO6RY.cjs");
|
|
8
8
|
const require_storage = require("./storage-CSGoC3bK.cjs");
|
|
9
9
|
const require_store = require("./store-KvNQwYaB.cjs");
|
|
10
10
|
const require_OpenApiTsGenerator = require("./OpenApiTsGenerator-BSrgw7B0.cjs");
|
|
@@ -13,7 +13,7 @@ const require_fakes = require("./fakes-zW-jNAbQ.cjs");
|
|
|
13
13
|
const require_appPorts = require("./appPorts-Cu79hJF6.cjs");
|
|
14
14
|
const require_ready = require("./ready-XlNx-Gbo.cjs");
|
|
15
15
|
const require_emit = require("./emit-Dmc1nvdS.cjs");
|
|
16
|
-
const require_LocalStateStore = require("./LocalStateStore-
|
|
16
|
+
const require_LocalStateStore = require("./LocalStateStore-COW3Ldwa.cjs");
|
|
17
17
|
let node_path = require("node:path");
|
|
18
18
|
let commander = require("commander");
|
|
19
19
|
let node_fs = require("node:fs");
|
|
@@ -47,7 +47,7 @@ let _geekmidas_constructs_functions = require("@geekmidas/constructs/functions")
|
|
|
47
47
|
let _geekmidas_constructs_queue = require("@geekmidas/constructs/queue");
|
|
48
48
|
let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
|
|
49
49
|
//#region package.json
|
|
50
|
-
var version = "10.0.0-alpha.
|
|
50
|
+
var version = "10.0.0-alpha.62";
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/trust/index.ts
|
|
53
53
|
/**
|
|
@@ -1851,9 +1851,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
1851
1851
|
for (const { id, port } of fakes) logger$6.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
1852
1852
|
logger$6.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
1853
1853
|
if (options.migrate || options.seed) {
|
|
1854
|
-
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-
|
|
1854
|
+
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs"));
|
|
1855
1855
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
1856
|
-
} else await Promise.resolve().then(() => require("./migrate-
|
|
1856
|
+
} else await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
1857
1857
|
logger$6.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
1858
1858
|
});
|
|
1859
1859
|
const appUrls = {};
|
|
@@ -3233,7 +3233,7 @@ async function buildApp(input) {
|
|
|
3233
3233
|
if (production?.bundle && !input.skipBundle) {
|
|
3234
3234
|
const outputDir = (0, node_path.join)(appRoot, ".gkm", "server");
|
|
3235
3235
|
const entryPoint = await writeSurfaceServer(outputDir, production);
|
|
3236
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
3236
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-CfH9frOS.cjs"));
|
|
3237
3237
|
await bundleServer({
|
|
3238
3238
|
entryPoint,
|
|
3239
3239
|
outputDir: (0, node_path.join)(outputDir, "dist"),
|
|
@@ -3371,7 +3371,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
3371
3371
|
let masterKey;
|
|
3372
3372
|
if (context.production?.bundle && !skipBundle) {
|
|
3373
3373
|
logger$5.log(`\n📦 Bundling production server...`);
|
|
3374
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
3374
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-CfH9frOS.cjs"));
|
|
3375
3375
|
const allConstructs = [
|
|
3376
3376
|
...endpoints.map((e) => e.construct),
|
|
3377
3377
|
...functions.map((f) => f.construct),
|
|
@@ -5181,7 +5181,7 @@ async function deployInitCommand(options) {
|
|
|
5181
5181
|
logger$3.log(`\n🔗 View in Dokploy: ${endpoint}/project/${projectId}`);
|
|
5182
5182
|
logger$3.log(`\n📝 Next steps:`);
|
|
5183
5183
|
logger$3.log(` 1. Initialize secrets: gkm secrets:init --stage production`);
|
|
5184
|
-
logger$3.log(` 2. Deploy: gkm deploy --
|
|
5184
|
+
logger$3.log(` 2. Deploy: gkm deploy --stage production`);
|
|
5185
5185
|
return config;
|
|
5186
5186
|
}
|
|
5187
5187
|
/**
|
|
@@ -6479,25 +6479,25 @@ function loadPackageJson() {
|
|
|
6479
6479
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6480
6480
|
*/
|
|
6481
6481
|
const GEEKMIDAS_VERSIONS = {
|
|
6482
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6483
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6484
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6485
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6486
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6487
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6488
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6489
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6490
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6491
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6492
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6493
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6494
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6495
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6496
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6497
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6498
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6499
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6500
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6482
|
+
"@geekmidas/audit": "~10.0.0-alpha.62",
|
|
6483
|
+
"@geekmidas/auth": "~10.0.0-alpha.62",
|
|
6484
|
+
"@geekmidas/cache": "~10.0.0-alpha.62",
|
|
6485
|
+
"@geekmidas/client": "~10.0.0-alpha.62",
|
|
6486
|
+
"@geekmidas/cloud": "~10.0.0-alpha.62",
|
|
6487
|
+
"@geekmidas/constructs": "~10.0.0-alpha.62",
|
|
6488
|
+
"@geekmidas/db": "~10.0.0-alpha.62",
|
|
6489
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.62",
|
|
6490
|
+
"@geekmidas/envkit": "~10.0.0-alpha.62",
|
|
6491
|
+
"@geekmidas/errors": "~10.0.0-alpha.62",
|
|
6492
|
+
"@geekmidas/events": "~10.0.0-alpha.62",
|
|
6493
|
+
"@geekmidas/logger": "~10.0.0-alpha.62",
|
|
6494
|
+
"@geekmidas/manifest": "~10.0.0-alpha.62",
|
|
6495
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.62",
|
|
6496
|
+
"@geekmidas/schema": "~10.0.0-alpha.62",
|
|
6497
|
+
"@geekmidas/services": "~10.0.0-alpha.62",
|
|
6498
|
+
"@geekmidas/storage": "~10.0.0-alpha.62",
|
|
6499
|
+
"@geekmidas/telescope": "~10.0.0-alpha.62",
|
|
6500
|
+
"@geekmidas/testkit": "~10.0.0-alpha.62",
|
|
6501
6501
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6502
6502
|
};
|
|
6503
6503
|
//#endregion
|
|
@@ -8027,7 +8027,7 @@ const perStage = (options, command) => Object.fromEntries(options.stages.deploye
|
|
|
8027
8027
|
function deployPackage(options) {
|
|
8028
8028
|
switch (options.deployTarget) {
|
|
8029
8029
|
case "dokploy": return {
|
|
8030
|
-
scripts: perStage(options, (stage) => `gkm deploy --
|
|
8030
|
+
scripts: perStage(options, (stage) => `gkm deploy --stage ${stage}`),
|
|
8031
8031
|
dependencies: {},
|
|
8032
8032
|
devDependencies: {}
|
|
8033
8033
|
};
|
|
@@ -12398,7 +12398,7 @@ function testDatabases(reconciled) {
|
|
|
12398
12398
|
* starts without the reference data the app needs.
|
|
12399
12399
|
*/
|
|
12400
12400
|
async function migrateTestStage(workspace, env) {
|
|
12401
|
-
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-
|
|
12401
|
+
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs"));
|
|
12402
12402
|
const { discover } = await Promise.resolve().then(() => require("./discover-Bc-4eA_p.cjs")).then((n) => n.discover_exports);
|
|
12403
12403
|
const sources = {};
|
|
12404
12404
|
const manifest = await discover({
|
|
@@ -12829,7 +12829,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
12829
12829
|
try {
|
|
12830
12830
|
const globalOptions = program.opts();
|
|
12831
12831
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12832
|
-
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
12832
|
+
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs"));
|
|
12833
12833
|
await migrateCommand({
|
|
12834
12834
|
...options,
|
|
12835
12835
|
...construct ? { construct } : {}
|
|
@@ -12843,7 +12843,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
12843
12843
|
try {
|
|
12844
12844
|
const globalOptions = program.opts();
|
|
12845
12845
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12846
|
-
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
12846
|
+
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs"));
|
|
12847
12847
|
await seedCommand({
|
|
12848
12848
|
...options,
|
|
12849
12849
|
...construct ? { construct } : {}
|
|
@@ -12857,7 +12857,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
12857
12857
|
try {
|
|
12858
12858
|
const globalOptions = program.opts();
|
|
12859
12859
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12860
|
-
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
12860
|
+
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-dnaFMvOm.cjs"));
|
|
12861
12861
|
await migrationCommand({
|
|
12862
12862
|
construct,
|
|
12863
12863
|
...name ? { name } : {}
|
|
@@ -12965,7 +12965,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
12965
12965
|
try {
|
|
12966
12966
|
const globalOptions = program.opts();
|
|
12967
12967
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12968
|
-
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
12968
|
+
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-ChBk3hTj.cjs"));
|
|
12969
12969
|
await encryptionRotateCommand(construct, options);
|
|
12970
12970
|
} catch (error) {
|
|
12971
12971
|
console.error(formatError(error));
|
|
@@ -12976,7 +12976,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
12976
12976
|
try {
|
|
12977
12977
|
const globalOptions = program.opts();
|
|
12978
12978
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12979
|
-
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
12979
|
+
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-ChBk3hTj.cjs"));
|
|
12980
12980
|
await encryptionRetireCommand(construct, key, options);
|
|
12981
12981
|
} catch (error) {
|
|
12982
12982
|
console.error(formatError(error));
|
|
@@ -13028,7 +13028,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
13028
13028
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
13029
13029
|
process.exit(1);
|
|
13030
13030
|
}
|
|
13031
|
-
const { derivedContainers } = await Promise.resolve().then(() => require("./sniffer-
|
|
13031
|
+
const { derivedContainers } = await Promise.resolve().then(() => require("./sniffer-BsfPa-GA.cjs")).then((n) => n.workspace_exports);
|
|
13032
13032
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
13033
13033
|
if (!result) {
|
|
13034
13034
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -13042,12 +13042,13 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
13042
13042
|
process.exit(1);
|
|
13043
13043
|
}
|
|
13044
13044
|
});
|
|
13045
|
-
program.command("deploy").description("Deploy
|
|
13046
|
-
const { deployCli } = await Promise.resolve().then(() => require("./cli-
|
|
13045
|
+
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) => {
|
|
13046
|
+
const { deployCli } = await Promise.resolve().then(() => require("./cli-DOAUp80L.cjs"));
|
|
13047
13047
|
const globalOptions = program.opts();
|
|
13048
13048
|
const code = await deployCli({
|
|
13049
13049
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
13050
|
-
|
|
13050
|
+
...options.target ? { target: options.target } : {},
|
|
13051
|
+
...options.provider ? { provider: options.provider } : {},
|
|
13051
13052
|
stage: options.stage,
|
|
13052
13053
|
...options.tag ? { tag: options.tag } : {},
|
|
13053
13054
|
...options.json ? { json: true } : {},
|
|
@@ -13075,7 +13076,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
13075
13076
|
try {
|
|
13076
13077
|
const globalOptions = program.opts();
|
|
13077
13078
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
13078
|
-
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-
|
|
13079
|
+
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-OUgPDlqg.cjs"));
|
|
13079
13080
|
await deployGithubCommand(options);
|
|
13080
13081
|
} catch (error) {
|
|
13081
13082
|
console.error(formatError(error));
|