Skip to content

feat(angular): deprecate SCAM generators#35887

Merged
FrozenPandaz merged 2 commits into
masterfrom
nxc-4512
Jun 5, 2026
Merged

feat(angular): deprecate SCAM generators#35887
FrozenPandaz merged 2 commits into
masterfrom
nxc-4512

Conversation

@leosvelperez

Copy link
Copy Markdown
Member

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.


View session information ↗

@netlify

netlify Bot commented Jun 5, 2026

Copy link
Copy Markdown

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 4d983c1
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/6a22af8e334cdd00088dc474
😎 Deploy Preview https://deploy-preview-35887--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 5, 2026

Copy link
Copy Markdown

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 4d983c1
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6a22af8e6e3b61000867681a
😎 Deploy Preview https://deploy-preview-35887--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@leosvelperez leosvelperez self-assigned this Jun 5, 2026
@nx-cloud

nx-cloud Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 9f1afdb

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 14m 31s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3s View ↗
nx-cloud record -- pnpm nx-cloud conformance:check ✅ Succeeded 1m 1s View ↗
nx build workspace-plugin ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 18s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 5s View ↗

☁️ Nx Cloud last updated this comment at 2026-06-05 11:33:05 UTC

@nx-cloud nx-cloud Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Nx Cloud View detailed reasoning in Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

@leosvelperez leosvelperez marked this pull request as ready for review June 5, 2026 11:43
@leosvelperez leosvelperez requested a review from a team as a code owner June 5, 2026 11:43
@leosvelperez leosvelperez requested a review from FrozenPandaz June 5, 2026 11:43
@FrozenPandaz FrozenPandaz merged commit 52760c5 into master Jun 5, 2026
18 checks passed
@FrozenPandaz FrozenPandaz deleted the nxc-4512 branch June 5, 2026 14:06
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants