mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-28 20:01:17 +08:00
feat: 更新依赖项,提升 TypeScript 和 Playwright 测试库版本,支持 Node.js 18+
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
"@docusaurus/tsconfig": "^3.5.2",
|
||||
"@docusaurus/types": "^3.5.2",
|
||||
"@types/react": "^18.3.12",
|
||||
"typescript": "~5.5.4"
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
@@ -54,11 +54,11 @@
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^2.5.0",
|
||||
"web-vitals": "^5.1.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod": "^4.1.13",
|
||||
"zustand": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.40.0",
|
||||
"@playwright/test": "^1.57.0",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@testing-library/user-event": "^14.0.0",
|
||||
@@ -75,7 +75,7 @@
|
||||
"tailwindcss": "^3.4.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "^5.6.0",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^6.0.0",
|
||||
"vitest": "^2.0.0"
|
||||
}
|
||||
|
||||
@@ -6,27 +6,21 @@
|
||||
"author": "CCW Team",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"workspaces": [
|
||||
"frontend",
|
||||
"docs-site"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "npm run dev --workspace=frontend",
|
||||
"dev:docs": "npm run start --workspace=docs-site",
|
||||
"dev": "cd frontend && npm run dev",
|
||||
"dev:docs": "cd docs-site && npm run start",
|
||||
"dev:all": "concurrently \"npm run dev\" \"npm run dev:docs\" --names \"FRONTEND,DOCS\" --prefix-colors \"blue,green\"",
|
||||
"build": "npm run build --workspace=docs-site && npm run build --workspace=frontend",
|
||||
"build:frontend": "npm run build --workspace=frontend",
|
||||
"build:docs": "npm run build --workspace=docs-site",
|
||||
"clean": "npm run clean --workspace=frontend && npm run clean --workspace=docs-site",
|
||||
"clean:node_modules": "npm exec --workspaces -- rm -rf node_modules",
|
||||
"lint": "npm run lint --workspace=frontend",
|
||||
"lint:fix": "npm run lint:fix --workspace=frontend",
|
||||
"test": "npm run test --workspace=frontend",
|
||||
"test:coverage": "npm run test:coverage --workspace=frontend",
|
||||
"test:e2e": "npm run test:e2e --workspace=frontend",
|
||||
"validate": "npm run validate:i18n --workspace=frontend",
|
||||
"serve": "npm run serve --workspace=docs-site",
|
||||
"preview": "npm run preview --workspace=frontend"
|
||||
"build": "cd docs-site && npm run build && cd ../frontend && npm run build",
|
||||
"build:frontend": "cd frontend && npm run build",
|
||||
"build:docs": "cd docs-site && npm run build",
|
||||
"lint": "cd frontend && npm run lint",
|
||||
"lint:fix": "cd frontend && npm run lint:fix",
|
||||
"test": "cd frontend && npm run test",
|
||||
"test:coverage": "cd frontend && npm run test:coverage",
|
||||
"test:e2e": "cd frontend && npm run test:e2e",
|
||||
"validate": "cd frontend && npm run validate:i18n",
|
||||
"serve": "cd docs-site && npm run serve",
|
||||
"preview": "cd frontend && npm run preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^9.1.2"
|
||||
|
||||
Reference in New Issue
Block a user