build-angular 0.5.0
Install from the command line:
Learn more about npm packages
$ npm install @topicusonderwijs/build-angular@0.5.0
Install via package.json:
"@topicusonderwijs/build-angular": "0.5.0"
About this version
package name: @topicusonderwijs/build-angular
Custom @angular-devkit builders for the ParnasSys suite. These custom builders (read Angular builder decorators) extend default behavior with tailored actions like including schematics in the final build.
Check the fortytwo.parnassys.tech docs how to access the github registy.
Installation
Builders can simply be added to your node_modules:
yarn add @topicusonderwijs/build-angular
Usage
To use a builder instead of the default @Angular-devkit/build-angular, modify your angular.json
to use the new builder:
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
// [...]
"projects": {
"my-lib": {
"projectType": "library",
// [...]
"architect": {
"build": {
"builder": "@topicusonderwijs/build-angular:ng-packagr-with-schematics",
"options": {
"project": "projects/my-lib" // builder options
},
// [...]
-
@topicusonderwijs/build-angular:schematics
: Will build a 'schematic-only' project. -
@topicusonderwijs/build-angular:ng-packagr-with-schematics
: An extension to @angular-devkit/build-angular that automatically compiles and moves schematic files to the final build.