- Complete rewrite of frontend using React 18 + TypeScript in strict mode - Implement TanStack Router for file-based routing matching URL structure - Use TanStack Query for server state management with smart caching - Replace Pinia stores with React Context API for auth and UI state - Adopt Tailwind CSS + shadcn/ui components for consistent styling - Switch from pnpm to Bun for faster package management and builds - Configure Vite to support React, TypeScript, and modern tooling - Create frontend.go with Go embed package for embedding dist/ in binary - Implement comprehensive TypeScript interfaces (strict mode, no 'any' types) - Add dark mode support throughout with Tailwind CSS dark: classes - Set up i18n infrastructure (English translations included) - Remove all Vue 3 code, components, stores, CSS, and assets - Includes 18 new files with ~2000 lines of production-ready code
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "wolk-frontend",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css,json}\"",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/match-sorter-utils": "^8.15.1",
|
|
"@tanstack/react-query": "^5.59.20",
|
|
"@tanstack/react-router": "^1.78.16",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"classnames": "^2.5.1",
|
|
"clsx": "^2.1.1",
|
|
"dayjs": "^1.11.13",
|
|
"i18next": "^24.1.0",
|
|
"lodash-es": "^4.17.21",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-hot-toast": "^2.4.1",
|
|
"react-i18next": "^15.1.2",
|
|
"tailwind-merge": "^2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tanstack/router-plugin": "^1.78.16",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^22.10.5",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"postcss": "^8.4.40",
|
|
"prettier": "^3.3.3",
|
|
"tailwindcss": "^3.4.14",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.8"
|
|
}
|
|
}
|