@geekmidas/cli 10.0.0-alpha.53 → 10.0.0-alpha.54
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/index.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +29 -29
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-SDIRUyY5.cjs → migrate-DN5VM5vy.cjs} +2 -2
- package/dist/{migrate-SDIRUyY5.cjs.map → migrate-DN5VM5vy.cjs.map} +1 -1
- package/dist/{migrate-CHQyNzj-.mjs → migrate-DWDaaBfo.mjs} +2 -2
- package/dist/{migrate-CHQyNzj-.mjs.map → migrate-DWDaaBfo.mjs.map} +1 -1
- package/dist/{workspace-qcva2dTt.mjs → workspace-Bwl0728I.mjs} +2 -2
- package/dist/workspace-Bwl0728I.mjs.map +1 -0
- package/dist/{workspace-P_V5t4Uk.cjs → workspace-DFYu-iRP.cjs} +2 -2
- package/dist/workspace-DFYu-iRP.cjs.map +1 -0
- package/package.json +14 -14
- package/dist/workspace-P_V5t4Uk.cjs.map +0 -1
- package/dist/workspace-qcva2dTt.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ const require_config = require("./config-Cvr5fCbn.cjs");
|
|
|
6
6
|
const require_workspace = require("./workspace-BcCiLzTO.cjs");
|
|
7
7
|
const require_storage = require("./storage-CSGoC3bK.cjs");
|
|
8
8
|
const require_store = require("./store-DQgxT_WR.cjs");
|
|
9
|
-
const require_workspace$1 = require("./workspace-
|
|
9
|
+
const require_workspace$1 = require("./workspace-DFYu-iRP.cjs");
|
|
10
10
|
const require_OpenApiTsGenerator = require("./OpenApiTsGenerator-BN0PIZxd.cjs");
|
|
11
11
|
const require_openapi = require("./openapi.cjs");
|
|
12
12
|
const require_ready = require("./ready-VkNwfJu7.cjs");
|
|
@@ -48,7 +48,7 @@ let _geekmidas_constructs_queue = require("@geekmidas/constructs/queue");
|
|
|
48
48
|
let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
|
|
49
49
|
let node_dns_promises = require("node:dns/promises");
|
|
50
50
|
//#region package.json
|
|
51
|
-
var version = "10.0.0-alpha.
|
|
51
|
+
var version = "10.0.0-alpha.54";
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/auth/credentials.ts
|
|
54
54
|
/**
|
|
@@ -1771,9 +1771,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
1771
1771
|
for (const { id, port } of fakes) logger$9.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
1772
1772
|
logger$9.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
1773
1773
|
if (options.migrate || options.seed) {
|
|
1774
|
-
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-
|
|
1774
|
+
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs"));
|
|
1775
1775
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
1776
|
-
} else await Promise.resolve().then(() => require("./migrate-
|
|
1776
|
+
} else await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
1777
1777
|
logger$9.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
1778
1778
|
});
|
|
1779
1779
|
const appUrls = {};
|
|
@@ -9380,26 +9380,26 @@ function loadPackageJson() {
|
|
|
9380
9380
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
9381
9381
|
*/
|
|
9382
9382
|
const GEEKMIDAS_VERSIONS = {
|
|
9383
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
9384
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
9385
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
9386
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
9387
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
9388
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
9389
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
9390
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
9391
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
9392
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
9393
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
9394
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
9395
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
9396
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
9397
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
9398
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
9399
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
9400
|
-
"@geekmidas/studio": "~10.0.0-alpha.
|
|
9401
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
9402
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
9383
|
+
"@geekmidas/audit": "~10.0.0-alpha.54",
|
|
9384
|
+
"@geekmidas/auth": "~10.0.0-alpha.54",
|
|
9385
|
+
"@geekmidas/cache": "~10.0.0-alpha.54",
|
|
9386
|
+
"@geekmidas/client": "~10.0.0-alpha.54",
|
|
9387
|
+
"@geekmidas/cloud": "~10.0.0-alpha.54",
|
|
9388
|
+
"@geekmidas/constructs": "~10.0.0-alpha.54",
|
|
9389
|
+
"@geekmidas/db": "~10.0.0-alpha.54",
|
|
9390
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.54",
|
|
9391
|
+
"@geekmidas/envkit": "~10.0.0-alpha.54",
|
|
9392
|
+
"@geekmidas/errors": "~10.0.0-alpha.54",
|
|
9393
|
+
"@geekmidas/events": "~10.0.0-alpha.54",
|
|
9394
|
+
"@geekmidas/logger": "~10.0.0-alpha.54",
|
|
9395
|
+
"@geekmidas/manifest": "~10.0.0-alpha.54",
|
|
9396
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.54",
|
|
9397
|
+
"@geekmidas/schema": "~10.0.0-alpha.54",
|
|
9398
|
+
"@geekmidas/services": "~10.0.0-alpha.54",
|
|
9399
|
+
"@geekmidas/storage": "~10.0.0-alpha.54",
|
|
9400
|
+
"@geekmidas/studio": "~10.0.0-alpha.54",
|
|
9401
|
+
"@geekmidas/telescope": "~10.0.0-alpha.54",
|
|
9402
|
+
"@geekmidas/testkit": "~10.0.0-alpha.54",
|
|
9403
9403
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
9404
9404
|
};
|
|
9405
9405
|
//#endregion
|
|
@@ -16142,7 +16142,7 @@ function testDatabases(reconciled) {
|
|
|
16142
16142
|
* starts without the reference data the app needs.
|
|
16143
16143
|
*/
|
|
16144
16144
|
async function migrateTestStage(workspace, env) {
|
|
16145
|
-
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-
|
|
16145
|
+
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs"));
|
|
16146
16146
|
const { discover } = await Promise.resolve().then(() => require("./discover-DXNviAh-.cjs")).then((n) => n.discover_exports);
|
|
16147
16147
|
const sources = {};
|
|
16148
16148
|
const manifest = await discover({
|
|
@@ -16573,7 +16573,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16573
16573
|
try {
|
|
16574
16574
|
const globalOptions = program.opts();
|
|
16575
16575
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16576
|
-
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16576
|
+
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs"));
|
|
16577
16577
|
await migrateCommand({
|
|
16578
16578
|
...options,
|
|
16579
16579
|
...construct ? { construct } : {}
|
|
@@ -16587,7 +16587,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16587
16587
|
try {
|
|
16588
16588
|
const globalOptions = program.opts();
|
|
16589
16589
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16590
|
-
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16590
|
+
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs"));
|
|
16591
16591
|
await seedCommand({
|
|
16592
16592
|
...options,
|
|
16593
16593
|
...construct ? { construct } : {}
|
|
@@ -16601,7 +16601,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16601
16601
|
try {
|
|
16602
16602
|
const globalOptions = program.opts();
|
|
16603
16603
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16604
|
-
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16604
|
+
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-DN5VM5vy.cjs"));
|
|
16605
16605
|
await migrationCommand({
|
|
16606
16606
|
construct,
|
|
16607
16607
|
...name ? { name } : {}
|
|
@@ -16762,7 +16762,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16762
16762
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16763
16763
|
process.exit(1);
|
|
16764
16764
|
}
|
|
16765
|
-
const { derivedContainers } = await Promise.resolve().then(() => require("./workspace-
|
|
16765
|
+
const { derivedContainers } = await Promise.resolve().then(() => require("./workspace-DFYu-iRP.cjs")).then((n) => n.workspace_exports);
|
|
16766
16766
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16767
16767
|
if (!result) {
|
|
16768
16768
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|