dd46a10c20
Import wizard (4 steps): - Upload CSV with UTF-8 or Windows-1251 (iconv-lite) decoding - Auto-detect columns: Email, Имя, Фамилия, Телефон - Preview table with per-row status: new / update / error - Options: auto-verify email, assign course + access days, send welcome email - Apply: creates users with bcrypt password + Account record, grants enrollments Export: - GET /api/admin/export-users with course filter + encoding selection - UTF-8 with BOM (works in all apps) or Windows-1251 (legacy Excel) - Fields: Email, Имя, Телефон, Дата регистрации, Курсы, Прогресс Navigation: added "Импорт / Экспорт" link to admin sidebar Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "lms-sb",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --project tsconfig.json prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1025.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1025.0",
|
|
"@base-ui/react": "^1.3.0",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@kinescope/react-kinescope-player": "^0.5.4",
|
|
"@prisma/adapter-pg": "^7.6.0",
|
|
"@prisma/client": "^7.6.0",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@tiptap/extension-image": "^3.22.2",
|
|
"@tiptap/extension-link": "^3.22.2",
|
|
"@tiptap/extension-placeholder": "^3.22.2",
|
|
"@tiptap/extension-underline": "^3.22.2",
|
|
"@tiptap/pm": "^3.22.2",
|
|
"@tiptap/react": "^3.22.2",
|
|
"@tiptap/starter-kit": "^3.22.2",
|
|
"bcryptjs": "^3.0.3",
|
|
"better-auth": "^1.6.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"gray-matter": "^4.0.3",
|
|
"iconv-lite": "^0.7.2",
|
|
"lucide-react": "^1.7.0",
|
|
"next": "16.2.2",
|
|
"next-themes": "^0.4.6",
|
|
"pg": "^8.20.0",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"remark-parse": "^11.0.0",
|
|
"resend": "^6.10.0",
|
|
"shadcn": "^4.1.2",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"unified": "^11.0.5",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"dotenv": "^17.4.1",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.2",
|
|
"prisma": "^7.6.0",
|
|
"tailwindcss": "^4",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|