Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@ S3_REGION=us-east-1
# Optional: TurboWire for real-time notifications
# TURBOWIRE_URL=wss://your-turbowire-instance
# TURBOWIRE_SECRET=your-secret

# Optional: Sentry for error tracking
# SENTRY_DSN=your-dsn
# SENTRY_AUTH_TOKEN=your-token
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ sqlite

# blob
blob-data
# Sentry Config File
.env.sentry-build-plugin
1 change: 0 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
- **Real-time**: TurboWire for WebSockets
- **Email**: React Email + SMTP (nodemailer)
- **File Storage**: S3-compatible storage
- **Monitoring**: Sentry
- **Linting**: Biome
- Bun as the runtime and package manager

Expand Down
12 changes: 1 addition & 11 deletions app/global-error.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
"use client";

import * as Sentry from "@sentry/nextjs";
import NextError from "next/error";
import { useEffect } from "react";

export default function GlobalError({
error,
error: _error,
}: {
error: Error & { digest?: string };
}) {
useEffect(() => {
Sentry.captureException(error);
}, [error]);

return (
<html lang="en">
<body>
{/* `NextError` is the default Next.js error page component. Its type
definition requires a `statusCode` prop. However, since the App Router
does not expose status codes for errors, we simply pass 0 to render a
generic error message. */}
<NextError statusCode={0} />
</body>
</html>
Expand Down
470 changes: 5 additions & 465 deletions bun.lock

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions instrumentation-client.ts

This file was deleted.

13 changes: 0 additions & 13 deletions instrumentation.ts

This file was deleted.

26 changes: 1 addition & 25 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { withSentryConfig } from "@sentry/nextjs";

const nextConfig = {
typedRoutes: false,
reactCompiler: true,
Expand All @@ -12,28 +10,6 @@ const nextConfig = {
},
];
},

// output: "standalone", // Uncomment this to enable standalone mode in Docker
};

export default withSentryConfig(nextConfig, {
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,

// Only print logs for uploading source maps in CI
silent: !process.env.CI,

// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
// This can increase your server load as well as your hosting bill.
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
// side errors will fail.
tunnelRoute: "/monitoring",
disableLogger: true,
automaticVercelMonitors: false,
});
export default nextConfig;
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.3",
"@react-email/components": "^0.1.1",
"@sentry/nextjs": "^10.25.0",
"@sentry/node": "^10.25.0",
"@tanstack/react-query": "^5.71.10",
"@trpc/client": "^11.0.2",
"@trpc/server": "^11.0.2",
Expand Down Expand Up @@ -103,7 +101,5 @@
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3"
},
"trustedDependencies": [
"@sentry/cli"
]
"trustedDependencies": []
}
12 changes: 0 additions & 12 deletions sentry.edge.config.ts

This file was deleted.

11 changes: 0 additions & 11 deletions sentry.server.config.ts

This file was deleted.