The Age of Monorepos
Miroslav Jonas / @meeroslav
agent.sh / monorepo.tools / nx.dev / nrwl.io
Slide 2
Slide 2 text
Miroslav Jonas
engineer at
@meeroslav
Slide 3
Slide 3 text
Mono- what?
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
Static Web
(pre JS era)
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
successfully confusing
recruiters since 1995
Slide 9
Slide 9 text
Age
of
Scripting
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
Age
of
jQuery
Slide 12
Slide 12 text
Age of SPAs
Slide 13
Slide 13 text
Age
of
JAMStack
Slide 14
Slide 14 text
No content
Slide 15
Slide 15 text
Age
of
Monorepos
Slide 16
Slide 16 text
Homepage App
(framework X)
Backend
Every application*
UI Components
/
Design system
Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1
Admin Portal App
Mobile App
Utility
Slide 17
Slide 17 text
Main library
Website / Docs
Every open source*
Demo 1
Example 2 Showcase 3
Slide 18
Slide 18 text
Homepage App
(framework X)
Backend
Collocate
UI Components
/
Design system
Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1
Admin Portal App
Mobile App
Utility
Slide 19
Slide 19 text
Code sharing
Slide 20
Slide 20 text
Just collocation
NOT
Slide 21
Slide 21 text
Speed matters
Slide 22
Slide 22 text
Rule 2: Find affected graph
store
games sales coupons
core
shared
admin
Slide 23
Slide 23 text
Workspace analysis
Slide 24
Slide 24 text
Task orchestration
Test Build Lint
Build
Lint
Test
Build
Lint
Test
Slide 25
Slide 25 text
*A tool for managing JavaScript projects with multiple packages.
Slide 26
Slide 26 text
Modern monorepo tools
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
Caching
Never { build, test, lint… } same code twice
{ build, test, lint,... }
Nx
Local cache
{ build, test, lint,... }
Nx
Local cache