Files
Edu/apps/teacher-portal/size-limit.json
SpecialX 0b42302a64 docs(admin-portal): 新增 nextstep-v2.md 记录下游核查结果
v1 声称完成的下游工作经核查实际未完成:
- api-gateway: /api/admin/graphql 路由未注册,go vet 编译失败
- teacher-bff: resolver 已完成但 schema 未同步(命名空间 vs 扁平)
- iam: proto 缺 BatchGetUsers rpc 声明

v2 记录详细核查证据和修复要求
2026-07-14 08:26:27 +08:00

71 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://raw.githubusercontent.com/ai/size-limit/main/schema.json",
"name": "teacher-portal bundle size limits",
"description": "P6 性能预算Shell <150KB / Remote <80KB / CSS <50KB路由 First Load JS 限额",
"checks": [
{
"name": "Shell (main bundle)",
"path": ".next/static/chunks/main-*.js",
"limit": "150 KB",
"gzip": true
},
{
"name": "Remote entry",
"path": ".next/static/chunks/remoteEntry-*.js",
"limit": "80 KB",
"gzip": true
},
{
"name": "CSS",
"path": ".next/static/css/*.css",
"limit": "50 KB",
"gzip": true
},
{
"name": "Route / (首页)",
"path": [
".next/static/chunks/app/(app)/page-*.js",
".next/static/chunks/app/page-*.js"
],
"limit": "90 KB",
"gzip": true
},
{
"name": "Route /grades/analytics (成绩分析)",
"path": ".next/static/chunks/app/(app)/grades/analytics/**/*.js",
"limit": "130 KB",
"gzip": true
},
{
"name": "Route /knowledge-graph (知识图谱)",
"path": ".next/static/chunks/app/(app)/knowledge-graph/**/*.js",
"limit": "120 KB",
"gzip": true
},
{
"name": "Route /questions (题目管理)",
"path": ".next/static/chunks/app/(app)/questions/**/*.js",
"limit": "130 KB",
"gzip": true
},
{
"name": "Route /lesson-plans/heatmap (热力图)",
"path": ".next/static/chunks/app/(app)/lesson-plans/heatmap/**/*.js",
"limit": "130 KB",
"gzip": true
},
{
"name": "Route /grades (成绩查询)",
"path": ".next/static/chunks/app/(app)/grades/page-*.js",
"limit": "130 KB",
"gzip": true
},
{
"name": "Route /settings (设置)",
"path": ".next/static/chunks/app/(app)/settings/**/*.js",
"limit": "130 KB",
"gzip": true
}
]
}