Caring Innersource
summary
A frontend team manages about 15 internal npm packages in a monorepo, publishing artifacts to a Nexus registry. Their build approach targets unbundled ESM outputs plus a bundled CommonJS build for running Jest: they use Rollup with peer-deps-externals, run the TypeScript compiler for type checking, and emit .mjs/.cjs entrypoints and separate type files. They rely on package.json exports and sideEffects:false to enable tree-shaking, found ES2017 output reduces bundle size by ~30%, bundling for Jest halves test time, and Babel pure annotations remove unused top-level helpers.
AI-written summary · about
chapters (6)
- 0:00Introduction to Innersource
- 4:59Caring Innersource
- 16:37Building the library
- 27:46Tools and configuration
- 39:28Metrics and optimization
- 44:51Q&A
related talks
39mManaging an Open Source Project
28mInner Source
27mnpm i g @next and beyond: Building the future of package management
37mREI's Expedition into Open Source
30mHappy Developers, Healthy Modules - Together We Can Do This
23mCover Your Apps While Still Using npm
29mTop 5 Myths of InnerSource
27mOpen Source Sustainability and Our Corporate Social Responsibility
