https://github.com/nitaking/monorepo-template
A monorepo template
https://github.com/nitaking/monorepo-template
Last synced: 12 days ago
JSON representation
A monorepo template
- Host: GitHub
- URL: https://github.com/nitaking/monorepo-template
- Owner: nitaking
- Created: 2018-05-31T16:03:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-31T16:22:48.000Z (almost 8 years ago)
- Last Synced: 2025-12-27T19:21:07.150Z (3 months ago)
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# monorepo-template
[](https://lernajs.io/)
A simple monorepo template.
## About
- npm client is [Yarn](https://github.com/yarnpkg/yarn)
- multiple packages tool is [lerna](https://github.com/lerna/lerna)
## Getting Started
### Prerequisites
1. Install Yarn
Read the [Installation Guide](https://yarnpkg.com/en/docs/install).
1. global install lerna
lerna can will link dependencies in the repo together
```.sh
yarn global add lerna
```
or
```.sh
npm install -g lerna
```
### Installing
```
git clone https://github.com/nitaking/monorepo-template.git
cd monorepo-template
yarn
```
## To make from scratch
[prerequisites](https://github.com/nitaking/monorepo-template#prerequisites) executed.
```
yarn init
lerna init
```