Skip to content

junrillg/monorepo-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node: 18.15.0 Node: 18.15.0 Node: 18.15.0 License: MIT

In the Fullstack Developers 3.0 event, this repository served as a hands-on demonstration to explore the concept and use cases of monorepo using lerna.

What is a monorepo?

A monorepo is a single repository that contains multiple projects. In this repository, we have a projects directory that contains two projects: ts-app and js-app.

Why monorepo?

  • Code sharing: We can share code between projects without having to publish the library to a package registry.

  • Atomic commits: We can commit changes to multiple projects in a single commit. This is useful when we want to make changes to the library and the app that uses the library.

  • Single versioning: We can version all the projects together. This is useful when we want to release a new version of the library and the app that uses the library.

How to use this repository?

Clone the repository

git clone git@github.com:junrillg/monorepo-setup.git

Install dependencies

npx lerna bootstrap

Run the app

npx lerna run start --stream

Run the tests

npx lerna run test --stream

Build the app

npx lerna run build --stream

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published