fix(build): 类型检查前重建 Next 路由声明
- 清理过期的生产路由类型并执行 next typegen,避免 CI 引用迁移前页面 - 同步 README,使用过期类型夹具复现失败并验证检查可恢复
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
"start:develop": "APP_ENV=develop APP_ENV_LABEL=测试环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3501/api ROLE_USER_SESSION_COOKIE=role_user_session_develop next start -p 3211",
|
||||
"start:prod": "APP_ENV=production APP_ENV_LABEL=生产环境 ACCESS_MANAGE_API_BASE_URL=http://127.0.0.1:3500/api ROLE_USER_SESSION_COOKIE=role_user_session next start -p 3210",
|
||||
"lint": "eslint",
|
||||
"typecheck": "tsc --noEmit --incremental false"
|
||||
"typecheck": "node -e \"require('node:fs').rmSync('.next/types', { recursive: true, force: true })\" && next typegen && tsc --noEmit --incremental false"
|
||||
},
|
||||
"dependencies": {
|
||||
"lucide-react": "^0.511.0",
|
||||
|
||||
Reference in New Issue
Block a user