Nx Monorepo

 

Scale your code like a pro

Tell me why (not polyrepo)

  • separate repo for each

team

application

project

  • separate pipeline & build artifacts for each repo

  • team autonomy

Team autonomy is provided by isolation, and isolation

harms collaboration

Tell me why (not polyrepo)

Tell me why (not polyrepo)

Cumbersome code sharing

01

Code duplication

02

Costly changes to shared libs

03

Inconsistent tooling

04

Options?

Monorepo

A monorepo is a single repository containing multiple distinct projects, with well-defined relationships.

Nx Monorepo

  • open-source build system

  • provides tools for enhancing

developer productivity

optimizing CI performance

maintaining code quality

Nx Monorepo

Tell me why (Nx monorepo)

Cumbersome code sharing

01

Code duplication

02

Costly changes to shared libs

03

Inconsistent tooling

04

No overhead to create new projects

01

02

Atomic commits across projects

One version of everything

03

Dev mobility

04

Thank you!

n.mitrovic@vegait.rs

You can find us at

Link to the slides

v.sekulic@vegait.rs

stefan.braunovic@vegait.rs

Nx Monorepo

By nmitrovic

Nx Monorepo

  • 175