refactor(v5): migrate frontend from JSX to TypeScript

Convert all v5 JS/JSX source files to TS/TSX, add tsconfig.json,
install typescript and @types/react* dev deps, add typecheck npm
script, create types.ts with shared prop types, and update Tailwind
CSS source glob and shadcn components.json to include TS extensions.
This commit is contained in:
Andras Bacsai committed 2026-06-16 20:15:36 +02:00
1 parent 859a701669
commit 790bd2e28c
23 files changed
+442 -320

No files matched your search

+5 -1
View File
@@ -4,16 +4,20 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@tailwindcss/postcss": "4.1.18",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"laravel-vite-plugin": "2.0.1",
"postcss": "8.5.15",
"shadcn": "^4.11.0",
"tailwind-scrollbar": "4.0.2",
"tailwindcss": "4.1.18",
"typescript": "^6.0.3",
"vite": "7.3.2"
},
"dependencies": {