~/talk

Create and publish Angular libs like a Pro

Talkat NG-BE 2017 · 2017-12-07..12-08· [angular, devops-and-delivery]
slides:none on file

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

  1. 0:00Start
  2. 1:22Quality.
  3. 3:28Statically analyzable Tree shakeable Dead code elimination
  4. 4:31Set of guidelines & well tested best practices
  5. 4:54support tools bundle size build time
  6. 5:39In Practice
  7. 6:06Create a dedicated Library Project
  8. 7:30Preparation: INLINE ASSETS
  9. 13:40FESM (Flat ECMAScript Modules)
  10. 13:52COMPILING TO FESM2015
  11. 16:28COMPILING TO FESM5
  12. 21:00AUTOMATE (VERSIONING & DEPLOYMENT)
  13. 27:00Smallest set of logically connected code
~/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.