ng build --pod

Angular Libraries


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

ng build --podBy ng build pod

  • 5
  • 5
  • 5
  • 5
  • 5

5

4 ratings