Command
build
Description
According to @angular/core's changelog, Angular v21.2.0 added support for TypeScript v6. However, when updating TypeScript to v6 in Angular projects, there are peer dependency warnings originating from @angular/build. It seems like TypeScript v6 is not allowed as per peer dependency version range:
|
"typescript": ">=5.9 <6.0", |
When ignoring the warnings and installing TypeScript v6 nevertheless, all the commands like build, serve and test seem to work just fine.
Describe the solution you'd like
Clarify whether Angular v21.2.x officially supports TypeScript v6. If supported, the peer dependency version range should be updated to eliminate the peer dependency conflict warnings.
Describe alternatives you've considered
No response
Command
build
Description
According to
@angular/core's changelog, Angular v21.2.0 added support for TypeScript v6. However, when updating TypeScript to v6 in Angular projects, there are peer dependency warnings originating from@angular/build. It seems like TypeScript v6 is not allowed as per peer dependency version range:angular-cli/packages/angular/build/package.json
Line 77 in 22a108e
When ignoring the warnings and installing TypeScript v6 nevertheless, all the commands like build, serve and test seem to work just fine.
Describe the solution you'd like
Clarify whether Angular v21.2.x officially supports TypeScript v6. If supported, the peer dependency version range should be updated to eliminate the peer dependency conflict warnings.
Describe alternatives you've considered
No response