@geekmidas/cli 10.0.0-alpha.43 → 10.0.0-alpha.44

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 CHANGED
@@ -6,10 +6,10 @@ const require_config = require("./config-CJ-PAb7M.cjs");
6
6
  const require_workspace = require("./workspace-RYSYtHP7.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-BXS0S6vC.cjs");
9
+ const require_workspace$1 = require("./workspace-dV6f-3vv.cjs");
10
10
  const require_OpenApiTsGenerator = require("./OpenApiTsGenerator-B4Kj_qNU.cjs");
11
11
  const require_openapi = require("./openapi.cjs");
12
- const require_ready = require("./ready-BCT8BQRq.cjs");
12
+ const require_ready = require("./ready-3RfHxdA0.cjs");
13
13
  const require_emit = require("./emit-BdoPFjZf.cjs");
14
14
  let commander = require("commander");
15
15
  let node_process = require("node:process");
@@ -46,7 +46,7 @@ let _geekmidas_constructs_queue = require("@geekmidas/constructs/queue");
46
46
  let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
47
47
  let node_dns_promises = require("node:dns/promises");
48
48
  //#region package.json
49
- var version = "10.0.0-alpha.43";
49
+ var version = "10.0.0-alpha.44";
50
50
  //#endregion
51
51
  //#region src/auth/credentials.ts
52
52
  /**
@@ -1571,9 +1571,9 @@ async function workspaceDevCommand(workspace, options) {
1571
1571
  const fakes = options.fake ? await serveFakes(reconciled.fakes, reconciled.ports) : [];
1572
1572
  for (const { id, port } of fakes) logger$10.log(`🎭 ${id} fake: http://localhost:${port}`);
1573
1573
  if (options.migrate || options.seed) {
1574
- const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs"));
1574
+ const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs"));
1575
1575
  await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
1576
- } else await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
1576
+ } else await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
1577
1577
  logger$10.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
1578
1578
  });
1579
1579
  const appUrls = {};
@@ -9334,26 +9334,26 @@ function loadPackageJson() {
9334
9334
  * Run: pnpm --filter @geekmidas/cli sync-versions
9335
9335
  */
9336
9336
  const GEEKMIDAS_VERSIONS = {
9337
- "@geekmidas/audit": "~10.0.0-alpha.43",
9338
- "@geekmidas/auth": "~10.0.0-alpha.43",
9339
- "@geekmidas/cache": "~10.0.0-alpha.43",
9340
- "@geekmidas/client": "~10.0.0-alpha.43",
9341
- "@geekmidas/cloud": "~10.0.0-alpha.43",
9342
- "@geekmidas/constructs": "~10.0.0-alpha.43",
9343
- "@geekmidas/db": "~10.0.0-alpha.43",
9344
- "@geekmidas/emailkit": "~10.0.0-alpha.43",
9345
- "@geekmidas/envkit": "~10.0.0-alpha.43",
9346
- "@geekmidas/errors": "~10.0.0-alpha.43",
9347
- "@geekmidas/events": "~10.0.0-alpha.43",
9348
- "@geekmidas/logger": "~10.0.0-alpha.43",
9349
- "@geekmidas/manifest": "~10.0.0-alpha.43",
9350
- "@geekmidas/rate-limit": "~10.0.0-alpha.43",
9351
- "@geekmidas/schema": "~10.0.0-alpha.43",
9352
- "@geekmidas/services": "~10.0.0-alpha.43",
9353
- "@geekmidas/storage": "~10.0.0-alpha.43",
9354
- "@geekmidas/studio": "~10.0.0-alpha.43",
9355
- "@geekmidas/telescope": "~10.0.0-alpha.43",
9356
- "@geekmidas/testkit": "~10.0.0-alpha.43",
9337
+ "@geekmidas/audit": "~10.0.0-alpha.44",
9338
+ "@geekmidas/auth": "~10.0.0-alpha.44",
9339
+ "@geekmidas/cache": "~10.0.0-alpha.44",
9340
+ "@geekmidas/client": "~10.0.0-alpha.44",
9341
+ "@geekmidas/cloud": "~10.0.0-alpha.44",
9342
+ "@geekmidas/constructs": "~10.0.0-alpha.44",
9343
+ "@geekmidas/db": "~10.0.0-alpha.44",
9344
+ "@geekmidas/emailkit": "~10.0.0-alpha.44",
9345
+ "@geekmidas/envkit": "~10.0.0-alpha.44",
9346
+ "@geekmidas/errors": "~10.0.0-alpha.44",
9347
+ "@geekmidas/events": "~10.0.0-alpha.44",
9348
+ "@geekmidas/logger": "~10.0.0-alpha.44",
9349
+ "@geekmidas/manifest": "~10.0.0-alpha.44",
9350
+ "@geekmidas/rate-limit": "~10.0.0-alpha.44",
9351
+ "@geekmidas/schema": "~10.0.0-alpha.44",
9352
+ "@geekmidas/services": "~10.0.0-alpha.44",
9353
+ "@geekmidas/storage": "~10.0.0-alpha.44",
9354
+ "@geekmidas/studio": "~10.0.0-alpha.44",
9355
+ "@geekmidas/telescope": "~10.0.0-alpha.44",
9356
+ "@geekmidas/testkit": "~10.0.0-alpha.44",
9357
9357
  "@geekmidas/cli": `~${loadPackageJson().version}`
9358
9358
  };
9359
9359
  //#endregion
@@ -16102,7 +16102,7 @@ function testDatabases(reconciled) {
16102
16102
  * starts without the reference data the app needs.
16103
16103
  */
16104
16104
  async function migrateTestStage(workspace, env) {
16105
- const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs"));
16105
+ const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs"));
16106
16106
  const { discover } = await Promise.resolve().then(() => require("./discover-B0f_kuNN.cjs")).then((n) => n.discover_exports);
16107
16107
  const sources = {};
16108
16108
  const manifest = await discover({
@@ -16549,7 +16549,7 @@ program.command("migrate").description("Apply each database construct's migratio
16549
16549
  try {
16550
16550
  const globalOptions = program.opts();
16551
16551
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
16552
- const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs"));
16552
+ const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs"));
16553
16553
  await migrateCommand({
16554
16554
  ...options,
16555
16555
  ...construct ? { construct } : {}
@@ -16563,7 +16563,7 @@ program.command("seed").description("Migrate, then run each database construct's
16563
16563
  try {
16564
16564
  const globalOptions = program.opts();
16565
16565
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
16566
- const { seedCommand } = await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs"));
16566
+ const { seedCommand } = await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs"));
16567
16567
  await seedCommand({
16568
16568
  ...options,
16569
16569
  ...construct ? { construct } : {}
@@ -16577,7 +16577,7 @@ program.command("migration").description("Write a construct's next migration: an
16577
16577
  try {
16578
16578
  const globalOptions = program.opts();
16579
16579
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
16580
- const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-BPIa3cxa.cjs"));
16580
+ const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-PJi4b1ga.cjs"));
16581
16581
  await migrationCommand({
16582
16582
  construct,
16583
16583
  ...name ? { name } : {}
@@ -16716,7 +16716,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
16716
16716
  console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
16717
16717
  process.exit(1);
16718
16718
  }
16719
- const { derivedContainers } = await Promise.resolve().then(() => require("./workspace-BXS0S6vC.cjs")).then((n) => n.workspace_exports);
16719
+ const { derivedContainers } = await Promise.resolve().then(() => require("./workspace-dV6f-3vv.cjs")).then((n) => n.workspace_exports);
16720
16720
  const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
16721
16721
  if (!result) {
16722
16722
  console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);