@mediamonks/canopy-cli 0.7.10 → 0.7.11

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.
@@ -185,7 +185,10 @@ const deployCommand = defineCommand({
185
185
  throw err;
186
186
  }
187
187
  }
188
- ({deploy: result} = await withContext(apiRequest("POST", `/projects/${slug}/deploys/${upload.version}/complete`, { grant: upload.grant }, void 0, source), { action: `deploy "${slug}"` }));
188
+ ({deploy: result} = await withContext(apiRequest("POST", `/projects/${slug}/deploys/${upload.version}/complete`, {
189
+ grant: upload.grant,
190
+ migrations: migrateResult?.appliedNow ?? []
191
+ }, void 0, source), { action: `deploy "${slug}"` }));
189
192
  } catch (err) {
190
193
  spin.error("Deploy failed.");
191
194
  throw err;
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-DRp7sI6i.mjs";
1
+ import { t as version } from "./package-BBpw-n7k.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-DRp7sI6i.mjs";
1
+ import { t as version } from "./package-BBpw-n7k.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-DRp7sI6i.mjs";
2
+ import { t as version } from "./package-BBpw-n7k.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-BKFICJT1.mjs").then((m) => m.deployCommand),
72
- promote: () => import("./deploy-BKFICJT1.mjs").then((m) => m.promoteCommand),
71
+ deploy: () => import("./deploy-BCtEY1is.mjs").then((m) => m.deployCommand),
72
+ promote: () => import("./deploy-BCtEY1is.mjs").then((m) => m.promoteCommand),
73
73
  staging: () => import("./staging-Bw1D_J8M.mjs").then((m) => m.stagingCommand),
74
- rollback: () => import("./deploy-BKFICJT1.mjs").then((m) => m.rollbackCommand),
75
- download: () => import("./deploy-BKFICJT1.mjs").then((m) => m.downloadCommand),
74
+ rollback: () => import("./deploy-BCtEY1is.mjs").then((m) => m.rollbackCommand),
75
+ download: () => import("./deploy-BCtEY1is.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-BpiCvItH.mjs").then((m) => m.feedbackCommand),
78
+ feedback: () => import("./feedback-Cb8ccQ_R.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-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),
82
+ docs: () => import("./docs-BV9qhLJx.mjs").then((m) => m.docsCommand),
83
+ skill: () => import("./skill-DJHlTEhS.mjs").then((m) => m.skillCommand),
84
+ upgrade: () => import("./upgrade-B86Ao6T5.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.10";
2
+ var version = "0.7.11";
3
3
  //#endregion
4
4
  export { version as t };
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-DRp7sI6i.mjs";
1
+ import { t as version } from "./package-BBpw-n7k.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-B2sDMAmv.mjs");
115
+ const { skillInstalled } = await import("./skill-DJHlTEhS.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.10",
3
+ "version": "0.7.11",
4
4
  "description": "Canopy CLI — create, develop and deploy Canopy projects.",
5
5
  "bin": {
6
6
  "canopy": "./dist/index.mjs"
@@ -21,7 +21,7 @@
21
21
  "hono": "^4.8.0",
22
22
  "vite-server": "npm:vite@^7",
23
23
  "@mediamonks/canopy": "0.0.4",
24
- "@mediamonks/canopy-data-plane": "0.0.2"
24
+ "@mediamonks/canopy-data-plane": "0.0.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.1",