Create and publish Angular libs like a Pro
summary
Shows how to package an Angular lib that produces ESM2015, FESM2015, ESM5 and UMD bundles plus .d.ts files, using the Angular Package Format and tools like ngc and rollup for compilation and bundling, then automates semantic versioning and publish to NPM with semantic-release (CI via Travis), with a demo release published as 0.1.0. Includes alternatives: Yeoman generator and ng-packagr to skip manual steps.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:22Quality.
- 3:28Statically analyzable Tree shakeable Dead code elimination
- 4:31Set of guidelines & well tested best practices
- 4:54support tools bundle size build time
- 5:39In Practice
- 6:06Create a dedicated Library Project
- 7:30Preparation: INLINE ASSETS
- 13:40FESM (Flat ECMAScript Modules)
- 13:52COMPILING TO FESM2015
- 16:28COMPILING TO FESM5
- 21:00AUTOMATE (VERSIONING & DEPLOYMENT)
- 27:00Smallest set of logically connected code
related talks
28mCreate & Publish Angular Libs like a PRO
24mPackages for Angular
16mLet's plant our Angular Tree
26mAngular Libraries: from zero to Open Source
28mPackaging Angular
22mConfiguring Angular Libraries with Monorepos
20mHow I love being ejected: Customizing your Angular build with Bazel
01h 55mDiY Angular Compiler
