@kv-systems/ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
36 lines (24 loc) • 664 B
Markdown
Integration Testing for `ng-packagr`
====================================
## Steps to reproduce
#### Sample Libraries
Build the sample libraries and prepare dist packages for linking:
```bash
yarn samples
cd integration/sample_custom/dist
yarn link
cd integration/sample_material/dist
yarn link
```
#### Angular CLI
Build an `ng` CLI consumer app:
```bash
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`