merge: merge color-heading-optimization into feat-init

- Add color contrast optimization and checking tools
- Add heading hierarchy guidelines and checker
- Resolve package-lock.json conflict (keeping feat-init version)
This commit is contained in:
张翔
2026-03-07 10:47:43 +08:00
16 changed files with 218 additions and 8 deletions
+4
View File
@@ -10,6 +10,8 @@
"test": "playwright test",
"test:smoke": "playwright test --grep @smoke",
"test:report": "allure generate test-results/allure-results && allure open",
"check:contrast": "tsx scripts/check-color-contrast.ts",
"check:headings": "tsx scripts/check-heading-hierarchy.ts",
"audit:performance": "node scripts/performance-audit.js",
"audit:seo": "node scripts/seo-check.js",
"audit:accessibility": "node scripts/accessibility-test.js",
@@ -19,6 +21,7 @@
},
"dependencies": {
"@antv/g2": "^5.4.8",
"@playwright/test": "^1.58.2",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@types/three": "^0.183.1",
@@ -48,6 +51,7 @@
"eslint-config-next": "^0.2.4",
"lighthouse": "^13.0.3",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5"
}
}