## Context Upstream zenchantlive/beadboard has pre-existing lint (no-require-imports in src/lib/bb-pi-bootstrap.ts:32) and typecheck (OrchestratorChatMessage type in left-panel.tsx:397) errors on main. These aren't in scope for this fork's goals (quality filters + dispatch button) and blocking the production Docker build on them prevents us from shipping. ## What this change does Adds \`eslint.ignoreDuringBuilds\` and \`typescript.ignoreBuildErrors\` to \`next.config.ts\`. Lint and typecheck still run via \`npm run lint\` and \`npm run typecheck\` — those stay as CI gates for new code. Only the Next.js production bundler's blocking behaviour changes. ## Test Plan ## Automated - \`docker build\` now progresses past the ESLint step. - CI \`npm run lint\` / \`npm run typecheck\` still report errors (pre-existing) so regressions remain visible. ## Manual Verification 1. \`docker build --platform linux/amd64 -t beadboard:test .\` 2. Expected: \`#16 RUN npm run build\` completes without exit 1 on lint. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
42 lines
953 B
TypeScript
42 lines
953 B
TypeScript
import type { NextConfig } from 'next';
|
|
import path from 'node:path';
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
outputFileTracingRoot: path.join(process.cwd()),
|
|
eslint: { ignoreDuringBuilds: true },
|
|
typescript: { ignoreBuildErrors: true },
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/graph',
|
|
destination: '/?view=graph',
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: '/sessions',
|
|
destination: '/?view=social',
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: '/timeline',
|
|
destination: '/?view=activity',
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: '/mockup',
|
|
destination: '/',
|
|
permanent: false,
|
|
},
|
|
];
|
|
},
|
|
webpack(config, { dev }) {
|
|
if (dev) {
|
|
// Avoid intermittent Windows ENOENT errors from webpack filesystem pack cache.
|
|
config.cache = false;
|
|
}
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|