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
[Feature] Scripting Lerna #133
Comments
Maybe we could adapt the git |
I'd prefer @joscha 's suggestion if it's the difference between a major version and a minor version |
What would break with current scripts? Are people using the output of Lerna already? |
can't speak for other people, but we do: # Get all packages so we now which ones to iterate through
ALL_PACKAGES=$($LERNA_LOC exec pwd\
| sed 1,2d) That's only one example - we had to write a script that uses |
the --json flag covers this use case now, but unfortunately there isn't quite enough data in there. It would be nice if |
@light24bulbs A lot of scriptable options been implemented recently, but not released yet. Trying to finish #1091 first. |
Hi Folks 👋 In light of its age, and in order to allow our small team to focus on what matters most to Lerna v6 users in late 2022, I'm going to close this one. If you have any requests that could enhance your usage of Lerna 6, then please do let us know by opening a new discussion (for a feature) or issue (for a bug report) with as much context as possible. You can also check out our published roadmap for Lerna v7 here: #3410 Many thanks 🙏 |
Any good CLI tool can be composed with others, so I would like to focus on that with Lerna.
Stuff like:
Making commands like
lerna ls
orlerna updated
have easy to parse output.$ lerna ls package-1 package-2 # instead of: $ lerna ls Lerna v2.0.0-beta.6 Independent Versioning Mode - package-1 - package-2
There's also
lerna exec
in #130I would also like to be able to expose different config-like information from lerna:
$ lerna get repo.version 2.0.0 # or independent $ lerna get paths.root /path/to/repo $ lerna get paths.packages /path/to/repo/packages
This is all my ideas for now, but I'm definitely interested in anything that makes Lerna more scriptable.
The text was updated successfully, but these errors were encountered: