feat: 🎸 upgrade to Angular v21#746
Open
chimurai wants to merge 10 commits into
Open
Conversation
BREAKING CHANGE: 🧨 Angular 21
keep zoneless
zoneless: false
The root package uses vite 7.3.2 (from @angular/build), while vitest 4.x internally requires vite 8.x. This loads two incompatible rolldown native bindings (1.0.0-rc.4 and 1.0.1) into the same process, causing the SIGSEGV on MacOS
Angular migration scripts uses prettier to format JSON. With forced typescript parser, formatting JSON fails: "package.json: ReferenceError: convertToJson is not defined"
|
|
"yarn test" fails TS5103: Invalid value for '--ignoreDeprecations'.
@angular/build@^21.2.11 pinned rolldown to "1.0.0-rc.4" which caused SIGSEGV on MacOS
chimurai
commented
May 19, 2026
| "zone.js": "^0.16.2" | ||
| }, | ||
| "resolutions": { | ||
| "rolldown": "^1.0.1" |
Contributor
Author
There was a problem hiding this comment.
"@angular/build": "^21.2.11" pinned "rolldown": "1.0.0-rc.4" which conflicts with stable: rolldown@^1.0.1
https://www.npmjs.com/package/@angular/build/v/21.2.11?activeTab=code
This resolution can be removed once angular is on stable version of rolldown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: 🧨 Angular 21
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Angular 20
Issue Number: N/A
What is the new behavior?
Angular 21
Does this PR introduce a breaking change?
Angular 21
Other information