◐ Shell
clean mode source ↗

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:

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=errors
  • git diff --check