feat(angular): deprecate SCAM generators#35887
Merged
Merged
Conversation
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
View your CI Pipeline Execution ↗ for commit 9f1afdb
☁️ Nx Cloud last updated this comment at |
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.
🎓 Learn more about Self-Healing CI on nx.dev
FrozenPandaz
approved these changes
Jun 5, 2026
vrxj81
pushed a commit
to vrxj81/nx
that referenced
this pull request
Jun 7, 2026
## Current Behavior The `@nx/angular` SCAM generators (`scam`, `scam-directive`, `scam-pipe`, `scam-to-standalone`) are not marked as deprecated, even though SCAMs are superseded by Angular standalone components. ## Expected Behavior The four SCAM generators are marked as deprecated via `x-deprecated` in `generators.json` (reported by `nx g` and shown in `--help`) and `@deprecated` JSDoc on their programmatic entry points. The messages point to the `component`, `directive`, and `pipe` generators as replacements, and `scam-to-standalone` users are told to convert any remaining SCAMs before upgrading. They will be removed in Nx v24. <!-- polygraph-session-start --> --- [View session information ↗](https://snapshot.app.trypolygraph.com/orgs/69cdc268b6aa527e4129c2b4/sessions/nxc-4512-9a06eb63) <!-- polygraph-session-end --> --------- Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
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/angularSCAM generators (scam,scam-directive,scam-pipe,scam-to-standalone) are not marked as deprecated, even though SCAMs are superseded by Angular standalone components.Expected Behavior
The four SCAM generators are marked as deprecated via
x-deprecatedingenerators.json(reported bynx gand shown in--help) and@deprecatedJSDoc on their programmatic entry points. The messages point to thecomponent,directive, andpipegenerators as replacements, andscam-to-standaloneusers are told to convert any remaining SCAMs before upgrading. They will be removed in Nx v24.View session information ↗