@geekmidas/cli 10.0.0-alpha.162 → 10.0.0-alpha.163

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.
Files changed (29) hide show
  1. package/dist/{cli-Brr1IVq1.mjs → cli-BAn-gJ6S.mjs} +2 -2
  2. package/dist/{cli-Brr1IVq1.mjs.map → cli-BAn-gJ6S.mjs.map} +1 -1
  3. package/dist/{cli-D--xSSlK.cjs → cli-CI-wO3-w.cjs} +2 -2
  4. package/dist/{cli-D--xSSlK.cjs.map → cli-CI-wO3-w.cjs.map} +1 -1
  5. package/dist/deploy/public.cjs +1 -1
  6. package/dist/deploy/public.mjs +1 -1
  7. package/dist/{deploy-Bb-o2KYC.mjs → deploy-C4Qb-A-z.mjs} +26 -6
  8. package/dist/{deploy-Bb-o2KYC.mjs.map → deploy-C4Qb-A-z.mjs.map} +1 -1
  9. package/dist/{deploy-Ck0zXkM7.cjs → deploy-CGywNg5R.cjs} +26 -6
  10. package/dist/{deploy-Ck0zXkM7.cjs.map → deploy-CGywNg5R.cjs.map} +1 -1
  11. package/dist/{destroy-JHapr9UF.cjs → destroy-IUx8vz1q.cjs} +2 -2
  12. package/dist/{destroy-JHapr9UF.cjs.map → destroy-IUx8vz1q.cjs.map} +1 -1
  13. package/dist/{destroy-DIV6l_94.mjs → destroy-xjqqzAmU.mjs} +2 -2
  14. package/dist/{destroy-DIV6l_94.mjs.map → destroy-xjqqzAmU.mjs.map} +1 -1
  15. package/dist/{github-CRvdaD2Y.cjs → github-82k5-OZO.cjs} +4 -3
  16. package/dist/github-82k5-OZO.cjs.map +1 -0
  17. package/dist/{github-BOXn5NEP.mjs → github-DxgGIvq1.mjs} +4 -3
  18. package/dist/github-DxgGIvq1.mjs.map +1 -0
  19. package/dist/index.cjs +27 -27
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.mjs +27 -27
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/{serverSetup-BoxtHWkI.cjs → serverSetup-BXk8SGuz.cjs} +2 -2
  24. package/dist/{serverSetup-BoxtHWkI.cjs.map → serverSetup-BXk8SGuz.cjs.map} +1 -1
  25. package/dist/{serverSetup-DxcbUlwE.mjs → serverSetup-CzoKT3nH.mjs} +2 -2
  26. package/dist/{serverSetup-DxcbUlwE.mjs.map → serverSetup-CzoKT3nH.mjs.map} +1 -1
  27. package/package.json +15 -15
  28. package/dist/github-BOXn5NEP.mjs.map +0 -1
  29. package/dist/github-CRvdaD2Y.cjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ import { a as opensKmsKeys, n as driversFor, o as publishesToApiGateway, r as ev
22
22
  import { n as withHandlers, t as manifestModule } from "./emit-C4KSXOeS.mjs";
23
23
  import { t as LocalSandbox } from "./local-Bqx5Xj3z.mjs";
24
24
  import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-Csft3UaJ.mjs";
25
- import { t as deploy$1 } from "./deploy-Bb-o2KYC.mjs";
25
+ import { t as deploy$1 } from "./deploy-C4Qb-A-z.mjs";
26
26
  import { o as dnsResources, u as describeActor } from "./seeds-y1rzXlAc.mjs";
27
27
  import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-mz9QZTYh.mjs";
28
28
  import { t as LocalStateStore } from "./LocalStateStore-DrTw_EIu.mjs";
@@ -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.162";
58
+ var version = "10.0.0-alpha.163";
59
59
  //#endregion
60
60
  //#region src/prompt.ts
61
61
  /**
@@ -4652,7 +4652,7 @@ async function composeCommand(options, deps = {}) {
4652
4652
  ["tag", "--tag"]
4653
4653
  ].find(([key]) => options[key] !== void 0 && options[key] !== false)?.[1];
4654
4654
  if (flag) throw new ComposeDestroyConflict(flag);
4655
- const { composeDestroyCommand } = await import("./destroy-DIV6l_94.mjs");
4655
+ const { composeDestroyCommand } = await import("./destroy-xjqqzAmU.mjs");
4656
4656
  await composeDestroyCommand({
4657
4657
  stage: options.stage,
4658
4658
  ...options.cwd ? { cwd: options.cwd } : {},
@@ -4670,7 +4670,7 @@ async function composeCommand(options, deps = {}) {
4670
4670
  const { workspace } = loaded;
4671
4671
  const { stage } = options;
4672
4672
  if (options.down) {
4673
- const { composeStackRef } = await import("./destroy-DIV6l_94.mjs");
4673
+ const { composeStackRef } = await import("./destroy-xjqqzAmU.mjs");
4674
4674
  const { ref, dir, server } = await composeStackRef(workspace, stage);
4675
4675
  const docker = deps.docker ?? dockerCompose;
4676
4676
  if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
@@ -6251,25 +6251,25 @@ function loadPackageJson() {
6251
6251
  * Run: pnpm --filter @geekmidas/cli sync-versions
6252
6252
  */
6253
6253
  const GEEKMIDAS_VERSIONS = {
6254
- "@geekmidas/audit": ">=10.0.0-alpha.162 <10.0.0",
6255
- "@geekmidas/auth": ">=10.0.0-alpha.162 <10.0.0",
6256
- "@geekmidas/cache": ">=10.0.0-alpha.162 <10.0.0",
6257
- "@geekmidas/client": ">=10.0.0-alpha.162 <10.0.0",
6258
- "@geekmidas/cloud": ">=10.0.0-alpha.162 <10.0.0",
6259
- "@geekmidas/constructs": ">=10.0.0-alpha.162 <10.0.0",
6260
- "@geekmidas/db": ">=10.0.0-alpha.162 <10.0.0",
6261
- "@geekmidas/emailkit": ">=10.0.0-alpha.162 <10.0.0",
6262
- "@geekmidas/envkit": ">=10.0.0-alpha.162 <10.0.0",
6263
- "@geekmidas/errors": ">=10.0.0-alpha.162 <10.0.0",
6264
- "@geekmidas/events": ">=10.0.0-alpha.162 <10.0.0",
6265
- "@geekmidas/logger": ">=10.0.0-alpha.162 <10.0.0",
6266
- "@geekmidas/manifest": ">=10.0.0-alpha.162 <10.0.0",
6267
- "@geekmidas/rate-limit": ">=10.0.0-alpha.162 <10.0.0",
6268
- "@geekmidas/schema": ">=10.0.0-alpha.162 <10.0.0",
6269
- "@geekmidas/services": ">=10.0.0-alpha.162 <10.0.0",
6270
- "@geekmidas/storage": ">=10.0.0-alpha.162 <10.0.0",
6271
- "@geekmidas/telescope": ">=10.0.0-alpha.162 <10.0.0",
6272
- "@geekmidas/testkit": ">=10.0.0-alpha.162 <10.0.0",
6254
+ "@geekmidas/audit": ">=10.0.0-alpha.163 <10.0.0",
6255
+ "@geekmidas/auth": ">=10.0.0-alpha.163 <10.0.0",
6256
+ "@geekmidas/cache": ">=10.0.0-alpha.163 <10.0.0",
6257
+ "@geekmidas/client": ">=10.0.0-alpha.163 <10.0.0",
6258
+ "@geekmidas/cloud": ">=10.0.0-alpha.163 <10.0.0",
6259
+ "@geekmidas/constructs": ">=10.0.0-alpha.163 <10.0.0",
6260
+ "@geekmidas/db": ">=10.0.0-alpha.163 <10.0.0",
6261
+ "@geekmidas/emailkit": ">=10.0.0-alpha.163 <10.0.0",
6262
+ "@geekmidas/envkit": ">=10.0.0-alpha.163 <10.0.0",
6263
+ "@geekmidas/errors": ">=10.0.0-alpha.163 <10.0.0",
6264
+ "@geekmidas/events": ">=10.0.0-alpha.163 <10.0.0",
6265
+ "@geekmidas/logger": ">=10.0.0-alpha.163 <10.0.0",
6266
+ "@geekmidas/manifest": ">=10.0.0-alpha.163 <10.0.0",
6267
+ "@geekmidas/rate-limit": ">=10.0.0-alpha.163 <10.0.0",
6268
+ "@geekmidas/schema": ">=10.0.0-alpha.163 <10.0.0",
6269
+ "@geekmidas/services": ">=10.0.0-alpha.163 <10.0.0",
6270
+ "@geekmidas/storage": ">=10.0.0-alpha.163 <10.0.0",
6271
+ "@geekmidas/telescope": ">=10.0.0-alpha.163 <10.0.0",
6272
+ "@geekmidas/testkit": ">=10.0.0-alpha.163 <10.0.0",
6273
6273
  "@geekmidas/cli": versionRange(loadPackageJson().version)
6274
6274
  };
6275
6275
  //#endregion
@@ -7462,7 +7462,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
7462
7462
  * The `uses:` value for the stages action, with a comment saying which CLI
7463
7463
  * release the pinned commit is.
7464
7464
  */
7465
- function stagesActionUses(commit = "6c4299a1e9d6c0ca5903899275366a28e8446f8a", version = cliVersion()) {
7465
+ function stagesActionUses(commit = "e3482a7ef7304cd8caf4bf12f30ab233244f6c50", version = cliVersion()) {
7466
7466
  return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
7467
7467
  }
7468
7468
  //#endregion
@@ -17153,7 +17153,7 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
17153
17153
  }
17154
17154
  });
17155
17155
  program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
17156
- const { deployCli } = await import("./cli-Brr1IVq1.mjs");
17156
+ const { deployCli } = await import("./cli-BAn-gJ6S.mjs");
17157
17157
  const globalOptions = program.opts();
17158
17158
  const code = await deployCli({
17159
17159
  cwd: resolve(globalOptions.cwd ?? process.cwd()),
@@ -17192,7 +17192,7 @@ program.command("compose:server").description("Set up a stage's server for compo
17192
17192
  try {
17193
17193
  const globalOptions = program.opts();
17194
17194
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
17195
- const { composeServerCommand } = await import("./serverSetup-DxcbUlwE.mjs");
17195
+ const { composeServerCommand } = await import("./serverSetup-CzoKT3nH.mjs");
17196
17196
  await composeServerCommand(options);
17197
17197
  } catch (error) {
17198
17198
  exitWithError(error);
@@ -17217,7 +17217,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
17217
17217
  try {
17218
17218
  const globalOptions = program.opts();
17219
17219
  if (globalOptions.cwd) process.chdir(globalOptions.cwd);
17220
- const { deployGithubCommand } = await import("./github-BOXn5NEP.mjs");
17220
+ const { deployGithubCommand } = await import("./github-DxgGIvq1.mjs");
17221
17221
  await deployGithubCommand(options);
17222
17222
  } catch (error) {
17223
17223
  exitWithError(error);