Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geersch/lerna
A demo monorepo setup using Lerna with NPM, Lerna with Yarn, Yarn Workspaces or Lerna with Yarn Workspaces. :black_joker:
https://github.com/geersch/lerna
Last synced: 4 months ago
JSON representation
A demo monorepo setup using Lerna with NPM, Lerna with Yarn, Yarn Workspaces or Lerna with Yarn Workspaces. :black_joker:
- Host: GitHub
- URL: https://github.com/geersch/lerna
- Owner: geersch
- License: other
- Created: 2020-10-03T16:36:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T20:20:51.000Z (almost 3 years ago)
- Last Synced: 2023-03-24T11:39:21.337Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 901 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Monorepos
This is a multi-package repository (monorepo) containing two packages:
* @geersch/calculator
* @geersch/loggingThe code in the packages is for demonstration purposes only.
The following branches contain different variants of configuring a monoreo.
* the `master` branch uses [Lerna][1] with [NPM][2]
* the `lerna-with-yarn` branch uses [Lerna][1] with [Yarn][3]
* the `yarn-workspaces` branch uses [Yarn Workspaces][4]
* the `lerna-with-yarn-workspaces` branch uses [Lerna][1] with [Yarn Workspaces][4]Feel free to check them out and explore them.
```shell
# Lerna with NPM
$ git checkout master# Lerna with Yarn
$ git checkout lerna-with-yarn# Yarn Workspaces
$ git checkout yarn-workspaces# Lerna with Yarn Workspaces
$ git checkout lerna-with-yarn-workspaces
```The `lerna-with-yarn`, `yarn-workspaces` and `lerna-with-workspaces` branches were created from the `master` branch. Starting out with Lerna with NPM the necessary changes were introduced to configure the monorepo differently. These changes are described in a [Marpit][5] [slide deck](./docs/slides.md) which be found in the docs folder.
[1]: https://github.com/lerna/lerna
[2]: https://www.npmjs.com/
[3]: https://yarnpkg.com/
[4]: https://classic.yarnpkg.com/en/docs/workspaces/
[5]: https://marpit.marp.app