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
support adding multiple packages in one command #1608
Comments
In most cases, yes, we do try to match existing npm cli semantics. In this instance, the ambiguity of targets forced a simplification of logic. Was |
The help is relatively clear. It's just that this command:
returns
Falsely assuming that Then at some point I think I saw the help for
But it still returned the same error and that kind of confirmed my false assumption. In the end, just adding the packages one by one worked. After reading your comment I finally realise my stupidity:
Which makes sense, but is a bit counterintuitive. as in "I want to add package1 to package3, but for the first I specify it by name, the second by folder". |
So at the end the real answer to this issue title is:
right? |
Seems like it, yes. |
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. |
npm install
works for multiple packages as inTrying something similar with lerna
results in errors
Possible Solution
Allow to specify multiple packages to add at once. (a
rm
command would be usefull as well but that's a different issue I guess)Context
I'm expecting (maybe wrong) a sort of duality between
npm
/yarn
commands andlerna
. I wasted a lot of time figuring out whylerna
refused to execute my command. After that I wasted a lot of time adding these packages one by one.Your Environment
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: