Changelog
v2.0.0-beta.38 (2017-02-28)
📦 🐈 Initial Yarn support and more!
We'll make yarn the default once we feel that it's more stable.
$ lerna bootstrap --npm-client=yarn
{
"npmClient": "yarn"
}
Very important fix for Babel that we used in the last release. This prevents a timing issue when publishing where a module will try to download a package that isn't published yet because it is published before it's own dependency is published itself. We used to get many issues from users on non-public npm about "babel-types" not being found.
We now check for changes since the most recent tag in the current branch, instead of the most recent tag in entire repository. This allows publishing older versions of a project in maintenance branches, as well as nightly releases from a feature branch.
Additionally, we now ensure that the user is in a non-detached branch because lerna can't publish without a valid git branch.
Useful to get output for child processes immediately if using lerna run
with a watch command
$ lerna run watch --stream
This will not create a temporary dist-tag called lerna-temp
when publishing. Useful if your third party proxy doesn't support dist-tags.
$ lerna publish --skip-temp-tag
Defaults to running npm run test
and npm run env
{
"commands": {
"bootstrap": {
"includeFilteredDependencies": true
}
}
}
{
"commands": {
"run": {
"sort": false
}
}
}
$ lerna publish --registry https://my-private-registry
lerna diff
. (@evocateur)sync-exec
(@wtgtybhertgeghgtwtg)