Upgrade to NgRx 18

Proprietary

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

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

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