Skip to content

fix(build): exclude prober/ from root tsconfig (unblocks Railway deploy) - #80

Merged
ralyodio merged 1 commit into
masterfrom
fix-tsconfig-exclude-prober
Jul 5, 2026
Merged

ralyodio merged 1 commit into
masterfrom
fix-tsconfig-exclude-prober

Conversation

@ralyodio

@ralyodio ralyodio commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Problem

The crawlproof.com Railway deploy (cd3f9470…) failed at build:

./prober/src/index.ts:8:58
Type error: Cannot find module 'bullmq' or its corresponding type declarations.

next build type-checks the entire repo. prober/src/index.ts imports bullmq, but that dependency lives only in the prober workspace's own node_modules (the prober is built/installed separately on the DO droplet), so the main app build can't resolve it.

Fix

Add prober to the root tsconfig.json exclude array — exactly like worker already is. Both are separately-built sibling workspaces with their own tsconfig.json + deps; the Next.js build has no business type-checking them.

npm run typecheck passes. This unblocks the crawlproof.com production deploy.

🤖 Generated with Claude Code

next build type-checks the whole repo; prober/src/index.ts imports bullmq,
which lives only in the prober workspace's own node_modules, so the main
crawlproof.com build failed with 'Cannot find module bullmq'. Exclude prober/
from the root tsconfig exactly like worker/ (both are separately-built
sibling workspaces with their own tsconfig + deps).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit 65e153b into master Jul 5, 2026
8 checks passed
@ralyodio
ralyodio deleted the fix-tsconfig-exclude-prober branch July 5, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant