You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to have the ability to define in the nx:run-commands executor a option to default forwardAllArgs to false, so that I don't have to do that one by one for each command.
Motivation
Having to add a forwardAllArgs to each command one by one is very boilerplatey and makes code unnessecarily more unreadable. In the context of tools like prettier it gets more tedious, as prettier will most likely break command and forwardAllArgs into their own lines, so that it gets even more complex to read the project.json definitions.
This is a example of a "more complex" usage of the nx:run-commands executor:
Adding a single parameter would make the usage of NX much better in terms of readability in terms of more complex target workflows, especially given, that NX DOES have the capabilities to be the next level pipelining tool of the current decade.
The text was updated successfully, but these errors were encountered:
Description
I would love to have the ability to define in the
nx:run-commands
executor a option to defaultforwardAllArgs
to false, so that I don't have to do that one by one for each command.Motivation
Having to add a
forwardAllArgs
to each command one by one is very boilerplatey and makes code unnessecarily more unreadable. In the context of tools like prettier it gets more tedious, as prettier will most likely breakcommand
andforwardAllArgs
into their own lines, so that it gets even more complex to read the project.json definitions.This is a example of a "more complex" usage of the
nx:run-commands
executor:Suggested Implementation
Adding a configuration at the top level of the target definition like this would reduce a lot of the above examples verbosity
Conclusion
Adding a single parameter would make the usage of NX much better in terms of readability in terms of more complex target workflows, especially given, that NX DOES have the capabilities to be the next level pipelining tool of the current decade.
The text was updated successfully, but these errors were encountered: