~/talk

Building Fast, Maintainable JavaScript Monorepos with Nx

Talkat JSDayIE 2023 · on Tuesday, 2023-09-26· [frontend-architecture, nodejs]
links:none on file
slides:none on file

Shows concrete commands and outcomes: create a workspace with npx create-nx-workspace, generate apps and libs with nx g react:app and see each project hold a project.json. Demonstrates caching where one app reports existing outputs match the cache while another runs in 1s, remote cache via NX Cloud shares outputs, and git-aware nx affected --target=test returns zero projects when nothing changed. Also covers the project graph and ESLint enforce-module-boundaries using tags to stop accidental cross-team imports.

AI-written summary · about

  1. 0:00Introduction to monorepos
  2. 0:39Problems with polyrepos
  3. 3:16Transitioning to a monorepo
  4. 4:56Introduction to NX
  5. 7:24Using NX generators
  6. 9:09Task execution and caching
  7. 12:54Creating library projects
  8. 14:11Visualizing project graphs
  9. 16:53Optimizing with affected
  10. 18:33Enforcing module boundaries
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.