Update lerna to v3.6.0

Use forked @lerna/collect-updates to prevent publishing of dependents:
this is the same as Lerna 2's --dangerously-only-publish-explicit-etc option.
This commit is contained in:
Nicolò Ribaudo 2018-12-18 15:38:35 +01:00
parent 57759cb1a1
commit d35f2ad92b
4 changed files with 1876 additions and 461 deletions

View File

@ -130,8 +130,7 @@ prepublish:
make test
publish: prepublish
# --only-explicit-updates
./node_modules/.bin/lerna publish --force-publish="@babel/runtime,@babel/runtime-corejs2" --dangerously-only-publish-explicit-updates-this-is-a-custom-flag-for-babel-and-you-should-not-be-using-it-just-deal-with-more-packages-being-published-it-is-not-a-big-deal
./node_modules/.bin/lerna publish --force-publish="@babel/runtime,@babel/runtime-corejs2,@babel/standalone,@babel/preset-env-standalone"
make clean
bootstrap: clean-all

View File

@ -1,5 +1,4 @@
{
"lerna": "2.11.0",
"version": "7.2.2",
"changelog": {
"repo": "babel/babel",
@ -14,9 +13,9 @@
"PR: Internal :house:": ":house: Internal"
}
},
"commands": {
"command": {
"publish": {
"ignore": [
"ignoreChanges": [
"*.md",
"*.txt",
"test/**",

View File

@ -49,7 +49,7 @@
"gulp-watch": "^5.0.1",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lerna": "^2.11.0",
"lerna": "^3.6.0",
"lerna-changelog": "^0.5.0",
"lint-staged": "^8.1.0",
"lodash": "^4.17.10",
@ -69,6 +69,9 @@
"webpack-dependency-suite": "^2.4.4",
"webpack-stream": "^4.0.0"
},
"resolutions": {
"@lerna/**/@lerna/collect-updates": "https://github.com/nicolo-ribaudo/lerna.git#babel-collect-updates"
},
"engines": {
"node": ">= 6.9.0 < 12.0.0",
"npm": ">= 3.x <= 6.x",

2324
yarn.lock

File diff suppressed because it is too large Load Diff