feat: integrate Sentry error tracking

- @sentry/nextjs installed and configured for client, server, and edge
- Instrumentation hook registers Sentry on Node.js and edge runtimes
- Global error boundary captures unhandled errors to Sentry
- next.config.ts wrapped with withSentryConfig (source maps disabled)
- No-op when NEXT_PUBLIC_SENTRY_DSN is not set

To enable: set NEXT_PUBLIC_SENTRY_DSN in .env.local or .env.production

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
2026-03-22 18:38:27 +01:00
parent 046d16dd97
commit ba00fd9f55
8 changed files with 1905 additions and 22 deletions
+1
View File
@@ -19,6 +19,7 @@
"@planarchy/shared": "workspace:*",
"@planarchy/ui": "workspace:*",
"@react-pdf/renderer": "^4.3.2",
"@sentry/nextjs": "^10.45.0",
"@tanstack/react-query": "^5.62.16",
"@tanstack/react-virtual": "^3.13.21",
"@trpc/client": "^11.0.0",