-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
[core] Update lerna #962
[core] Update lerna #962
Conversation
package.json
Outdated
"build": "lerna run build", | ||
"prepublishOnly": "yarn check-snapshots && yarn build && yarn typecheck && yarn lint && yarn format:ci && yarn test", | ||
"build": "lerna run prepare", | ||
"prepublish": "yarn check-snapshots && yarn build && yarn typecheck && yarn lint && yarn format:ci && yarn test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prepublish also runs on a regular install afaik
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean if you clone the repo and do npm i
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does yarn also do that? if not we are good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it does run on yarn install
. The reason why prepublish will not work is because it's in the root package file.
I renamed the script to publish-packages
* Make all build scripts prepare and update lerna * Remove unnecessary lerna key inside lerna.json * Rename publish to publish-packages * Update lerna.json
What would you like to add/fix?
This updates lerna to the newest version and moves all of the
build
scripts toprepare
.