nx/docs/angular/api-angular/executors/ng-packagr-lite.md
Matt Hodgson 5ee28743bc
fix(angular): honor buildableProjectDepsInPackageJsonType in angula… (#4760)
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-02-19 20:52:20 +01:00

892 B

ng-packagr-lite

Build an Angular library for incremental building

Properties can be configured in angular.json when defining the executor, or when invoking it.

Properties

buildableProjectDepsInPackageJsonType

Default: peerDependencies

Type: string

Possible values: dependencies, peerDependencies

When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies or dependencies

project

Type: string

The file path for the ng-packagr configuration file, relative to the current workspace.

tsConfig

Type: string

The full path for the TypeScript configuration file, relative to the current workspace.

updateBuildableProjectDepsInPackageJson

Default: true

Type: boolean

Update buildable project dependencies in package.json

watch

Default: false

Type: boolean

Run build when files change.