Removal across all three consumers: - apps/storybook: strips @repo/core-ui dep, clears stories glob (now []), removes globals.css import from preview.ts - apps/web-next: strips @repo/core-ui dep + transpilePackages entry - apps/web-tanstack: strips @repo/core-ui dep - packages/core-ui: deleted entirely (28 files) No app pages needed surgery — neither web-next nor web-tanstack source files imported @repo/core-ui directly. The storybook app referenced it only via the stories glob and the globals.css preview import. Gates: 40/40 tasks successful, all 4 e2e byte-identical reconstructions pass (realtime, events, trpc, ui). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
645 B
JavaScript
26 lines
645 B
JavaScript
import { withSentryConfig } from "@sentry/nextjs";
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: [
|
|
"@repo/auth",
|
|
"@repo/blog",
|
|
"@repo/core-api",
|
|
"@repo/core-cms",
|
|
"@repo/core-shared",
|
|
"@repo/marketing-pages",
|
|
"@repo/media",
|
|
"@repo/navigation",
|
|
],
|
|
};
|
|
|
|
export default withSentryConfig(nextConfig, {
|
|
// R52 — token is build-time only; CI sets SENTRY_AUTH_TOKEN
|
|
silent: process.env.CI !== "true",
|
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
|
org: process.env.SENTRY_ORG,
|
|
project: process.env.SENTRY_PROJECT_WEB_NEXT,
|
|
hideSourceMaps: true,
|
|
disableLogger: true,
|
|
});
|