- Create apply-migrations.ts and jobs-worker.ts scripts (package.json references) - Convert badge leaderboard from $queryRawUnsafe to $queryRaw with Prisma.sql templates - Fix OAuth email binding: add oauth_require_link site setting, skip 2FA-protected accounts - Add per-user 2FA rate limiting (5/30s) to prevent TOTP brute-force - Add structured JSON logger with levels (debug/info/warn/error) - Split 341-line HomePage into GuestView + UserView components - Add OpenAPI v3.1 spec at /api/openapi.json - Add LOG_LEVEL env var, regenerate Prisma client - Add mysql2 dependency for migration scripts - All 58 tests pass, typecheck clean
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "atomcms-next",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"packageManager": "[email protected]",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"prisma:generate": "prisma generate",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"db:migrate": "tsx scripts/apply-migrations.ts",
|
|
"db:migrate:status": "tsx scripts/apply-migrations.ts --status",
|
|
"jobs:worker": "tsx scripts/jobs-worker.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/adapter-mariadb": "^7.8.0",
|
|
"@prisma/client": "^7.8.0",
|
|
"bcryptjs": "^3.0.2",
|
|
"croner": "^10.0.1",
|
|
"hash-wasm": "^4.12.0",
|
|
"ioredis": "^5.11.1",
|
|
"jszip": "^3.10.1",
|
|
"lucide-react": "^1.23.0",
|
|
"mysql2": "^3.22.6",
|
|
"next": "^16.2.10",
|
|
"next-auth": "5.0.0-beta.31",
|
|
"next-intl": "^4.13.1",
|
|
"nodemailer": "^9.0.3",
|
|
"otplib": "^12.0.1",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"resend": "^6.17.1",
|
|
"sanitize-html": "^2.17.5",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.11",
|
|
"@tailwindcss/postcss": "^4.3.2",
|
|
"@tailwindcss/typography": "^0.5.20",
|
|
"@types/node": "^22.10.0",
|
|
"@types/nodemailer": "^6.4.0",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@types/sanitize-html": "^2.16.1",
|
|
"dotenv": "^16.4.0",
|
|
"postcss": "^8.5.16",
|
|
"prisma": "^7.8.0",
|
|
"tailwindcss": "^4.3.2",
|
|
"tsx": "^4.22.5",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^2.1.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"prisma",
|
|
"@prisma/client",
|
|
"@prisma/engines"
|
|
]
|
|
}
|
|
}
|