-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
lerna run - seems broken since 3.14.0 #2117
Comments
I spent a few hours messing around with codsen, here's the branch with my progress: https://gitlab.com/evocateur/codsen/tree/feature/dev-tasks-from-root-etc I actually never got around to testing the latest |
Just for grins I ran
But by no means did it "immediately list the tasks as done and [exit]". Notably, I removed an unused |
Hi Daniel, |
Expected Behavior
lerna run
should run a requested script inside each of the packages.Current Behavior
On
3.14.0
and3.14.1
, Lerna starts the tasks and immediately ends them. Scripts are ran but instantly finish and nothing happens.Notice how
npm test
ran in 87 packages ended within 0.2 seconds. Nothing happened. Requested script is not running in async "in background" either...Possible Solution
Whatever was introduced in
3.14.0
broke thelerna run
feature becauselerna run
works fine on3.13.4
.Steps to Reproduce (for bugs)
test
:npm run test
from monorepo root.3.13.4
Lerna will run as normal. On3.14.*
it will immediately list the tasks as done and end.lerna.json
Context
I did some investigation, various flags such as
--concurrency
don't affect anything.Your Environment
Mac, monorepo of just npm packages https://gitlab.com/codsen/codsen/
lerna --version
3.14.0
and3.14.1
only not earliernpm --version
6.9.0
yarn --version
1.16.0
is installednode --version
12.3.1
Thank you.
The text was updated successfully, but these errors were encountered: