Upgrade to NgRx 22

Proprietary

Migrates NgRx applications to NgRx 22: upgrades the @ngrx/* packages to 22.x and makes the source changes of ng update @ngrx/store@22 and ng update @ngrx/signals@22, including those of NgRx 18 to 21. NgRx 22 requires Angular 22. UpgradeToAngular22 includes this migration and moves both in one edit; run this recipe alone only on a project that is on Angular 22 already, since an older Angular makes the package manager refuse the bump, unless legacy-peer-deps lets it through.

org.openrewrite.angular.ngrx.UpgradeToNgRx22
mod run . --recipe=org.openrewrite.angular.ngrx.UpgradeToNgRx22

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.