Skip to main content
00:00/00:00
Lecture 17 of 47

Modules vs. Packages

Download Course (Free)

Course Content

0 / 47 completed
Section 1: Course Overview1 videos

Course Overview

2m
Section 2: Introduction4 videos

Introduction

2m

Getting the Most out of This Course

1m

Demo Introducing the Sample App

1m

Course Outline

1m
Section 3: Understanding the Problem of Growing Applications4 videos

Introduction

1m

Architectural Blocks of an Angular Application

2m

Placing Libraries in a Growing Codebase

2m

Summary

1m
Section 4: Building a Typescript Library10 videos

Introduction Version

2m

Setting up the Environment

1m

Introduction to the Javascript Module System

1m

Demo Creating Your First Javascript Module

1m

Short Comparison of Javscript Modules Systems

3m

Demo Implement First Typescript Module

3m

Introduction Packages and NPM

1m

Modules vs. Packages

1mNow Playing

Demo Implement First Typescript Package

5m

Summary

1m
Section 5: Creating and Using Your First Angular Library13 videos

Introduction

1m

Requirements of a Library

1m

Angular Package Format

2m

Examine the ng-packagr

1m

Understanding the Libs Entryfile

3m

Demo Create a Library with ng-packagr

10m

Demo Examine the Demo Application

10m

Demo Creating a Library with the Angular CLI

4m

Demo Extracting a Component into the Library

7m

Demo Extracting a Service into a Library

4m

Demo Passing Configuration into a Library

3m

Demo Using Dependency Injection to Switch the Libraries Service

3m

Summary

1m
Section 6: Building, Packing, and Using the Library in Another Application9 videos

Introduction

1m

Intoducing Lint and Test Commands

1m

Demo Linting an Angular Library

3m

Demo Testing Angular Libraries

12m

Introducing Install, Link, and Pack Commands

1m

Demo Installing Libraries Locally with NPM Install

4m

Demo Using Angular Libraries with NPM Link

2m

Demo Using Angular Libraries with NPM Pack

3m

Summary

1m
Section 7: Deploying the Library to NPM6 videos

Introduction

1m

Dealing with Versions and Names of Packages

3m

Demo Versioning and Preparing the Libraries for Publishing

4m

Demo Publishing the Libraries to NPM

2m

Demo Installing and Using the Libraries

3m

Summary

1m