When using regular nx print-affected you have an option to specify the --type option which allows you to filter only libs or only apps from the output.
It would be good to have a similar interface in traf so @traf/nx affected could be used as almost a drop-in replacement for nx print-affected.
Another option would be to specify in the JSON output the type of project so that users could filter it themselves but this approach is a breaking change as @traf/nx affected --json=true results in a JSON array with names of projects (array of strings).