TLDR; monorepo.tools

Disclaimer

Disclaimer

demo heavy

Chau Tran

twitter.com/@nartc1410

github.com/nartc

What is a monorepo?

App 1

App 2

App 3

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

repo

repo

repo

repo

repo

repo

repo

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

Well-defined Relationships

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

Well-defined Relationships

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

Well-defined Relationships

Why monorepo?

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

repo

repo

repo

repo

repo

repo

repo

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

v1

v2

v2

v2

v2

v3

v4

App 1

App 2

App 3

Lib 1

Lib 2

Lib 3

npm

Repo

Well-defined Relationships

but monorepo

isn't perfect

extremely large repo

ownership problem

Monorepo Features

Demo time

Nx Console

Nx Console

monorepo.tools

nx.dev

nx.dev/conf

October 17, 2022

https://github.com/nartc/shiftasia-nx

Nx miniworkshop

By Chau Tran

Nx miniworkshop

  • 648