-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
bootstrap --use-workspaces does not trigger lifecycle scripts #1021
Comments
Is I'm still using lerna to run commands on all packages. |
Change this line "useWorkspaces": true ==>false, |
|
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. |
Hi. I've attempted Lerna v2.2.0 and yarn v1.0.2's workspaces feature and it seems that
--use-workspaces
option obstructs packages' lifecycle scripts.Expected Behavior
lerna bootstrap --use-workspace
triggersprepublish
andprepare
script in each package.Current Behavior
Bootstrap command does not run lifecycle scripts.
For now, I execute
lerna run prepublish
explicitly...Possible Solution
Steps to Reproduce (for bugs)
yarn run lerna bootstrap
lerna.json
lerna-debug.log
Context
Your Environment
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: