-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): add --exclude-task-dependencies flag #27137
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 900ad3d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the help text
@@ -79,6 +80,12 @@ export function withRunOptions<T>(yargs: Argv<T>): Argv<T & RunOptions> { | |||
type: 'boolean', | |||
default: false, | |||
}) | |||
.options('noDependencies', { | |||
describe: 'Skips running dependant tasks first', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describe: 'Skips running dependant tasks first', | |
describe: 'Skips running dependent tasks first', |
@@ -32,7 +32,7 @@ export async function affected( | |||
(TargetDependencyConfig | string)[] | |||
> = {}, | |||
extraOptions = { | |||
excludeTaskDependencies: false, | |||
excludeTaskDependencies: args.noDependencies, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's change the arg to --exclude-task-dependencies
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
There is no option to exclude dependent tasks when running Nx.
Expected Behavior
There is a flag,
--exclude-task-dependencies
, to exclude task deps from running. This is inline with other tools:Related Issue(s)
Fixes #18053