fix(@schematics/angular): remove unused app tsconfig outDir by cyphercodes · Pull Request #33366 · angular/angular-cli
PR Checklist
Please check to confirm your PR fulfills the following requirements:
- The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
- Tests for the changes have been added (for bug fixes / features)
- Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- Bugfix
- Feature
- Code style update (formatting, local variables)
- Refactoring (no functional changes, no api changes)
- Build related changes
- CI related changes
- Documentation content changes
- Other... Please describe:
What is the current behavior?
New applications generated by the application schematic include an outDir entry in tsconfig.app.json. This can cause a TypeScript configuration lint warning for projects generated by ng new.
Issue Number: Fixes #33360
What is the new behavior?
Generated application tsconfig.app.json files no longer include the unused outDir compiler option.
Does this PR introduce a breaking change?
- Yes
- No
Other information
Docs are not updated because this only removes an unused generated TypeScript compiler option.
Verification:
pnpm exec bazelisk test //packages/schematics/angular:test --test_output=errorsgit diff --check