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
280
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
14
Drum 'n' JS
meeroslav
0
28
Monorepo demystified: Breaking the myth
meeroslav
0
19
Making the Argument for Monorepos
meeroslav
0
12
Scaling Vendure with Nx
meeroslav
0
120
Don't let compilation set the length of your Glühwein break
meeroslav
0
71
Vanquishing deployment dragons with Nx wizardry
meeroslav
0
190
Don't let compilation set the length of your coffee break
meeroslav
0
98
The other JavaScript performance (no one is talking about)
meeroslav
0
260
Other Decks in Programming
See All in Programming
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
7
2.5k
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
180
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
2.3k
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
770
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.8k
Navigating Dependency Injection with Metro
zacsweers
3
1k
Cache Me If You Can
ryunen344
2
1.5k
print("Hello, World")
eddie
2
530
rage against annotate_predecessor
junk0612
0
170
AIコーディングAgentとの向き合い方
eycjur
0
270
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
The Language of Interfaces
destraynor
161
25k
Thoughts on Productivity
jonyablonski
70
4.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Writing Fast Ruby
sferik
628
62k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
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