⚠️ WARNING: This fork is only meant to be used for publishing Babel
readme
: This is the default branch of this repository, and it contains this guide.master
: This branch should be syncronyzed with Lerna's and should never be edited.lerna-collect-updates
: A branch only containing the@lerna/collect-updates
package. It is automatically generated and it should never be manually edited.babel-collect-updates
: This branch is the modified version of the@lerna/collect-updates
package. It isn't published to npm and it is meant to be installed directly from GitHub. You can see our custom changes atlerna-collect-updates...babel-collect-updates
-
If you just cloned this repo, first set it up:
git remote add upstream git@github.com:lerna/lerna.git git fetch upstream master
-
Synchronyze the
master
branch:git checkout master && git pull upstream master
-
Checkout the last version (replace
v3.6.0
):git checkout v3.6.0
-
Regenerate the
lerna-collect-updates
branch:git subtree split -P utils/collect-updates -b lerna-collect-updates
-
Rebase the
babel-collect-updates
branch:git checkout babel-collect-updates && git rebase lerna-collect-updates
-
Force-push everything
git checkout master && git push && git push --tags git checkout lerna-collect-updates && git push -f git checkout babel-collect-updates && git push -f