-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix: make --dry=json
jq
and JSON.parse
-friendly
#894
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vercel/turbo-site/DgEwtvruCbE1PWF5FYAQw1r7XYZn |
This reverts commit aa55128.
(Initially i went to refactor ResolvePackages to make it a pure function, but given we are about to change everything with --filter, wasn't worth it) |
I wouldn't mind just dropping the couple of output lines. I don't think they are adding much, since in the actual run case we print the packages in scope. We probably don't need to also repeat the user's flag values back to them. |
Fair enough |
Allow
--dry=json
'sstdout
can be easilyjq
orJSON.parse
'd.Before
After