mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-10 22:01:16 +00:00
fix: exclude bot/ from Next.js build and lint
tsconfig.json included **/*.ts but only excluded worker/**, not bot/**. This caused next build to type-check bot source files whose dependencies aren't installed in the root node_modules, breaking CI. - Add bot/** to tsconfig.json exclude array - Add bot/** and worker/** to eslint globalIgnores
This commit is contained in:
@@ -15,6 +15,9 @@ const eslintConfig = defineConfig([
|
||||
// Non-app scripts and seed — not part of Next.js build
|
||||
"scripts/**",
|
||||
"prisma/seed.ts",
|
||||
// Separate services with their own build
|
||||
"worker/**",
|
||||
"bot/**",
|
||||
]),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user