fix(tsc): exclude generated output from workspace typechecks #3738
The root tsconfig excludes hub/insights-tests, so removing this local exclude puts those tests outside the Hub parser project. The Hub ESLint target still lints that directory, and CI now fails on its typed-linting check. Can we exclude insights-tests/ there too, or use a parser config that includes it?
 Quality Gate passed
Issues
 0 New issues
 0 Accepted issues
Measures
 0 Security Hotspots
 0.0% Coverage on New Code
 0.0% Duplication on New Code
<!-- sqra-placement-anchor -->
See analysis details on SonarQube Cloud
nixocio
nicklemmon
AAP-95380
Summary
Workspace TypeScript configs replaced the root
excludelist, so typechecks included generated output such asdistbundles. This causedtscto fail with a stack overflow. Remove the redundant workspace exclusions so the root generated-output exclusions apply.Type of Change
Risk Analysis - REQUIRED
Dependencies
None.
Testing
Automated Checks
npm run tsc -- --skip-nx-cachepassed for all 8 workspaces.Ephemeral E2E Tests
Not applicable; this change affects typecheck file selection, not UI behavior.
External Server E2E Runs
Not applicable.
Manual Testing
Not run; the full typecheck is the relevant validation for this configuration fix.
Screenshots
Not applicable.