Skip to content

fix(@schematics/angular): remove unused spec tsconfig outDir#33564

Merged
dgp1130 merged 1 commit into
angular:mainfrom
Teamop:fix/remove-spec-tsconfig-outdir
Jul 14, 2026
Merged

fix(@schematics/angular): remove unused spec tsconfig outDir#33564
dgp1130 merged 1 commit into
angular:mainfrom
Teamop:fix/remove-spec-tsconfig-outdir

Conversation

@Teamop

@Teamop Teamop commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

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.spec.json. This can cause a TypeScript configuration lint warning for projects generated by ng new.

Issue Number: #33360

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Similar with PR #33366, but remove from tsconfig.spec.json

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the outDir property from the compilerOptions in the tsconfig.spec.json.template file. Additionally, the corresponding unit test in index_spec.ts has been updated to verify that compilerOptions.outDir is indeed undefined. There are no review comments to address, and the changes look correct.

@clydin clydin added target: minor This PR is targeted for the next minor release action: merge The PR is ready for merge by the caretaker labels Jul 14, 2026
@dgp1130
dgp1130 merged commit b345bb5 into angular:main Jul 14, 2026
42 checks passed
@dgp1130

dgp1130 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

@Teamop
Teamop deleted the fix/remove-spec-tsconfig-outdir branch July 15, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants