@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.
- package/dist/{deploy-y75cgauK.mjs → deploy-BKFICJT1.mjs} +2 -1
- package/dist/{docs-VmcoH1An.mjs → docs-Ck9xogEV.mjs} +1 -1
- package/dist/{feedback-DUuWXS_D.mjs → feedback-BpiCvItH.mjs} +1 -1
- package/dist/index.mjs +9 -9
- package/dist/{package-CGrKr6IT.mjs → package-DRp7sI6i.mjs} +1 -1
- package/dist/{skill-CZP1AqQX.mjs → skill-B2sDMAmv.mjs} +1 -1
- package/dist/{upgrade-CmhSO_r6.mjs → upgrade-tOfSmAcc.mjs} +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
72
|
-
promote: () => import("./deploy-
|
|
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-
|
|
75
|
-
download: () => import("./deploy-
|
|
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-
|
|
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-
|
|
83
|
-
skill: () => import("./skill-
|
|
84
|
-
upgrade: () => import("./upgrade-
|
|
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
|
-
import { t as version } from "./package-
|
|
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-
|
|
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);
|