Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.
/ lerna Public archive

A demo monorepo setup using Lerna with NPM, Lerna with Yarn, Yarn Workspaces or Lerna with Yarn Workspaces. 🃏

License

Notifications You must be signed in to change notification settings

geersch/lerna

Repository files navigation

Monorepos

This is a multi-package repository (monorepo) containing two packages:

  • @geersch/calculator
  • @geersch/logging

The code in the packages is for demonstration purposes only.

The following branches contain different variants of configuring a monoreo.

Feel free to check them out and explore them.

# 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 slide deck which be found in the docs folder.

About

A demo monorepo setup using Lerna with NPM, Lerna with Yarn, Yarn Workspaces or Lerna with Yarn Workspaces. 🃏

Resources

License

Stars

Watchers

Forks