I see that Nx is deprecating the print-affected
command. The alternatives given does not produce the output I want.
Right now, I am using nx print-affected --target=<script name>
which tells me which projects are affected for that target. I am not seeing a way to do this with either show projects
, graph
or affected
. The closest command I see is show projects
with the --affected
flag, but it does not accept a target
.
nx show projects --affected --with-target build
should accomplish your goal