Skip to content
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

Nx enhancement - Add option to list only affected libs/apps #19

Open
arkus7 opened this issue Aug 25, 2023 · 1 comment
Open

Nx enhancement - Add option to list only affected libs/apps #19

arkus7 opened this issue Aug 25, 2023 · 1 comment

Comments

@arkus7
Copy link
Contributor

arkus7 commented Aug 25, 2023

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).

@EladBezalel
Copy link
Collaborator

Adding a type property sounds really good!

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

No branches or pull requests

2 participants