Skip to content

chore: upgrade workspace to Angular 22 - #637

Merged
surya-pabbineedi merged 3 commits into
masterfrom
chore/upgrade-angular-22
Jul 28, 2026
Merged

chore: upgrade workspace to Angular 22#637
surya-pabbineedi merged 3 commits into
masterfrom
chore/upgrade-angular-22

Conversation

@surya-pabbineedi

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

The workspace targets Angular 21 / TypeScript 5.9, with Storybook 10.2 and Node 22.16.0. Library peerDependencies stop at Angular 21.x.

What is the new behavior?

Upgrade to Angular 22 with only migration-required companion bumps:

  • Angular / CLI / ng-packagr → 22.x
  • TypeScript → 6.0.3 (strict: false, ignoreDeprecations: "6.0" to preserve prior compile behavior)
  • CDK → 22.x
  • Storybook → 10.5.3 (Angular 22 peers)
  • angular-eslint → 22.x + ESLint 9 flat config (eslint.config.js)
  • Node (Volta + CI) → 22.22.3
  • Library peers now include 22.x
  • Angular migration adds ChangeDetectionStrategy.Eager where components previously relied on the pre-v22 default

Verified locally: yarn build:lib, yarn lint, yarn prettier:ci, and BROWSER=Electron yarn test (90/90).

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Consumers on Angular 19–21 remain supported via peer ranges. Angular 22 consumers are newly supported. No library API changes in this PR.

Other information:

  • Default yarn test uses ChromeHeadless; if Chrome fails to launch locally, use BROWSER=Electron yarn test.
  • Angular CLI notes that @angular-devkit/build-angular karma/ng-packagr builders are deprecated in favor of @angular/build:* — not migrated in this PR.

Made with Cursor

surya-pabbineedi and others added 2 commits July 22, 2026 21:34
Bump Angular, CDK, TypeScript 6, Storybook, and tooling so the library
builds and peers against Angular 22, with only migration-required changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@surya-pabbineedi surya-pabbineedi self-assigned this Jul 27, 2026
@surya-pabbineedi
surya-pabbineedi marked this pull request as ready for review July 27, 2026 04:39
- Enhanced support for Angular 22 with updated workspace and library peer dependencies.
- Updated Node.js version to 24.18.0 in both package.json and CI configuration.
@surya-pabbineedi
surya-pabbineedi merged commit 39b2a84 into master Jul 28, 2026
5 checks passed
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.

2 participants