[DREAM-712] Support Angular v21-22 - #212
Merged
Merged
Conversation
Force updates Angular dependencies:
ng update @angular/core@22 @angular/cli@22 --force
And performs automated upgrade. Also updates angular-eslint.
https://community.openproject.org/wp/DREAM-712
🦋 Changeset detectedLatest commit: 91ca35b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Reinstates peerDependencies added in 237e789, updating for latest Angular versions. https://community.openproject.org/wp/DREAM-712
myabc
force-pushed
the
code-maintenance/angular-22
branch
from
June 8, 2026 10:27
19c61af to
91ca35b
Compare
myabc
marked this pull request as ready for review
June 8, 2026 10:27
There was a problem hiding this comment.
Pull request overview
Updates the @openproject/octicons-angular workspace configuration to build/test against Angular v22 while declaring compatibility with Angular v21–v22, aligning the Angular integration package with the repository’s release process.
Changes:
- Bump Angular Angular-package dev dependencies to
^22.0.0(includingng-packagrandangular-eslint) and update TypeScript to^6.0.3. - Update Angular peer dependency range to
>=21.0.0 <23.0.0(Angular v21–v22). - Add
angularCompilerOptions.extendedDiagnostics.checkssuppressions fornullishCoalescingNotNullableandoptionalChainNotNullableacross Angular tsconfig variants.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lib/octicons_angular/tsconfig.spec.json | Adds Angular compiler extended diagnostics suppression for spec compilation. |
| lib/octicons_angular/tsconfig.lib.prod.json | Adds extended diagnostics suppression alongside partial compilation mode. |
| lib/octicons_angular/tsconfig.lib.json | Adds extended diagnostics suppression for library compilation. |
| lib/octicons_angular/package.json | Upgrades Angular dev deps to v22, updates peer range to v21–v22, bumps TypeScript. |
| .changeset/tricky-cups-shave.md | Records a minor release note for Angular v21–v22 support. |
3 tasks
10 tasks
Collaborator
Author
|
@HDinger not sure if we need a changeset? |
Merged
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.
What are you trying to accomplish?
Upgrades
@openproject/octicons-angulardev toolchain to Angular v22 and TypeScript 6.0, and widens peer support to Angular v21–v22.^21.0.x→^22.0.0(ng update @angular/core@22 @angular/cli@22 --force)angular-eslint21.3.1→22.0.0andng-packagr^21→^22typescript^5.9.3→^6.0.3(Angular v22 prerequisite, aligns with downstream)peerDependenciesfor@angular/coreand@angular/commonto>=21.0.0 <23.0.0nullishCoalescingNotNullable/optionalChainNotNullableextended diagnostics intsconfig.lib*.json/tsconfig.spec.jsonScreenshots
No visual changes.
Integration
Downstream / related PRs:
Issues affected
https://community.openproject.org/wp/DREAM-712
Risk Assessment
What approach did you choose and why?
Used the official
ng updatemigration with--force, then reinstated the peer dependency range so consumers on Angular 21 or 22 are both supported. TypeScript 6.0.3 matches the downstream OpenProject and primer_view_components upgrades so the whole stack stays on one compiler version.Anything you want to highlight for special attention from reviewers?
Dev/build toolchain only — no runtime or generated-icon output change.
Merge checklist