@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.cjs CHANGED
@@ -61,7 +61,7 @@ let crypto = require("crypto");
61
61
  crypto = require_rolldown_runtime.__toESM(crypto, 1);
62
62
  let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
63
63
  //#region package.json
64
- var version = "10.0.0-alpha.158";
64
+ var version = "10.0.0-alpha.159";
65
65
  //#endregion
66
66
  //#region src/prompt.ts
67
67
  /**
@@ -6234,25 +6234,25 @@ function loadPackageJson() {
6234
6234
  * Run: pnpm --filter @geekmidas/cli sync-versions
6235
6235
  */
6236
6236
  const GEEKMIDAS_VERSIONS = {
6237
- "@geekmidas/audit": ">=10.0.0-alpha.158 <10.0.0",
6238
- "@geekmidas/auth": ">=10.0.0-alpha.158 <10.0.0",
6239
- "@geekmidas/cache": ">=10.0.0-alpha.158 <10.0.0",
6240
- "@geekmidas/client": ">=10.0.0-alpha.158 <10.0.0",
6241
- "@geekmidas/cloud": ">=10.0.0-alpha.158 <10.0.0",
6242
- "@geekmidas/constructs": ">=10.0.0-alpha.158 <10.0.0",
6243
- "@geekmidas/db": ">=10.0.0-alpha.158 <10.0.0",
6244
- "@geekmidas/emailkit": ">=10.0.0-alpha.158 <10.0.0",
6245
- "@geekmidas/envkit": ">=10.0.0-alpha.158 <10.0.0",
6246
- "@geekmidas/errors": ">=10.0.0-alpha.158 <10.0.0",
6247
- "@geekmidas/events": ">=10.0.0-alpha.158 <10.0.0",
6248
- "@geekmidas/logger": ">=10.0.0-alpha.158 <10.0.0",
6249
- "@geekmidas/manifest": ">=10.0.0-alpha.158 <10.0.0",
6250
- "@geekmidas/rate-limit": ">=10.0.0-alpha.158 <10.0.0",
6251
- "@geekmidas/schema": ">=10.0.0-alpha.158 <10.0.0",
6252
- "@geekmidas/services": ">=10.0.0-alpha.158 <10.0.0",
6253
- "@geekmidas/storage": ">=10.0.0-alpha.158 <10.0.0",
6254
- "@geekmidas/telescope": ">=10.0.0-alpha.158 <10.0.0",
6255
- "@geekmidas/testkit": ">=10.0.0-alpha.158 <10.0.0",
6237
+ "@geekmidas/audit": ">=10.0.0-alpha.159 <10.0.0",
6238
+ "@geekmidas/auth": ">=10.0.0-alpha.159 <10.0.0",
6239
+ "@geekmidas/cache": ">=10.0.0-alpha.159 <10.0.0",
6240
+ "@geekmidas/client": ">=10.0.0-alpha.159 <10.0.0",
6241
+ "@geekmidas/cloud": ">=10.0.0-alpha.159 <10.0.0",
6242
+ "@geekmidas/constructs": ">=10.0.0-alpha.159 <10.0.0",
6243
+ "@geekmidas/db": ">=10.0.0-alpha.159 <10.0.0",
6244
+ "@geekmidas/emailkit": ">=10.0.0-alpha.159 <10.0.0",
6245
+ "@geekmidas/envkit": ">=10.0.0-alpha.159 <10.0.0",
6246
+ "@geekmidas/errors": ">=10.0.0-alpha.159 <10.0.0",
6247
+ "@geekmidas/events": ">=10.0.0-alpha.159 <10.0.0",
6248
+ "@geekmidas/logger": ">=10.0.0-alpha.159 <10.0.0",
6249
+ "@geekmidas/manifest": ">=10.0.0-alpha.159 <10.0.0",
6250
+ "@geekmidas/rate-limit": ">=10.0.0-alpha.159 <10.0.0",
6251
+ "@geekmidas/schema": ">=10.0.0-alpha.159 <10.0.0",
6252
+ "@geekmidas/services": ">=10.0.0-alpha.159 <10.0.0",
6253
+ "@geekmidas/storage": ">=10.0.0-alpha.159 <10.0.0",
6254
+ "@geekmidas/telescope": ">=10.0.0-alpha.159 <10.0.0",
6255
+ "@geekmidas/testkit": ">=10.0.0-alpha.159 <10.0.0",
6256
6256
  "@geekmidas/cli": versionRange(loadPackageJson().version)
6257
6257
  };
6258
6258
  //#endregion
@@ -7445,7 +7445,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
7445
7445
  * The `uses:` value for the stages action, with a comment saying which CLI
7446
7446
  * release the pinned commit is.
7447
7447
  */
7448
- function stagesActionUses(commit = "2f497604a7b60ff442888c974022b61383e65d67", version = cliVersion()) {
7448
+ function stagesActionUses(commit = "e39550a86710102d80a1f5abb43463ca601bf415", version = cliVersion()) {
7449
7449
  return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
7450
7450
  }
7451
7451
  //#endregion
@@ -17171,11 +17171,11 @@ program.command("deploy:rollback").description("Put a stage's app back on its pr
17171
17171
  exitWithError(error);
17172
17172
  }
17173
17173
  });
17174
- 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) => {
17174
+ 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) => {
17175
17175
  try {
17176
17176
  const globalOptions = program.opts();
17177
17177
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
17178
- const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-BGZOO9cI.cjs"));
17178
+ const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-WWrNW3Md.cjs"));
17179
17179
  await composeServerCommand(options);
17180
17180
  } catch (error) {
17181
17181
  exitWithError(error);