@mediamonks/canopy-cli 0.7.9 → 0.7.10

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.
@@ -248,7 +248,8 @@ const promoteCommand = defineCommand({
248
248
  throw err;
249
249
  }
250
250
  const backend = result.worker?.serviceUrl ? ` · backend ${result.worker.serviceUrl}` : "";
251
- spin.stop(`Live: ${projectUrl(slug)} (v${result.version}, was v${result.previous ?? "?"})${backend}`);
251
+ const was = result.previous === null ? "" : `, was v${result.previous}`;
252
+ spin.stop(`Live: ${projectUrl(slug)} (v${result.version}${was})${backend}`);
252
253
  for (const name of result.migrationsApplied) console.log(` applied ${name}`);
253
254
  if (result.snapshot !== void 0) console.log(` pre-promote snapshot: ${result.snapshot} (canopy db restore --snapshot …)`);
254
255
  })
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-CGrKr6IT.mjs";
1
+ import { t as version } from "./package-DRp7sI6i.mjs";
2
2
  import { n as siteConfig } from "./site-BUlQR117.mjs";
3
3
  import { i as latestKnownVersion, r as compareSemver } from "./version-check-CcsA1QjI.mjs";
4
4
  import { n as reportErrors } from "./ui-2mrJcjYC.mjs";
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-CGrKr6IT.mjs";
1
+ import { t as version } from "./package-DRp7sI6i.mjs";
2
2
  import { a as projectDirArgs, c as resolveProject, n as siteConfig, u as tryReadCanopyJson } from "./site-BUlQR117.mjs";
3
3
  import { c as apiRequest, l as apiUpload, n as reportErrors, s as apiDownload } from "./ui-2mrJcjYC.mjs";
4
4
  import { defineCommand } from "citty";
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as version } from "./package-CGrKr6IT.mjs";
2
+ import { t as version } from "./package-DRp7sI6i.mjs";
3
3
  import { r as siteHeaderLine, t as setInvocationProfile } from "./site-BUlQR117.mjs";
4
4
  import { a as notifyOfUpdate, o as runRefresh } from "./version-check-CcsA1QjI.mjs";
5
5
  import { defineCommand, runMain } from "citty";
@@ -68,20 +68,20 @@ const main = defineCommand({
68
68
  projects: () => import("./projects-C6JQjVqg.mjs").then((m) => m.projectsCommand),
69
69
  delete: () => import("./projects-C6JQjVqg.mjs").then((m) => m.deleteCommand),
70
70
  dev: () => import("./dev-BYxSHUH6.mjs").then((m) => m.devCommand),
71
- deploy: () => import("./deploy-y75cgauK.mjs").then((m) => m.deployCommand),
72
- promote: () => import("./deploy-y75cgauK.mjs").then((m) => m.promoteCommand),
71
+ deploy: () => import("./deploy-BKFICJT1.mjs").then((m) => m.deployCommand),
72
+ promote: () => import("./deploy-BKFICJT1.mjs").then((m) => m.promoteCommand),
73
73
  staging: () => import("./staging-Bw1D_J8M.mjs").then((m) => m.stagingCommand),
74
- rollback: () => import("./deploy-y75cgauK.mjs").then((m) => m.rollbackCommand),
75
- download: () => import("./deploy-y75cgauK.mjs").then((m) => m.downloadCommand),
74
+ rollback: () => import("./deploy-BKFICJT1.mjs").then((m) => m.rollbackCommand),
75
+ download: () => import("./deploy-BKFICJT1.mjs").then((m) => m.downloadCommand),
76
76
  token: () => import("./token-D7zrIF8G.mjs").then((m) => m.tokenCommand),
77
77
  egress: () => import("./egress-CN_axsAN.mjs").then((m) => m.egressCommand),
78
- feedback: () => import("./feedback-DUuWXS_D.mjs").then((m) => m.feedbackCommand),
78
+ feedback: () => import("./feedback-BpiCvItH.mjs").then((m) => m.feedbackCommand),
79
79
  db: () => import("./db-8Etjmzxh.mjs").then((m) => m.dbCommand),
80
80
  usage: () => import("./usage-CX1Izj_l.mjs").then((m) => m.usageCommand),
81
81
  open: () => import("./open-DRPp4QJg.mjs").then((m) => m.openCommand),
82
- docs: () => import("./docs-VmcoH1An.mjs").then((m) => m.docsCommand),
83
- skill: () => import("./skill-CZP1AqQX.mjs").then((m) => m.skillCommand),
84
- upgrade: () => import("./upgrade-CmhSO_r6.mjs").then((m) => m.upgradeCommand),
82
+ docs: () => import("./docs-Ck9xogEV.mjs").then((m) => m.docsCommand),
83
+ skill: () => import("./skill-B2sDMAmv.mjs").then((m) => m.skillCommand),
84
+ upgrade: () => import("./upgrade-tOfSmAcc.mjs").then((m) => m.upgradeCommand),
85
85
  logs: () => import("./logs-DNiZquki.mjs").then((m) => m.logsCommand)
86
86
  }
87
87
  });
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.7.9";
2
+ var version = "0.7.10";
3
3
  //#endregion
4
4
  export { version as t };
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-CGrKr6IT.mjs";
1
+ import { t as version } from "./package-DRp7sI6i.mjs";
2
2
  import { n as reportErrors } from "./ui-2mrJcjYC.mjs";
3
3
  import { defineCommand } from "citty";
4
4
  import { cpSync, existsSync, mkdirSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
@@ -112,7 +112,7 @@ const upgradeCommand = defineCommand({
112
112
  const spec = `${PACKAGE_NAME}@${args.version ?? "latest"}`;
113
113
  const command = pmCommand(pm);
114
114
  const cmd = installArgs(pm, spec);
115
- const { skillInstalled } = await import("./skill-CZP1AqQX.mjs");
115
+ const { skillInstalled } = await import("./skill-B2sDMAmv.mjs");
116
116
  const refreshSkill = skillInstalled(process.cwd());
117
117
  console.log(`Upgrading via ${command}: ${command} ${cmd.join(" ")}`);
118
118
  await run(command, cmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediamonks/canopy-cli",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "Canopy CLI — create, develop and deploy Canopy projects.",
5
5
  "bin": {
6
6
  "canopy": "./dist/index.mjs"