Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babel/lerna
:dragon: A tool for managing JavaScript projects with multiple packages.
https://github.com/babel/lerna
Last synced: 3 months ago
JSON representation
:dragon: A tool for managing JavaScript projects with multiple packages.
- Host: GitHub
- URL: https://github.com/babel/lerna
- Owner: babel
- Fork: true (lerna/lerna)
- Created: 2018-12-18T09:57:39.000Z (about 6 years ago)
- Default Branch: readme
- Last Pushed: 2020-05-23T21:10:20.000Z (over 4 years ago)
- Last Synced: 2024-04-14T01:33:07.694Z (9 months ago)
- Homepage: https://lernajs.io
- Size: 6.95 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lerna
> ⚠️ **WARNING**: This fork is only meant to be used for publishing [Babel](https://github.com/babel/babel)
## Branches
- [`readme`](https://github.com/nicolo-ribaudo/lerna/tree/readme): This is the default branch of this repository,
and it contains this guide.
- [`master`](https://github.com/nicolo-ribaudo/lerna/tree/master): This branch should be syncronyzed with Lerna's and should never be edited.
- [`lerna-collect-updates`](https://github.com/nicolo-ribaudo/lerna/tree/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`](https://github.com/nicolo-ribaudo/lerna/tree/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 at [`lerna-collect-updates...babel-collect-updates`](https://github.com/nicolo-ribaudo/lerna/compare/lerna-collect-updates...babel-collect-updates)## How to update lerna
1. If you just cloned this repo, first set it up:
```
git remote add upstream [email protected]:lerna/lerna.git
git fetch upstream master
```1. Synchronyze the `master` branch:
```
git checkout master && git pull upstream master
```1. Checkout the last version (replace `v3.6.0`):
```
git checkout v3.6.0
```1. Regenerate the `lerna-collect-updates` branch:
```
git subtree split -P utils/collect-updates -b lerna-collect-updates
```1. Rebase the `babel-collect-updates` branch:
```
git checkout babel-collect-updates && git rebase lerna-collect-updates
```1. 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
```