fix(build): 类型检查前重建 Next 路由声明 #26
Reference in New Issue
Block a user
Delete Branch "feature/env-pipeline-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
独立路由重构迁移了原页面目录,但 Jenkins 在构建前运行 TypeScript 时复用了上一版
.next/types/validator.ts,导致引用已移除文件并拒绝新增路由。pnpm typecheck现在只清理生成的.next/types,执行next typegen后再运行 TypeScript,保留其它构建产物和现有类型保护。验证:在生成目录放入引用旧
/discover文件的过期类型夹具,确认旧检查失败;新检查成功重建类型并移除夹具。ESLint、14 项测试和生产构建通过。同步 README 检查流程。