Examine the ng-packagr
Course Content
0 / 47 completedCourse Overview
Introduction
Getting the Most out of This Course
Demo Introducing the Sample App
Course Outline
Introduction
Architectural Blocks of an Angular Application
Placing Libraries in a Growing Codebase
Summary
Introduction Version
Setting up the Environment
Introduction to the Javascript Module System
Demo Creating Your First Javascript Module
Short Comparison of Javscript Modules Systems
Demo Implement First Typescript Module
Introduction Packages and NPM
Modules vs. Packages
Demo Implement First Typescript Package
Summary
Introduction
Requirements of a Library
Angular Package Format
Examine the ng-packagr
Understanding the Libs Entryfile
Demo Create a Library with ng-packagr
Demo Examine the Demo Application
Demo Creating a Library with the Angular CLI
Demo Extracting a Component into the Library
Demo Extracting a Service into a Library
Demo Passing Configuration into a Library
Demo Using Dependency Injection to Switch the Libraries Service
Summary
Introduction
Intoducing Lint and Test Commands
Demo Linting an Angular Library
Demo Testing Angular Libraries
Introducing Install, Link, and Pack Commands
Demo Installing Libraries Locally with NPM Install
Demo Using Angular Libraries with NPM Link
Demo Using Angular Libraries with NPM Pack
Summary
Introduction
Dealing with Versions and Names of Packages
Demo Versioning and Preparing the Libraries for Publishing
Demo Publishing the Libraries to NPM
Demo Installing and Using the Libraries
Summary