claudekit-cli 3.31.0-dev.3 → 3.31.0-dev.4
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/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49626,7 +49626,7 @@ var import_fs_extra37 = __toESM(require_lib(), 1);
|
|
|
49626
49626
|
// package.json
|
|
49627
49627
|
var package_default = {
|
|
49628
49628
|
name: "claudekit-cli",
|
|
49629
|
-
version: "3.31.0-dev.
|
|
49629
|
+
version: "3.31.0-dev.4",
|
|
49630
49630
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
49631
49631
|
type: "module",
|
|
49632
49632
|
repository: {
|
|
@@ -49886,11 +49886,12 @@ async function updateCliCommand(options2) {
|
|
|
49886
49886
|
await promptKitUpdate(opts.dev || opts.beta);
|
|
49887
49887
|
return;
|
|
49888
49888
|
}
|
|
49889
|
-
|
|
49889
|
+
const isDevChannelSwitch = (opts.dev || opts.beta) && isBetaVersion(targetVersion) && !isBetaVersion(currentVersion);
|
|
49890
|
+
if (comparison > 0 && !opts.release && !isDevChannelSwitch) {
|
|
49890
49891
|
outro(`[+] Current version (${currentVersion}) is newer than latest (${targetVersion})`);
|
|
49891
49892
|
return;
|
|
49892
49893
|
}
|
|
49893
|
-
const isUpgrade = comparison < 0;
|
|
49894
|
+
const isUpgrade = comparison < 0 || isDevChannelSwitch;
|
|
49894
49895
|
const changeType = isUpgrade ? "upgrade" : "downgrade";
|
|
49895
49896
|
logger.info(`${isUpgrade ? "[^]" : "[v]"} ${changeType}: ${currentVersion} -> ${targetVersion}`);
|
|
49896
49897
|
if (opts.check) {
|