@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.
- package/dist/{deploy-BKFICJT1.mjs → deploy-BCtEY1is.mjs} +4 -1
- package/dist/{docs-Ck9xogEV.mjs → docs-BV9qhLJx.mjs} +1 -1
- package/dist/{feedback-BpiCvItH.mjs → feedback-Cb8ccQ_R.mjs} +1 -1
- package/dist/index.mjs +9 -9
- package/dist/{package-DRp7sI6i.mjs → package-BBpw-n7k.mjs} +1 -1
- package/dist/{skill-B2sDMAmv.mjs → skill-DJHlTEhS.mjs} +1 -1
- package/dist/{upgrade-tOfSmAcc.mjs → upgrade-B86Ao6T5.mjs} +1 -1
- package/package.json +2 -2
|
@@ -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`, {
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
72
|
-
promote: () => import("./deploy-
|
|
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-
|
|
75
|
-
download: () => import("./deploy-
|
|
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-
|
|
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-
|
|
83
|
-
skill: () => import("./skill-
|
|
84
|
-
upgrade: () => import("./upgrade-
|
|
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
|
-
import { t as version } from "./package-
|
|
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-
|
|
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.
|
|
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.
|
|
24
|
+
"@mediamonks/canopy-data-plane": "0.0.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^26.1.1",
|