Open
Conversation
- Update all @angular/* packages to v22 - Update @angular/material and @angular/cdk to v22 - Update TypeScript to v6.0 (required by Angular 22) - Update zone.js to v0.16, rxjs to v7.8 - Migrate from deprecated browser builder to @angular/build:application - Migrate serve/extract-i18n/test builders to @angular/build namespace - Remove deprecated tsconfig options (baseUrl, downlevelIteration, moduleResolution:node→bundler) - Update tsconfig targets to ES2022 - Add standalone:false to all NgModule-based components (Angular 19+ default changed) - Replace polyfills.ts file with inline zone.js array in angular.json - Remove webpack require.context from test.ts - Replace deprecated async() with waitForAsync() in test files - Add allowedCommonJsDependencies for third-party CJS packages - Disable font inlining (network not available in CI)
Copilot
AI
changed the title
feat: upgrade Angular from v13 to v22
feat: upgrade Angular 13 → 22
Jul 24, 2026
Copilot created this pull request from a session on behalf of
irustm
July 24, 2026 09:58
View session
irustm
marked this pull request as ready for review
July 24, 2026 10:55
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.
Upgrades the app from Angular 13 to Angular 22 (latest), including the full dependency chain and required code changes.
Dependencies
@angular/*packages:~13→~22typescript:~4.4→~6.0(Angular 22 requires>=6.0 <6.1)zone.js:~0.11→~0.16,rxjs:~7.4→~7.8Build (
angular.json)@angular-devkit/build-angular:browserto esbuild-based@angular/build:applicationserve,test,extract-i18n) moved to@angular/buildnamespacepolyfillschanged from a file reference to inline array:["zone.js"]allowedCommonJsDependenciesforsimplepeg,ace-builds,braceTypeScript (
tsconfig.json)baseUrl,downlevelIteration,moduleResolution: "node"→"bundler"ES2022; addeduseDefineForClassFields: falsefor decorator compatSource code
standalone: falseto all five@Componentdecorators — Angular 19 changed the default totrue, breaking NgModule-based appsasync()→waitForAsync()in spec files (removed in Angular 16)require.contextboilerplate fromtest.ts; karma now auto-discovers specs