🚀 feat(cli): 版本联动制——CLI pin Core + update 整体更新与生效验证 - #53
Merged
Conversation
- CLI 依赖 Core 改为精确 pin(3.7.2),Core/Template 发版必带 CLI patch 联动发布 - update --check/--cli/--core 统一为整体更新:npm i -g CLI@latest,安装后校验全局生效 Core 版本,失败 exit 1 并给手动重装命令;CLI 已最新但 Core 依赖树异常时先卸再装强制重建 - version 输出 Core Range -> Core Pinned - workspace-version:set-core 联动同步 CLI pin+lockfile,check 强制 pin 与 Core 精确一致 - 文档/模板全量对齐联动口径:升级指南(zh/en)、使用说明(zh/en)、kb-upgrade SKILL(zh/en)、update-check hook(zh/en)、统一入口规则(zh/en)、本仓 topics - 版本:CLI 3.6.2 / Core 3.7.2 / Template 3.6.2;npm test 14 项全绿
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
用户实测
flow2spec update --core假成功:npm 全局嵌套依赖遮蔽导致顶级孤儿 Core 永不生效,且旧实现无生效验证。方案:版本联动制
update --check/--cli/--core统一为整体更新,安装后校验全局生效 Core 版本,失败 exit 1 给手动命令;依赖树异常时先卸再装强制重建version输出 Core Range → Core Pinned版本
CLI 3.6.2 / Core 3.7.2 / Template 3.6.2
验证