@geekmidas/cli 10.0.0-alpha.86 → 10.0.0-alpha.87

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.mjs CHANGED
@@ -47,7 +47,7 @@ import crypto from "crypto";
47
47
  import { Function } from "@geekmidas/constructs/functions";
48
48
  import { Topic } from "@geekmidas/constructs/topic";
49
49
  //#region package.json
50
- var version = "10.0.0-alpha.86";
50
+ var version = "10.0.0-alpha.87";
51
51
  //#endregion
52
52
  //#region src/prompt.ts
53
53
  /**
@@ -5219,25 +5219,25 @@ function loadPackageJson() {
5219
5219
  * Run: pnpm --filter @geekmidas/cli sync-versions
5220
5220
  */
5221
5221
  const GEEKMIDAS_VERSIONS = {
5222
- "@geekmidas/audit": "~10.0.0-alpha.86",
5223
- "@geekmidas/auth": "~10.0.0-alpha.86",
5224
- "@geekmidas/cache": "~10.0.0-alpha.86",
5225
- "@geekmidas/client": "~10.0.0-alpha.86",
5226
- "@geekmidas/cloud": "~10.0.0-alpha.86",
5227
- "@geekmidas/constructs": "~10.0.0-alpha.86",
5228
- "@geekmidas/db": "~10.0.0-alpha.86",
5229
- "@geekmidas/emailkit": "~10.0.0-alpha.86",
5230
- "@geekmidas/envkit": "~10.0.0-alpha.86",
5231
- "@geekmidas/errors": "~10.0.0-alpha.86",
5232
- "@geekmidas/events": "~10.0.0-alpha.86",
5233
- "@geekmidas/logger": "~10.0.0-alpha.86",
5234
- "@geekmidas/manifest": "~10.0.0-alpha.86",
5235
- "@geekmidas/rate-limit": "~10.0.0-alpha.86",
5236
- "@geekmidas/schema": "~10.0.0-alpha.86",
5237
- "@geekmidas/services": "~10.0.0-alpha.86",
5238
- "@geekmidas/storage": "~10.0.0-alpha.86",
5239
- "@geekmidas/telescope": "~10.0.0-alpha.86",
5240
- "@geekmidas/testkit": "~10.0.0-alpha.86",
5222
+ "@geekmidas/audit": "~10.0.0-alpha.87",
5223
+ "@geekmidas/auth": "~10.0.0-alpha.87",
5224
+ "@geekmidas/cache": "~10.0.0-alpha.87",
5225
+ "@geekmidas/client": "~10.0.0-alpha.87",
5226
+ "@geekmidas/cloud": "~10.0.0-alpha.87",
5227
+ "@geekmidas/constructs": "~10.0.0-alpha.87",
5228
+ "@geekmidas/db": "~10.0.0-alpha.87",
5229
+ "@geekmidas/emailkit": "~10.0.0-alpha.87",
5230
+ "@geekmidas/envkit": "~10.0.0-alpha.87",
5231
+ "@geekmidas/errors": "~10.0.0-alpha.87",
5232
+ "@geekmidas/events": "~10.0.0-alpha.87",
5233
+ "@geekmidas/logger": "~10.0.0-alpha.87",
5234
+ "@geekmidas/manifest": "~10.0.0-alpha.87",
5235
+ "@geekmidas/rate-limit": "~10.0.0-alpha.87",
5236
+ "@geekmidas/schema": "~10.0.0-alpha.87",
5237
+ "@geekmidas/services": "~10.0.0-alpha.87",
5238
+ "@geekmidas/storage": "~10.0.0-alpha.87",
5239
+ "@geekmidas/telescope": "~10.0.0-alpha.87",
5240
+ "@geekmidas/testkit": "~10.0.0-alpha.87",
5241
5241
  "@geekmidas/cli": `~${loadPackageJson().version}`
5242
5242
  };
5243
5243
  //#endregion
@@ -5638,7 +5638,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
5638
5638
  * The `uses:` value for the stages action, with a comment saying which CLI
5639
5639
  * release the pinned commit is.
5640
5640
  */
5641
- function stagesActionUses(commit = "4b431683030dbd72d145ef850ef5348106aac97f", version = cliVersion()) {
5641
+ function stagesActionUses(commit = "8bf34e377e5def9821eacaea3971d6daf6c91748", version = cliVersion()) {
5642
5642
  return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
5643
5643
  }
5644
5644
  //#endregion
@@ -10938,7 +10938,6 @@ const logger$1 = console;
10938
10938
  * machine, so no container is started for one.
10939
10939
  */
10940
10940
  async function setupCommand(options = {}) {
10941
- logger$1.log("\nšŸ”§ Setting up the local environment...\n");
10942
10941
  let loadedConfig;
10943
10942
  try {
10944
10943
  loadedConfig = await loadWorkspaceConfig();
@@ -10949,6 +10948,7 @@ async function setupCommand(options = {}) {
10949
10948
  const stage = options.stage ?? loadedConfig.workspace.stages.local;
10950
10949
  const { workspace } = loadedConfig;
10951
10950
  const local = stage === workspace.stages.local;
10951
+ logger$1.log(local ? "\nšŸ”§ Setting up the local environment...\n" : `\nā˜ļø Provisioning the '${stage}' stage${options.dryRun ? " (dry run)" : ""}...\n`);
10952
10952
  logger$1.log(`šŸ“¦ Workspace: ${workspace.name}`);
10953
10953
  logger$1.log(`šŸ“± Apps: ${Object.keys(workspace.apps).join(", ")}`);
10954
10954
  logger$1.log(`šŸ”‘ Stage: ${stage}\n`);