Monorepo 500k lines slow builds, type errors, refactors. Config, tooling, patterns?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hey Lucas, Config:
strict: true,isolatedModules,incremental: true. Tools: tsc –build + ESLint + Volar for speed. Patterns: Explicit types on public APIs, infer internals. Build time 12min → 3min.Large codebase: Project references + composite: true. Lint: no-explicit-any, no-unnecessary-condition. VS Code: typescript.tsserver.log: verbose for perf issues. Refactor: Codemods + tests. Strict mode + exactOptionalPropertyTypes. 800k lines, 0.5s typecheck.