@geekmidas/cli 10.0.0-alpha.158 → 10.0.0-alpha.159

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
@@ -55,7 +55,7 @@ import { Readable as Readable$1 } from "stream";
55
55
  import crypto from "crypto";
56
56
  import { Topic } from "@geekmidas/constructs/topic";
57
57
  //#region package.json
58
- var version = "10.0.0-alpha.158";
58
+ var version = "10.0.0-alpha.159";
59
59
  //#endregion
60
60
  //#region src/prompt.ts
61
61
  /**
@@ -6228,25 +6228,25 @@ function loadPackageJson() {
6228
6228
  * Run: pnpm --filter @geekmidas/cli sync-versions
6229
6229
  */
6230
6230
  const GEEKMIDAS_VERSIONS = {
6231
- "@geekmidas/audit": ">=10.0.0-alpha.158 <10.0.0",
6232
- "@geekmidas/auth": ">=10.0.0-alpha.158 <10.0.0",
6233
- "@geekmidas/cache": ">=10.0.0-alpha.158 <10.0.0",
6234
- "@geekmidas/client": ">=10.0.0-alpha.158 <10.0.0",
6235
- "@geekmidas/cloud": ">=10.0.0-alpha.158 <10.0.0",
6236
- "@geekmidas/constructs": ">=10.0.0-alpha.158 <10.0.0",
6237
- "@geekmidas/db": ">=10.0.0-alpha.158 <10.0.0",
6238
- "@geekmidas/emailkit": ">=10.0.0-alpha.158 <10.0.0",
6239
- "@geekmidas/envkit": ">=10.0.0-alpha.158 <10.0.0",
6240
- "@geekmidas/errors": ">=10.0.0-alpha.158 <10.0.0",
6241
- "@geekmidas/events": ">=10.0.0-alpha.158 <10.0.0",
6242
- "@geekmidas/logger": ">=10.0.0-alpha.158 <10.0.0",
6243
- "@geekmidas/manifest": ">=10.0.0-alpha.158 <10.0.0",
6244
- "@geekmidas/rate-limit": ">=10.0.0-alpha.158 <10.0.0",
6245
- "@geekmidas/schema": ">=10.0.0-alpha.158 <10.0.0",
6246
- "@geekmidas/services": ">=10.0.0-alpha.158 <10.0.0",
6247
- "@geekmidas/storage": ">=10.0.0-alpha.158 <10.0.0",
6248
- "@geekmidas/telescope": ">=10.0.0-alpha.158 <10.0.0",
6249
- "@geekmidas/testkit": ">=10.0.0-alpha.158 <10.0.0",
6231
+ "@geekmidas/audit": ">=10.0.0-alpha.159 <10.0.0",
6232
+ "@geekmidas/auth": ">=10.0.0-alpha.159 <10.0.0",
6233
+ "@geekmidas/cache": ">=10.0.0-alpha.159 <10.0.0",
6234
+ "@geekmidas/client": ">=10.0.0-alpha.159 <10.0.0",
6235
+ "@geekmidas/cloud": ">=10.0.0-alpha.159 <10.0.0",
6236
+ "@geekmidas/constructs": ">=10.0.0-alpha.159 <10.0.0",
6237
+ "@geekmidas/db": ">=10.0.0-alpha.159 <10.0.0",
6238
+ "@geekmidas/emailkit": ">=10.0.0-alpha.159 <10.0.0",
6239
+ "@geekmidas/envkit": ">=10.0.0-alpha.159 <10.0.0",
6240
+ "@geekmidas/errors": ">=10.0.0-alpha.159 <10.0.0",
6241
+ "@geekmidas/events": ">=10.0.0-alpha.159 <10.0.0",
6242
+ "@geekmidas/logger": ">=10.0.0-alpha.159 <10.0.0",
6243
+ "@geekmidas/manifest": ">=10.0.0-alpha.159 <10.0.0",
6244
+ "@geekmidas/rate-limit": ">=10.0.0-alpha.159 <10.0.0",
6245
+ "@geekmidas/schema": ">=10.0.0-alpha.159 <10.0.0",
6246
+ "@geekmidas/services": ">=10.0.0-alpha.159 <10.0.0",
6247
+ "@geekmidas/storage": ">=10.0.0-alpha.159 <10.0.0",
6248
+ "@geekmidas/telescope": ">=10.0.0-alpha.159 <10.0.0",
6249
+ "@geekmidas/testkit": ">=10.0.0-alpha.159 <10.0.0",
6250
6250
  "@geekmidas/cli": versionRange(loadPackageJson().version)
6251
6251
  };
6252
6252
  //#endregion
@@ -7439,7 +7439,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
7439
7439
  * The `uses:` value for the stages action, with a comment saying which CLI
7440
7440
  * release the pinned commit is.
7441
7441
  */
7442
- function stagesActionUses(commit = "2f497604a7b60ff442888c974022b61383e65d67", version = cliVersion()) {
7442
+ function stagesActionUses(commit = "e39550a86710102d80a1f5abb43463ca601bf415", version = cliVersion()) {
7443
7443
  return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
7444
7444
  }
7445
7445
  //#endregion
@@ -17165,11 +17165,11 @@ program.command("deploy:rollback").description("Put a stage's app back on its pr
17165
17165
  exitWithError(error);
17166
17166
  }
17167
17167
  });
17168
- program.command("compose:server").description("Set up a stage's server for compose deploys: harden it (SSH keys only, no root login, firewall, security updates, fail2ban), install Docker, create the deploy user, and give its key to GitHub").requiredOption("--stage <stage>", "A deployed stage from gkm.config.ts").option("--admin <user>", "The sudo user you log in to the server as — never root (default: ssh's own user for the host)").option("--identity <path>", "The SSH key the admin logs in with (default: ssh's own choice)").option("--key-file <path>", "The deploy key pair (default: ~/.ssh/gkm-<project>-<stage>)").option("--repo <owner/name>", "GitHub repository (default: this one)").option("--no-github", "Leave the GitHub environment's key and host alone").option("--yes", "Set the server up without asking first").option("--dry-run", "Print the plan and the script; connect to nothing").action(async (options) => {
17168
+ program.command("compose:server").description("Set up a stage's server for compose deploys: harden it (SSH keys only, no root login, firewall, security updates, fail2ban), install Docker, create the deploy user, and give its key to GitHub").requiredOption("--stage <stage>", "A deployed stage from gkm.config.ts").option("--admin <user>", "The sudo user you log in to the server as — never root (default: ssh's own user for the host)").option("--identity <path>", "The SSH key the admin logs in with (default: ssh's own choice)").option("--key-file <path>", "The deploy key pair (default: ~/.ssh/gkm-<project>-<stage>)").option("--repo <owner/name>", "GitHub repository (default: this one)").option("--no-github", "Leave the GitHub environment's key and host alone").option("--zsh", "Install zsh and make it the admin's login shell").option("--oh-my-zsh", "Install zsh with Oh My Zsh for the admin (implies --zsh)").option("--yes", "Set the server up without asking first").option("--dry-run", "Print the plan and the script; connect to nothing").action(async (options) => {
17169
17169
  try {
17170
17170
  const globalOptions = program.opts();
17171
17171
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
17172
- const { composeServerCommand } = await import("./serverSetup-CpElhF0V.mjs");
17172
+ const { composeServerCommand } = await import("./serverSetup-CrCEhS0g.mjs");
17173
17173
  await composeServerCommand(options);
17174
17174
  } catch (error) {
17175
17175
  exitWithError(error);