@zhuan-ai/zhuanspec 2.12.12 → 2.14.0
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/core/hooks/init.js +1 -1
- package/package.json +1 -1
package/dist/core/hooks/init.js
CHANGED
|
@@ -44,7 +44,7 @@ async function checkVersionUpdate() {
|
|
|
44
44
|
const isOutdated = lM !== cM ? lM > cM : lm !== cm ? lm > cm : lp > cp;
|
|
45
45
|
if (!isOutdated)
|
|
46
46
|
return `✓ ZhuanSpec v${current} 已是最新版本,开始 happy coding 吧~`;
|
|
47
|
-
return `⚠️ ZhuanSpec 版本过旧!\n 当前版本: v${current} → 最新版本: v${latest}\n 请执行: 1) npm i -g @zhuan-ai/zhuanspec 2) zhuanspec init(同步最新模板到本项目)`;
|
|
47
|
+
return `⚠️ ZhuanSpec 版本过旧!\n 当前版本: v${current} → 最新版本: v${latest}\n 请执行: 1) npm i -g @zhuan-ai/zhuanspec@latest 2) zhuanspec update / init(同步最新模板到本项目)`;
|
|
48
48
|
}
|
|
49
49
|
catch {
|
|
50
50
|
return null;
|