Skip to content

chore: upgrade Angular 21 to 22#122

Open
cyongverto wants to merge 2 commits into
mainfrom
upgrade-angular-22
Open

chore: upgrade Angular 21 to 22#122
cyongverto wants to merge 2 commits into
mainfrom
upgrade-angular-22

Conversation

@cyongverto

Copy link
Copy Markdown
Contributor

Ran ng update @angular/core@22 @angular/cli@22. Applied core migrations
(ChangeDetectionStrategy.Eager on components, extended-diagnostics opt-outs
in project tsconfigs). Removed deprecated tsconfig options flagged as errors
by the bundled TypeScript 6.0 (baseUrl, downlevelIteration) and made the
paths mapping relative accordingly. Requires Node >=22.22.3; CI already runs
on Node 24. Build and all 84 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com


Stack created with GitHub Stacks CLIGive Feedback 💬

@cyongverto
cyongverto marked this pull request as ready for review July 17, 2026 16:35
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
astral-accessibility d17ad7a Commit Preview URL

Branch Preview URL
Jul 21 2026, 07:02 PM

@cyongverto
cyongverto force-pushed the upgrade-angular-21 branch from 8fe3815 to 5f29e7c Compare July 17, 2026 17:11
@cyongverto
cyongverto force-pushed the upgrade-angular-22 branch from 96c893d to 86f691b Compare July 17, 2026 17:11
@cyongverto
cyongverto force-pushed the upgrade-angular-21 branch from 5f29e7c to 4eb1b76 Compare July 21, 2026 16:38
@cyongverto
cyongverto force-pushed the upgrade-angular-22 branch from 86f691b to f047002 Compare July 21, 2026 16:38
Base automatically changed from upgrade-angular-21 to main July 21, 2026 17:10
cyongverto and others added 2 commits July 21, 2026 15:00
Ran ng update @angular/core@22 @angular/cli@22. Applied core migrations
(ChangeDetectionStrategy.Eager on components, extended-diagnostics opt-outs
in project tsconfigs). Removed deprecated tsconfig options flagged as errors
by the bundled TypeScript 6.0 (baseUrl, downlevelIteration) and made the
paths mapping relative accordingly. Requires Node >=22.22.3; CI already runs
on Node 24. Build and all 84 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- cypress/tsconfig.json: Cypress' bundled webpack preprocessor forces
  downlevelIteration into ts-loader and emits per-file. Under TS 6.0 the root
  config dragged in two fatal diagnostics — TS5101 (downlevelIteration
  deprecated) and TS5011 (outDir set without explicit rootDir). Made the
  Cypress config self-contained (no outDir) and added ignoreDeprecations 6.0.
  Verified: all 3 e2e specs (13 tests) pass locally.
- Prettier-format the 10 component files rewritten by the ChangeDetectionStrategy.Eager
  migration so the lint (prettier --check) job passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cyongverto
cyongverto force-pushed the upgrade-angular-22 branch from 781db3c to d17ad7a Compare July 21, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant