iter(g30): check 链并入 demo 构建并校验产物锚点

This commit is contained in:
HIsheR
2026-10-26 11:41:01 +08:00
parent 086f145b4f
commit 1a161d6e1f
9 changed files with 31 additions and 10 deletions
+8
View File
@@ -596,6 +596,14 @@
"acceptance": "carousel({ items, index, autoplay, height, label, onChange }) 横排位移 + 指示点/箭头/←→ 键切换 + 悬停暂停 + 环形回绕;组件数 39→40 三处计数同步;npm run check 全绿",
"status": "done",
"notes": "自补:组件补充;index 信号可外部受控,内部信号兜底"
},
{
"id": "g30",
"title": "check 链并入 demo 构建 + 产物锚点校验",
"motivation": "npm run check 不重建 apps/demo/dist/demo.html,改了演示页门禁照样全绿,文档站 iframe 拿到的是旧产物;verify 只查 main.ts 源码锚点,查不到产物缺块",
"acceptance": "check 链为 build → demo → style → typecheck → smoke → index → verify → lint-iterations;verify 校验产物含全部 sec-* 锚点(负向删除锚点即失败);文档四处链路描述同步;npm run check 全绿",
"status": "open",
"notes": "自补:构建/门禁工具链改进"
}
]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"$schema": "ui-arch-registry-index/0.1",
"generatedAt": "2026-10-26T03:39:41.448Z",
"generatedAt": "2026-10-26T03:40:46.247Z",
"repoRoot": ".",
"packages": [
{
@@ -1904,7 +1904,7 @@
"docs": {
"intro": "工程层工具包(private,不发布)。所有 Agent 与人都通过它读取组件库:清单驱动索引、文档、MCP 三件套,外加 style / verify 两道门禁。",
"steps": [
"装好依赖后先跑 npm run check 确认基线全绿(build → style → typecheck → smoke → index → verify)",
"装好依赖后先跑 npm run check 确认基线全绿(build → demo → style → typecheck → smoke → index → verify)",
"查组件:ua list 看全量,ua info <包名> 看单包 api 与约定",
"查令牌:ua tokens 打印全部 --ua-* 变量(颜色带暗色值),--json 输出结构化数组;写样式前先查,禁止硬编码",
"改完清单跑 npm run docs:同时刷新人类文档站与 llms-full.txt(Agent 首选喂料)",