evOo-local/packages/ui-web/package.json
Ingo Wagner bd3c6c2d47 fix(web): resolve React multi-version hook error via Vite alias
- Add Vite resolve.alias for react/react-dom to root node_modules
- Removes duplicate React instances from pnpm transitive deps
- Create E2E smoke test verifying no React hook errors
- Fix: pnpm resolves @dnd-kit deps to react@19.2.8, conflicting with
  app react@19.2.3 causing 'Invalid hook call' at runtime

Fixes: dark screen / Invalid hook call on /app
2026-09-23 13:18:08 +00:00

39 lines
955 B
JSON

{
"name": "@rakazo/ui-web",
"version": "0.1.0",
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./src/index.ts",
"./styles.css": "./src/styles.css",
"./lib/utils": "./src/lib/utils.ts",
"./components/ui/*": "./src/components/ui/*.tsx",
"./hooks/*": "./src/hooks/*.ts"
},
"scripts": {
"check": "tsc --noEmit -p tsconfig.json",
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@base-ui/react": "1.8.0",
"@rakazo/core": "workspace:*",
"@rakazo/ui-tokens": "workspace:*",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
"lucide-react": "1.44.0",
"tailwind-merge": "3.6.0",
"tw-animate-css": "1.4.0"
},
"devDependencies": {
"@types/react": "19.2.18",
"@types/react-dom": "19.2.7",
"typescript": "7.0.2",
"vitest": "4.1.11"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": "19.2.3"
}
}