feat(angular)!: remove deprecated ngrx generator#35567
Open
leosvelperez wants to merge 2 commits intomasterfrom
Open
feat(angular)!: remove deprecated ngrx generator#35567leosvelperez wants to merge 2 commits intomasterfrom
leosvelperez wants to merge 2 commits intomasterfrom
Conversation
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
View your CI Pipeline Execution ↗ for commit 6485fb3
☁️ Nx Cloud last updated this comment at |
FrozenPandaz
requested changes
May 5, 2026
Remove the `@nx/angular:ngrx` generator. Use `@nx/angular:ngrx-root-store` for root state and `@nx/angular:ngrx-feature-store` for feature state instead. A migration splits any `@nx/angular:ngrx` defaults set in `nx.json` across the two replacement generators.
5d1435d to
6485fb3
Compare
Contributor
There was a problem hiding this comment.
Nx Cloud has identified a flaky task in your failed CI:
🔂 Since the failure was identified as flaky, we triggered a CI rerun by adding an empty commit to this branch.
🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.
🎓 Learn more about Self-Healing CI on nx.dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current Behavior
The
@nx/angular:ngrxgenerator is exposed and functional, but has been deprecated since Nx v18 in favor of@nx/angular:ngrx-root-store(root state) and@nx/angular:ngrx-feature-store(feature state).Expected Behavior
The
@nx/angular:ngrxgenerator is removed. Users invoke@nx/angular:ngrx-root-storefor root state and@nx/angular:ngrx-feature-storefor feature state instead.A migration splits any
@nx/angular:ngrxgenerator defaults set innx.jsonacross the two replacement generator keys, renames the deprecatedmoduleoption toparent, and drops the obsoleteroottoggle (intent is now expressed by which generator is invoked). The migration handles both the flat ("@nx/angular:ngrx") and nested ("@nx/angular": { "ngrx": ... }) defaults shapes.BREAKING CHANGE: The
@nx/angular:ngrxgenerator has been removed. Use@nx/angular:ngrx-root-storefor root state and@nx/angular:ngrx-feature-storefor feature state instead.