Add production observability: Sentry, pino, and sharp badge encoding.
Local Build and Deploy / deploy (push) Successful in 1m9s

Sentry is opt-in via DSN env vars; logger uses structured pino JSON in prod; badge uploads are normalized to GIF with sharp.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-17 23:09:57 +02:00
1 parent 6c81af69ea
commit 09f1bc2bd6
16 files changed
+2206 -121

No files matched your search

+4
View File
@@ -28,6 +28,7 @@
"@hookform/resolvers": "^5.4.0",
"@prisma/adapter-mariadb": "^7.8.0",
"@prisma/client": "^7.8.0",
"@sentry/nextjs": "^10.66.0",
"@tanstack/react-virtual": "^3.14.6",
"bcryptjs": "^3.0.2",
"class-variance-authority": "^0.7.1",
@@ -49,12 +50,14 @@
"next-intl": "^4.13.2",
"nodemailer": "^9.0.3",
"otplib": "^12.0.1",
"pino": "^10.3.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.81.0",
"resend": "^6.17.2",
"sanitize-html": "^2.17.6",
"server-only": "^0.0.1",
"sharp": "^0.35.3",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"tailwindcss-animate": "^1.0.7",
@@ -71,6 +74,7 @@
"@types/react-dom": "^19.2.0",
"@types/sanitize-html": "^2.16.1",
"dotenv": "^16.4.0",
"pino-pretty": "^13.1.3",
"postcss": "^8.5.19",
"prisma": "^7.8.0",
"tailwindcss": "^4.3.3",