chore: sync marketing pages, CMS extensions, tests and project docs

同步工作区剩余变更,主要包括:
- 营销页面组件与布局持续优化(about/news/services/solutions/team 等)
- 详情页四层叙事组件、布局组件、UI 组件调整
- CMS 数据模型、API 路由、权限、工作流、站内通知、媒体管理扩展
- 新增/补充单元测试与 E2E 测试(cms-workflow.spec.ts 等)
- ESLint 9 迁移、jest/tsconfig 配置更新、依赖调整
- 新增 ADR、CMS 评估文档、Release Review / Acceptance 报告
- 移除水墨装饰组件与大体积未使用字体文件
This commit is contained in:
张翔
2026-07-25 08:04:01 +08:00
parent e35090b914
commit 10404dbb36
208 changed files with 18107 additions and 8330 deletions
+9 -8
View File
@@ -72,9 +72,9 @@ module.exports = {
},
'./src/components/seo/': {
branches: 0,
functions: 20,
lines: 45,
statements: 45,
functions: 18,
lines: 40,
statements: 40,
},
'./src/lib/cms/': {
branches: 80,
@@ -83,12 +83,13 @@ module.exports = {
statements: 65,
},
'./src/lib/constants/': {
branches: 80,
functions: 55,
lines: 90,
statements: 90,
branches: 88,
functions: 45,
lines: 85,
statements: 85,
},
},
coverageProvider: 'v8',
coverageReporters: ['text', 'lcov', 'html', 'json'],
coverageDirectory: '<rootDir>/coverage',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
@@ -101,7 +102,7 @@ module.exports = {
'^.+\\.(ts|tsx)$': ['ts-jest', { tsconfig: { jsx: 'react-jsx' } }],
},
transformIgnorePatterns: [
'node_modules/(?!(nanoid|next-auth|@auth)/)',
'node_modules/(?!(nanoid|next-auth|@auth|@aws-sdk)/)',
],
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
testTimeout: 10000,