Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Age of monorepos (JSNation)
Search
Miroslav Jonaš
June 16, 2022
Programming
1
270
The Age of monorepos (JSNation)
Miroslav Jonaš
June 16, 2022
Tweet
Share
More Decks by Miroslav Jonaš
See All by Miroslav Jonaš
The dark art of code optimization
meeroslav
0
4
Drum 'n' JS
meeroslav
0
18
Monorepo demystified: Breaking the myth
meeroslav
0
9
Making the Argument for Monorepos
meeroslav
0
6
Scaling Vendure with Nx
meeroslav
0
100
Don't let compilation set the length of your Glühwein break
meeroslav
0
61
Vanquishing deployment dragons with Nx wizardry
meeroslav
0
180
Don't let compilation set the length of your coffee break
meeroslav
0
80
The other JavaScript performance (no one is talking about)
meeroslav
0
250
Other Decks in Programming
See All in Programming
プロダクト改善のために新しいことを始める -useContextからの卒業、Zustandへ-
rebase_engineering
1
110
Rails産でないDBを Railsに引っ越すHACK - Omotesando.rb #110
lnit
1
150
Interface vs Types ~型推論が過多推論~
hirokiomote
1
240
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
2
1.9k
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
460
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
110
Step up the performance game with Spring Boot and Project Leyden
mhalbritter
0
170
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
100
無関心の谷
kanayannet
0
120
Perlで痩せる
yuukis
1
670
Efficiency and Rock 'n’ Roll (Really!)
hollycummins
0
670
Javaに鉄道指向プログラミング (Railway Oriented Pro gramming) のエッセンスを取り入れる/Bringing the Essence of Railway-Oriented Programming to Java
cocet33000
1
470
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
7
640
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Done Done
chrislema
184
16k
Writing Fast Ruby
sferik
628
61k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
Become a Pro
speakerdeck
PRO
28
5.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
A designer walks into a library…
pauljervisheath
205
24k
Transcript
The Age of Monorepos Miroslav Jonas / @meeroslav / nx.dev
/ nrwl.io
@meeroslav / WARNING! Bad design Flickering colors Life-changing features
Miroslav Jonaš @meeroslav
None
@meeroslav / STATIC WEB (pre JS era)
None
@meeroslav /
@meeroslav / successfully confusing recruiters since 1995
@meeroslav / Age of Scripting
None
@meeroslav / Age of jQuery
Age of SPAs
@meeroslav / Age of JAMStack
None
@meeroslav / Age of Monorepos
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
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
Code sharing
@meeroslav / Just collocation NOT
Affected graph store games sales coupons core shared admin
Workspace analysis
Task orchestration Test Build Lint Build Lint Test Build Lint
Test
now powered by Nx
None
Caching Never { build, test, lint… } same code twice
{ build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache
Distributed task execution 10 tasks 110 tasks 100 tasks 150
tasks Single agent 10 tasks 105 tasks 5 tasks 60 tasks 35 tasks Agent 1 Agent 2 Agent 3 Agent 4 Agent 5
Code constraints
@meeroslav / But I have only one project…
Powerful generators
Consistent tooling
@meeroslav / Monorepos bring clarity - workspace analysis - graph
visualization
@meeroslav / - local & remote caching - task orchestration
- detecting affected nodes - distributed task execution Monorepos bring speed
@meeroslav / - code sharing - code collocation - powerful
generators - consistent tooling - code constraints Monorepos make it easy
None
WHY BE A 10X WHEN YOU CAN BE AN
NX DEVELOPER? @meeroslav /
Miroslav Jonas / @meeroslav / nx.dev / nrwl.io Thank you