1eba2ee59b
- Vite 7 + React 19 + TanStack Router (file-based) + TanStack Query - Tailwind v4 (CSS-first config, OKLCH brand colors) - i18next + react-i18next с RU/EN switcher в header - Axios client с Accept-Language interceptor + JWT placeholder - 2 pages: /dictionaries (list cards) + /dictionaries/$name (records table) - Dockerfile (node build + nginx serving + API proxy) - README + .gitignore Backend: - Новый GET /api/v1/dictionaries в read-api (DictionaryListController), фильтрует по доступному scope через ScopeContext - DictionaryListItem DTO без heavy schema_json routeTree.gen.ts — stub; реальное содержимое генерится Vite plugin'ом при первом 'pnpm dev'.
32 lines
821 B
JSON
32 lines
821 B
JSON
{
|
|
"name": "ordinis-admin-ui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview --host 0.0.0.0 --port 4173"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.62.0",
|
|
"@tanstack/react-router": "^1.86.0",
|
|
"axios": "^1.7.9",
|
|
"i18next": "^24.0.5",
|
|
"i18next-browser-languagedetector": "^8.0.2",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-i18next": "^15.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tanstack/router-vite-plugin": "^1.86.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"tailwindcss": "^4.0.0-beta.7",
|
|
"@tailwindcss/vite": "^4.0.0-beta.7",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.0.5"
|
|
}
|
|
}
|