Yarn — 2019 and Beyond
summary
Yarn v2 presents concrete changes: a modular plugin architecture rewritten in TypeScript, Plug’n’Play made the default to eliminate node_modules, replacing tens of thousands of unpacked files with one zip per package and enabling zero-install by committing those zips to the repo. New tools include Yarn DLX for one-off runners, Prolog-based constraints that lint and auto-fix package.json across workspaces, interactive upgrades that resolve workspace version conflicts, revamped message codes and coloured output, and an experimental but usable release path.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:21Who Am I
- 2:18Stability
- 4:17Overall User Experience
- 7:58Commands
- 10:40Constraints
- 11:11Field Constraints
- 12:02Yarn Constraints Check
- 13:40Query Engine
- 14:24Zero Install
- 20:13Recap
- 21:03Contributors
related talks
21mYarn in Depth: Why & How
51mYarn Berry: a next generation package manager
05mRevisiting Node modules
10mStreamlining npm modules and lock files Management
30mMonday Lightning Talks
23mSeeing Your Place in a New Way: Utilizing Yarn Package Management in a React SPA Map Viewer
27mnpm i g @next and beyond: Building the future of package management
57mZen and the Art of Package Management
