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

add list command for testing flag combinations/piping to other scripts #610

Closed
seansfkelley opened this issue Feb 18, 2017 · 9 comments
Closed

Comments

@seansfkelley
Copy link
Contributor

In large monorepos with many packages and their many names, it can be useful to test what your --scope, --ignore and --include-filtered-dependencies are about to do without having to run-oops-ctrl-c to get that feedback. You can also use it to feed to other scripts (with dependencies and in topologically-sorted order, both of which are quite handy)!

(This was a feature I added in Yerna that I found quite useful; I'm filing this issue for discussion purposes. Feel free to close if it's not a behavior you want in Lerna.)

@hzoo
Copy link
Contributor

hzoo commented Feb 18, 2017

anything that gives more info like a dryrun type command sounds good to me

@hzoo
Copy link
Contributor

hzoo commented Feb 18, 2017

offtopic: I know you mentioned you were frustrated at how things were going with Lerna earlier but I believe things are picking up again so would love to have your contributions (I'd like to work less on Lerna myself), thanks for the issue too!

@seansfkelley
Copy link
Contributor Author

Yeah, "dry run" is also a good way to think about it.

I just finished filing a couple tickets with the features I found most valuable in Yerna that Lerna was lacking (it doubled as an experimenting ground for some features I really wanted). I have noticed the pace of development picking up! I'm happy to see that, but unfortunately I don't have the bandwidth to contribute more than these discussion tickets/reference implementations, which I do sincerely hope are useful!

@evocateur
Copy link
Member

@seansfkelley This is the command in yerna you're talking about, correct?

@seansfkelley
Copy link
Contributor Author

Yeah, exactly.

@mnasyrov
Copy link

It would be great to add an option to list absolute (or relative) paths of packages for using with external scripts/pipes.

@evocateur
Copy link
Member

lerna ls gained a whole bunch of new options in v3, mimicking most of was npm ls provides. It also respects all the filtering options, including --since. Would that be sufficient to consider this issue closed?

@seansfkelley
Copy link
Contributor Author

Looks like!

@lock
Copy link

lock bot commented Dec 27, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants