Skip to content

build(deps): update workspace to Angular 22#341

Merged
hjalmers merged 3 commits into
mainfrom
claude/serene-fermat-1ywSz
Jun 5, 2026
Merged

build(deps): update workspace to Angular 22#341
hjalmers merged 3 commits into
mainfrom
claude/serene-fermat-1ywSz

Conversation

@hjalmers

@hjalmers hjalmers commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrades the workspace from Angular 21 to Angular 22 via the official ng update flow, plus the necessary follow-ups and a docs refresh.

Dependency upgrade

  • ng update @angular/core@22 @angular/cli@22 — all @angular/*, @angular-devkit/build-angular, @angular/compiler-cli, and ng-packagr to 22.0.0.
  • TypeScript 5.9 → 6.0.3 (required by Angular 22).
  • @analogjs/vite-plugin-angular / @analogjs/vitest-angular^2.6.0 (older peer range excluded Angular 22).
  • Raised engines Node floor to ^22.22.3 (Angular CLI 22 minimum).

Migration follow-ups

  • Added "ignoreDeprecations": "6.0" to the root tsconfig — TS 6.0 now errors on baseUrl/downlevelIteration; removing baseUrl would have broken the docs app's paths resolution.
  • Resolved the safe-navigation migration placeholder in core.component.html by unwrapping $safeNavigationMigration(transform?.args) to transform.args (transform is guaranteed truthy in those templates, matching the existing transform.pipe usage).
  • Schematics added ChangeDetectionStrategy.Eager to docs example components and withXhr() to provideHttpClient.

Library compatibility (fix(core))

  • Added ^22.0.0 to the core library's @angular/common / @angular/core peer dependency ranges so installs on Angular 22 don't emit peer warnings. This is the fix(core) commit that will trigger a patch release on merge.

Docs

  • Refreshed README.md: dropped stale "release candidate"/@rc wording, switched the quick-start to standalone CoreComponent usage, and removed the webpack-era ~ scss import prefix.
  • Added Angular 22 to the version-compatibility table on the intro page.

Verification

  • npm run build (core library) ✓
  • npm test — 171/171 passing ✓
  • npm run build:docs (production) ✓

Release impact

The fix(core): commit will cause semantic-release to cut a patch release (e.g. 5.1.0 → 5.1.1) when this merges to main. The Angular 22 workspace upgrade and docs changes are release-neutral (build/docs).

https://claude.ai/code/session_01Pki7QYb67QhVAnqeX2fjg4


Generated by Claude Code

claude added 3 commits June 5, 2026 12:05
Add ^22.0.0 to the @angular/common and @angular/core peerDependencies so the
package installs on Angular 22 without emitting peer-dependency warnings.

https://claude.ai/code/session_01Pki7QYb67QhVAnqeX2fjg4
Drop the 'release candidate'/@rc wording (v5 is stable), replace the
GenericTableCoreModule NgModule quick-start with standalone CoreComponent
usage, and remove the webpack-era '~' scss import prefix.

https://claude.ai/code/session_01Pki7QYb67QhVAnqeX2fjg4
@hjalmers hjalmers merged commit 8781874 into main Jun 5, 2026
2 checks passed
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants