ray-template/harness/scopes.json
2026-11-04 16:47:18 +08:00

80 lines
2.3 KiB
JSON

{
"routing": {
"description": "页面注册、菜单、动态路由 JSON、角色与守卫",
"tests": [
"__test__/router/",
"__test__/hooks/useVueRouter.spec.ts",
"__test__/hooks/useAppNavigation.spec.ts",
"__test__/layout/preferences.spec.ts",
"__test__/cache/"
]
},
"layout": {
"description": "启动、Provider、布局、KeepAlive、Pinia 与偏好文件",
"tests": [
"__test__/app/",
"__test__/layout/",
"__test__/hooks/useAppNavigation.spec.ts",
"__test__/hooks/useLayoutScroll.spec.ts",
"__test__/hooks/useSiderBar.spec.ts",
"__test__/hooks/useTheme.spec.ts",
"__test__/cache/"
]
},
"ui": {
"description": "页面、公共组件、主题、国际化、Hooks 与指令",
"tests": [
"__test__/app/",
"__test__/components/",
"__test__/hooks/",
"__test__/layout/",
"__test__/workspace/consumer.spec.tsx"
]
},
"table-pro": {
"description": "RTablePro、useTablePro、搜索、分页、选列、导出与打印",
"tests": [
"__test__/components/table-pro.spec.ts",
"__test__/components/table-pro-search.spec.ts",
"__test__/components/table-pro-columns.spec.ts",
"__test__/components/table-pro-exports.spec.ts"
]
},
"api": {
"description": "业务 API、Axios、请求取消、拦截器与演示 Mock",
"tests": [
"__test__/axios/",
"__test__/mock/",
"__test__/workspace/http-client.spec.ts"
]
},
"utils": {
"description": "公共工具、缓存、历史密文和兼容入口",
"tests": [
"__test__/basic/",
"__test__/cache/",
"__test__/dom/",
"__test__/element/",
"__test__/precision/",
"__test__/utils-contracts/",
"__test__/vue/"
]
},
"icons": {
"description": "SVG 分包、图标名、清单生成和热更新",
"tests": ["__test__/icons/"]
},
"docs": {
"description": "VitePress、API 参考、内嵌示例、侧栏与旧页跳转",
"checks": ["docs:check"]
},
"toolchain": {
"description": "工作区、公开导出、类型检查、Vite、构建与 CI",
"checks": ["packages:check", "typecheck"]
},
"harness": {
"description": "索引、回归范围、验证命令和本地报告",
"tests": ["__test__/harness/"]
}
}