~/talk

pnpm Catalogs — A New Tool to Manage Dependencies in monorepos

Talkat ViteConf 2023 · 2023-10-05..10-06· [developer-experience, devops-and-delivery]
links:none on file
slides:none on file

pnpm introduces catalog: as a new protocol that centralizes dependency versions so a monorepo keeps a single declared version instead of accidentally installing multiple ones (example given: Vue 3.3.0 vs 3.3.4). Developers add a catalog object to pnpm-workspace.yaml and subsequent pnpm add calls reuse that constant, preventing runtime breaks and TypeScript errors, reducing package.json and pnpm-lock.yaml conflicts. RFC is ratified and implementation is expected in the next few months.

AI-written summary · about

  1. 0:00Introduction to pnpm
  2. 2:11The monorepo challenge
  3. 4:09Debugging version conflicts
  4. 6:42Introducing pnpm catalogs
  5. 8:30Benefits and implementation
  6. 10:21Conclusion and recap
~/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.