- Created migration-actions.ts with server actions for claiming lists - Added ClaimListsModal component for UI during registration - Integrated claim modal into RegisterForm - Created anonymous-lists.ts utilities for tracking lists in localStorage - Added migrate-lists.ts script for deployment migration - Created comprehensive MIGRATION_GUIDE.md documentation - Added migration tests with 100% pass rate - Updated package.json with db:migrate script - Added tsx as dev dependency for running migration scripts Requirements: 10.2, 10.3, 10.4, 10.5 - Users can claim existing lists on first registration - All list data is preserved during migration - All lists have an owner after migration - Migrated lists appear in user's account
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "ultimate-lists-app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test": "vitest --run",
|
|
"test:watch": "vitest",
|
|
"db:push": "prisma db push",
|
|
"db:studio": "prisma studio",
|
|
"db:migrate": "npx tsx scripts/migrate-lists.ts",
|
|
"icons:generate": "node scripts/generate-icons.js",
|
|
"icons:info": "node scripts/svg-to-png.js"
|
|
},
|
|
"dependencies": {
|
|
"@auth/prisma-adapter": "^2.11.1",
|
|
"@prisma/client": "^5.7.1",
|
|
"bcryptjs": "^3.0.3",
|
|
"lucide-react": "^0.294.0",
|
|
"mysql2": "^3.15.3",
|
|
"next": "14.0.4",
|
|
"next-auth": "^5.0.0-beta.30",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"zod": "^4.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@vitest/ui": "^4.0.14",
|
|
"autoprefixer": "^10.0.1",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "14.0.4",
|
|
"postcss": "^8",
|
|
"prisma": "^5.7.1",
|
|
"tailwindcss": "^3.3.0",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5",
|
|
"vitest": "^4.0.14"
|
|
}
|
|
}
|