Repository navigation
refactor: 指令系统重构为统一注册表并迁移组件仓库评论指令 - #176
Open
liweijie0812 wants to merge 4 commits into
Open
liweijie0812 wants to merge 4 commits into
liweijie0812 wants to merge 4 commits into
Conversation
liweijie0812
commented
Oct 29, 2026
Member
- 新增 src/commands 统一指令注册与分发,仓库差异收敛到各仓库模块 repoConfig
- common 触发 /pr-* 路由到目标仓库模块,实际执行 updateCommonAndCreatePr
- 迁移组件仓库旧 workflow 指令: /update-common [pr_number] /update-snapshot /update-coverage
- GitHelper 新增 mergeWithStrategy / checkoutSubmodulePr / commitAll / pushToRepo
- 评论解析支持指令参数与 comment_id,触发时添加 🚀 reaction
- 更新构建产物
- 新增 src/commands 统一指令注册与分发,仓库差异收敛到各仓库模块 repoConfig - common 触发 /pr-* 路由到目标仓库模块,实际执行 updateCommonAndCreatePr - 迁移组件仓库旧 workflow 指令: /update-common [pr_number] /update-snapshot /update-coverage - GitHelper 新增 mergeWithStrategy / checkoutSubmodulePr / commitAll / pushToRepo - 评论解析支持指令参数与 comment_id,触发时添加 🚀 reaction - 更新构建产物
- icons.ts 变纯路由,实际执行移至各目标仓库模块 updateIconsAndCreatePr - iconsPackage 从 targetRepoProfiles 移入各仓库 repoConfig - icons 流程行为对齐 common: merged 拦截、changelog 带 icons PR 链接、await createPR、成功/no-op 回评 - common 流程 no-op 时回评子模块已是最新 - 指令失败时设置 process.exitCode 使工作流红 CI - 更新构建产物
- 新增主仓模块 site.ts (注册 tdesign),/pr-* 路由到目标仓库 updateSiteDepsAndCreatePr - 新增 operations/update-site-deps.ts: 到组件仓库升级 @tdesign/site-components 与 @tdesign/theme-generator 并新建 PR - utils 新增 bumpSiteDeps: pnpm catalogs 仓库重写 workspace 清单,普通 pnpm 递归更新,npm 仓库走 ncu - repoConfig 新增 siteDeps 配置,六个组件仓库模块统一填值 - PR 标题统一 chore: upgrade tdesign site deps - 更新构建产物
liweijie0812
force-pushed
the
refactor/command-registry
branch
from
October 29, 2026 16:07
7c81676 to
27e90ff
Compare
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.