Skip to content

Return projects as roots if excludeTaskDependencies is true#35562

Open
djohnson-aperture wants to merge 2 commits intonrwl:masterfrom
djohnson-aperture:patch-2
Open

Return projects as roots if excludeTaskDependencies is true#35562
djohnson-aperture wants to merge 2 commits intonrwl:masterfrom
djohnson-aperture:patch-2

Conversation

@djohnson-aperture
Copy link
Copy Markdown

nx exec --projects @org/taskWithDeps --excludeTaskDependencies -- {command} should still run the command for the passed project even if it's dependent tasks are ignored.

Current Behavior

When nx exec --projects @org/taskWithDeps --excludeTaskDependencies -- echo 1 1 is never echo'd.

Expected Behavior

The command should run for at least the passed in projects, even if their dependencies are ignored.

`nx exec --projects @org/taskWithDeps --excludeTaskDependencies -- {command}` should still run the command for the passed project even if it's dependent tasks are ignored.
@djohnson-aperture djohnson-aperture requested a review from a team as a code owner May 4, 2026 22:46
@djohnson-aperture djohnson-aperture requested a review from lourw May 4, 2026 22:46
@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

👷 Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1b8c8ae

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

👷 Deploy request for nx-dev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1b8c8ae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant