feat(core): allow generate command to skip project graph creation by vsavkin · Pull Request #35170 · nrwl/nx · GitHub
Skip to content

feat(core): allow generate command to skip project graph creation - #35170

Merged
vsavkin merged 1 commit into
masterfrom
generator-without-graph-creation
Apr 3, 2026
Merged

vsavkin merged 1 commit into
masterfrom
generator-without-graph-creation

Conversation

@vsavkin

@vsavkin vsavkin commented Apr 3, 2026

Copy link
Copy Markdown
Member

When skipProjectGraph is passed to the generate() function, use retrieveProjectConfigurationsWithoutPluginInference instead of createProjectGraphAsync. This loads only default plugins (js, package-json, project-json) and skips dependency edge computation, making generation faster while still supporting local plugins.

This is a private API — callers must import the generate function directly and pass skipProjectGraph: true.

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

When `skipProjectGraph` is passed to the `generate()` function, use
`retrieveProjectConfigurationsWithoutPluginInference` instead of
`createProjectGraphAsync`. This loads only default plugins (js,
package-json, project-json) and skips dependency edge computation,
making generation faster while still supporting local plugins.

This is a private API — callers must import the `generate` function
directly and pass `skipProjectGraph: true`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vsavkin
vsavkin requested a review from a team as a code owner April 3, 2026 13:57
@vsavkin
vsavkin requested a review from MaxKless April 3, 2026 13:57
@netlify

netlify Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

@netlify

netlify Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 245a87f
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69cfc7379734b200089caa8a
😎 Deploy Preview https://deploy-preview-35170--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.

@nx-cloud

nx-cloud Bot commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 245a87f

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

☁️ Nx Cloud last updated this comment at 2026-04-03 14:55:38 UTC

@vsavkin
vsavkin enabled auto-merge (squash) April 3, 2026 19:56
@vsavkin
vsavkin merged commit 93624a5 into master Apr 3, 2026
24 checks passed
@vsavkin
vsavkin deleted the generator-without-graph-creation branch April 3, 2026 21:02
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants