fix(deps): HIGH priority testing library and Storybook standardization

All HIGH priority fixes from comprehensive dependency audit (Jan 23, 2026):

Testing Libraries (4 packages):
- pastebin: @testing-library/react v14 → v16, jest-dom 6.1 → 6.6
- redux/hooks-async: @testing-library/react v14 → v16 (added), jest-dom 6.6 (added)
- workflow: jest 29.0.0 → 29.7.0
- codegen/spark-tools: vitest 3.0.9 → 4.0.16

Storybook Configuration (2 packages):
- storybook: Standardized addon versions (react-vite, test, essentials, interactions all 8.6.15)
  - Fixed React type mismatch (@types/react 19 → 18 to match runtime 18.3.1)
- workflowui: Fixed React type mismatch (@types/react 19 → 18, @types/react-dom 19 → 18)

Verification: npm install succeeds (1197 packages, 0 vulnerabilities)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-24 00:13:25 +00:00
parent b3c7015a4e
commit 9a6d93ef44
6 changed files with 12 additions and 11 deletions

View File

@@ -97,7 +97,7 @@
"rollup-plugin-delete": "^3.0.1",
"tslib": "^2.8.1",
"ulid": "^3.0.0",
"vitest": "^3.0.9",
"vitest": "^4.0.16",
"zod": "^3.24.2"
},
"peerDependencies": {

View File

@@ -44,8 +44,8 @@
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.11",
"@types/node": "^20",

View File

@@ -17,7 +17,8 @@
"@reduxjs/toolkit": "^2.5.2"
},
"devDependencies": {
"@testing-library/react": "^14.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.11",
"@types/react": "^19.0.0",

View File

@@ -19,14 +19,14 @@
"devDependencies": {
"@storybook/addon-essentials": "^8.6.15",
"@storybook/addon-interactions": "^8.6.15",
"@storybook/react": "^10.1.11",
"@storybook/react-vite": "^10.1.11",
"@storybook/react": "^8.6.15",
"@storybook/react-vite": "^8.6.15",
"@storybook/test": "^8.6.15",
"@types/react": "^19.2.8",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^5.1.2",
"sass": "^1.83.5",
"storybook": "^10.1.11",
"storybook": "^8.6.15",
"typescript": "^5.9.3",
"vite": "^7.3.1"
}

View File

@@ -56,7 +56,7 @@
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},

View File

@@ -43,8 +43,8 @@
"@testing-library/react": "^16.3.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.5",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"concurrently": "^9.1.0",
"jest": "^29.7.0",
"typescript": "~5.9.3"