Skip to content

Latest commit

 

History

History

integration

Integration Testing for ng-packagr

Steps to reproduce

Sample Libraries

Build the sample libraries and prepare dist packages for linking:

$ yarn samples
$ cd integration/sample_custom/dist
$ yarn link
$ cd integration/sample_material/dist
$ yarn link
Angular CLI

Build an ng CLI consumer app:

$ cd integration/consumer-ng-cli
$ yarn install
$ yarn link @sample/material
$ yarn link sample-material
$ yarn build:dev
$ yarn build:prod:jit
$ yarn build:prod:aot

Note: ng (and webpack under the hood) will resolve dependencies through symlinks in the local node_modules