feat: 添加ESLint和Prettier配置并优化代码结构
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

style: 格式化代码文件并修复样式问题

docs: 新增部署文档和系统要求文档

test: 更新测试截图和覆盖率报告

refactor: 重构SchedulerPanel加载状态逻辑

ci: 添加lint和format脚本到package.json

build: 更新依赖项并添加开发工具

chore: 添加验证报告和上线审查计划
This commit is contained in:
iven
2026-03-26 08:02:23 +08:00
parent bf6d81f9c6
commit d0c6319fc1
286 changed files with 239803 additions and 1118 deletions

View File

@@ -28,7 +28,11 @@
"test:e2e:headed": "playwright test --project chromium-headed --headed",
"test:tauri": "playwright test --config=tests/e2e/playwright.tauri.config.ts",
"test:tauri:headed": "playwright test --config=tests/e2e/playwright.tauri.config.ts --headed",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\""
},
"dependencies": {
"@dagrejs/dagre": "^3.0.0",
@@ -53,6 +57,7 @@
"zustand": "^5.0.11"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.58.2",
"@tailwindcss/vite": "^4.2.1",
"@tauri-apps/cli": "^2",
@@ -66,11 +71,17 @@
"@vitejs/plugin-react": "^4.6.0",
"@vitest/coverage-v8": "2.1.8",
"autoprefixer": "^10.4.27",
"eslint": "^10.1.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"jsdom": "25.0.1",
"playwright": "^1.58.2",
"postcss": "^8.5.8",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^4.2.1",
"typescript": "~5.8.3",
"typescript-eslint": "^8.57.2",
"vite": "^7.0.4",
"vitest": "2.1.8"
}