@stacksjs/buddy 0.70.70 → 0.70.72
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/commands/upgrade.js +2 -1
- package/package.json +1 -1
package/dist/commands/upgrade.js
CHANGED
|
@@ -9,6 +9,7 @@ export function upgrade(buddy) {
|
|
|
9
9
|
version: "Install a specific version (e.g., 0.70.23)",
|
|
10
10
|
canary: "Upgrade to the latest canary (bleeding-edge `main`) build",
|
|
11
11
|
stable: "Switch to the latest vetted stable release",
|
|
12
|
+
dryRun: "Preview the upgrade (which dependencies would change) without writing or installing",
|
|
12
13
|
force: "Force re-download, bypassing cache and version checks",
|
|
13
14
|
from: "Sync from a local stacks checkout (e.g. ~/Code/stacks). Skips GitHub.",
|
|
14
15
|
noPostinstall: "Skip post-sync hooks (auto-imports, bun install, migrate)",
|
|
@@ -20,7 +21,7 @@ export function upgrade(buddy) {
|
|
|
20
21
|
project: "Target a specific project",
|
|
21
22
|
all: "Upgrade framework, dependencies, Bun, and binary"
|
|
22
23
|
};
|
|
23
|
-
buddy.command("upgrade", descriptions.upgrade).option("-v, --version <version>", descriptions.version).option("--canary", descriptions.canary, { default: !1 }).option("--stable", descriptions.stable, { default: !1 }).option("-f, --force", descriptions.force, { default: !1 }).option("--from <path>", descriptions.from).option("--no-postinstall", descriptions.noPostinstall).option("--verbose", descriptions.verbose, { default: !1 }).alias("update").example("buddy upgrade").example("buddy update").example("buddy upgrade --from ~/Code/stacks").example("buddy upgrade --version 0.70.23").example("buddy upgrade --canary").example("buddy upgrade --stable").example("buddy upgrade --force").action(async (options) => {
|
|
24
|
+
buddy.command("upgrade", descriptions.upgrade).option("-v, --version <version>", descriptions.version).option("--canary", descriptions.canary, { default: !1 }).option("--stable", descriptions.stable, { default: !1 }).option("--dry-run", descriptions.dryRun, { default: !1 }).option("-f, --force", descriptions.force, { default: !1 }).option("--from <path>", descriptions.from).option("--no-postinstall", descriptions.noPostinstall).option("--verbose", descriptions.verbose, { default: !1 }).alias("update").example("buddy upgrade").example("buddy update").example("buddy upgrade --from ~/Code/stacks").example("buddy upgrade --version 0.70.23").example("buddy upgrade --dry-run").example("buddy upgrade --canary").example("buddy upgrade --stable").example("buddy upgrade --force").action(async (options) => {
|
|
24
25
|
log.debug("Running `buddy upgrade` ...", options);
|
|
25
26
|
const opts = { ...options };
|
|
26
27
|
if (opts.postinstall === !1) {
|