Angular Libraries - podcast episode cover

Angular Libraries

Mar 19, 202058 minEp. 4
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Angular Libraries are where you turn your modules into npm packages that can be used in other Angular applications.  John and Chris dive into this subject going over concepts and terms.  Then talk about how to build out and structure your libraries, along with plenty of tips and gotchas.  They even go into how to handle distributing your packages using your own repository manager and semantic versioning.


Quick Tips:

npx and how to use a package without installing it

using rxjs take(1) to fake http calls using a subject


Links:

https://angular.io/guide/libraries

https://github.com/milestechnologies/ngx-package-starter

https://www.npmjs.com/package/npx

https://www.learnrxjs.io/learn-rxjs/operators/filtering/take

https://www.npmjs.com/package/ng-packagr

https://docs.npmjs.com/misc/semver

https://www.sonatype.com/nexus-repository-oss


Music: Phortitude by Shane Ivers - https://www.silvermansound.com

For the best experience, listen in Metacast app for iOS or Android