Skip to content

Commit c2eefff

Browse files
committed
docs: AGENTS.md 验证路由补 typecheck/check/docs:check 命令
1 parent 80882ed commit c2eefff

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎AGENTS.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@
5151

5252
```bash
5353
# 客户端(在 client/ 目录下执行)
54-
npm run lint # Oxlint 代码检查
54+
npm run lint # Oxlint 代码检查(--deny-warnings:warning 即失败)
55+
npm run typecheck # 渲染进程 TypeScript 编译检查
56+
npm run typecheck:electron # Electron 主进程 TypeScript 编译检查
5557
npm run test # Vitest 单元测试
58+
npm run check # 聚合门禁:lint + typecheck ×2 + test
5659
npm run build # tsc -b && vite build(TypeScript 编译 + Vite 打包)
5760

5861
# Electron 桌面端构建
@@ -70,6 +73,7 @@ go build ./... && go vet ./... && go test ./...
7073
npm run build # next build(静态导出)
7174

7275
# 仓库级
76+
npm run docs:check # 文档一致性检查(链接/索引/命名,历史快照豁免见 docs/.docscheckignore)
7377
npm run release:dry # semantic-release 干跑验证(需 git 仓库)
7478
```
7579

0 commit comments

Comments
 (0)