Compare commits

..

No commits in common. "314ade1457b42c973bc1254a6219c63a83089f8a" and "e5f0bd05950cad5cc529167f4153f9d20c57824a" have entirely different histories.

7 changed files with 31 additions and 74 deletions

BIN
bun.lockb

Binary file not shown.

@ -15,9 +15,6 @@ ENV NODE_ENV production
ARG GIT_REV ARG GIT_REV
ENV GIT_REV=${GIT_REV} ENV GIT_REV=${GIT_REV}
ARG SENTRY_AUTH_TOKEN
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
# Copy the depends # Copy the depends
COPY --from=depends /app/package.json* /app/bun.lockb* ./ COPY --from=depends /app/package.json* /app/bun.lockb* ./
COPY --from=depends /app/node_modules ./node_modules COPY --from=depends /app/node_modules ./node_modules

@ -41,42 +41,24 @@ const withBundleAnalyzer = nextBundleAnalyzer({
enabled: process.env.ANALYZE === "true", enabled: process.env.ANALYZE === "true",
}); });
export default withSentryConfig(withBundleAnalyzer(nextConfig), { export default withBundleAnalyzer(
// For all available options, see: withSentryConfig(nextConfig, {
// https://github.com/getsentry/sentry-webpack-plugin#options org: "scoresaber-reloaded",
project: "frontend",
org: "fascinatedcc", sentryUrl: "https://glitchtip.fascinated.cc/",
project: "scoresaber-reloaded",
// Only print logs for uploading source maps in CI
silent: !process.env.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,
// Automatically annotate React components to show their full name in breadcrumbs and session replay
reactComponentAnnotation: { reactComponentAnnotation: {
enabled: true, enabled: 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", tunnelRoute: "/monitoring",
// Hides source maps from generated client bundles
hideSourceMaps: true, hideSourceMaps: true,
// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true, disableLogger: true,
sourcemaps: {
// Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.) disable: true,
// See the following for more information: },
// https://docs.sentry.io/product/crons/ release: {
// https://vercel.com/docs/cron-jobs create: false,
automaticVercelMonitors: true, finalize: false,
}); },
})
);

@ -24,7 +24,7 @@
"@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1", "@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-tooltip": "^1.1.2", "@radix-ui/react-tooltip": "^1.1.2",
"@sentry/nextjs": "8", "@sentry/nextjs": "8.35.0",
"@ssr/common": "workspace:*", "@ssr/common": "workspace:*",
"@tanstack/react-query": "^5.55.4", "@tanstack/react-query": "^5.55.4",
"@uidotdev/usehooks": "^2.4.1", "@uidotdev/usehooks": "^2.4.1",

@ -5,24 +5,8 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
Sentry.init({ Sentry.init({
dsn: "https://2b0d6c2e72099dee7db2ce9c030651bd@o4508202509205504.ingest.de.sentry.io/4508202511302736", dsn: "https://69aed8b4a32e45db8fcb1b4285b4370f@glitchtip.fascinated.cc/13",
tracesSampleRate: 0.1,
// Add optional integrations for additional features
integrations: [
Sentry.replayIntegration(),
],
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Define how likely Replay events are sampled.
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,
enabled: process.env.NODE_ENV === "production",
}); });

@ -6,11 +6,8 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
Sentry.init({ Sentry.init({
dsn: "https://2b0d6c2e72099dee7db2ce9c030651bd@o4508202509205504.ingest.de.sentry.io/4508202511302736", dsn: "https://69aed8b4a32e45db8fcb1b4285b4370f@glitchtip.fascinated.cc/13",
tracesSampleRate: 0.1,
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,
enabled: process.env.NODE_ENV === "production",
}); });

@ -5,11 +5,8 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
Sentry.init({ Sentry.init({
dsn: "https://2b0d6c2e72099dee7db2ce9c030651bd@o4508202509205504.ingest.de.sentry.io/4508202511302736", dsn: "https://69aed8b4a32e45db8fcb1b4285b4370f@glitchtip.fascinated.cc/13",
tracesSampleRate: 0.1,
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,
enabled: process.env.NODE_ENV === "production",
}); });