Sentry starter module
Source maps and releases
Maps Sentry keys, source map uploads, release tags, and Next.js configuration.
- Files
- 17
- Lines
- 1,087
- Languages
- Config + Markdown + TypeScript + JSON
Included files
This page lists paths and purposes, not source contents.
.env.example
Configuration required by this starter pack.
Config
44 lines
ADAPT.md
Give these instructions to the coding agent working in the buyer's TypeScript app.
Markdown
205 lines
app/api/sentry/reporter/route.ts
Serves the dependency-free browser reporter at GET /api/sentry/reporter.
TypeScript
17 lines
app/api/sentry/send-test/route.ts
Sends one server-side test error from POST /api/sentry/send-test.
TypeScript
33 lines
app/api/sentry/tunnel/route.ts
Mounts the first-party Sentry envelope tunnel at POST /api/sentry/tunnel.
TypeScript
3 lines
app/api/sentry/verify/route.ts
Mounts the offline Sentry pack health check at GET /api/sentry/verify.
TypeScript
7 lines
app/api/sentry/webhook/route.ts
Mounts the Sentry webhook at POST /api/sentry/webhook.
TypeScript
3 lines
app/error-test/route.ts
Serves a clickable page for sending a test server error into Sentry.
TypeScript
56 lines
OPERATIONS.md
The code handles routine captures, check-ins, signatures, duplicate deliveries, and quota guards.
Markdown
84 lines
package.json
Configuration required by this starter pack.
JSON
17 lines
README.md
This starter gives a TypeScript, Next.js-style app server error capture, browser error reporting, signed Sentry webhooks, cron check-ins, release tracking, and guarded agent diagnostics using plain Web `Request` and `Response` route handlers.
Markdown
167 lines
src/setup/check-dsn.ts
Parses the configured Sentry DSN and optionally sends one quota-spending test.
TypeScript
98 lines
src/setup/create-release.ts
Creates and finalizes a Sentry release from local environment settings.
TypeScript
146 lines
src/setup/webhook-setup.ts
Prints the manual Sentry webhook setup path and checks the local Client Secret.
TypeScript
64 lines
starter.json
Configuration required by this starter pack.
JSON
6 lines
TROUBLESHOOTING.md
Find the symptom and apply the fix first.
Markdown
117 lines
tsconfig.json
Configuration required by this starter pack.
JSON
20 lines
Questions about source maps and releases
Is this a Sentry Next.js starter?
Yes. The pack is built for Next.js apps that need browser and server error capture, readable source maps, release tags, useful alerts, noise control, and fix verification.