@rxap/plugin-library-schematics (Nx/Ng Plugin)
A builder to compile angular library schematics.
Installation
Add the plugin to your workspace:
yarn add @rxap/plugin-library-schematics
Configure the builder @rxap/plugin-library-schematics for a project:
ng g @rxap/plugin-library-schematics:config [project]
Add a schematics configuration and the @plugin-library-schematics:build to the specified project
Schematics
config
Add a schematics configuration and the @plugin-library-schematics:build to the specified project
ng g @rxap/plugin-library-schematics:config
Option | Type | Default | Description |
---|---|---|---|
project | string | The name of the project. | |
skipBuild | boolean | false | Sets the default skipBuild option. |
onlyBuilder | boolean | false | Whether only the builder configuration should be added. |
Required |
---|
project |
Builder
build
Builds the library schematics and copy all files into the out path
Builder name
@rxap/plugin-library-schematics:build
Option | Type | Default | Description |
---|---|---|---|
buildTarget | string | The build target that where the output path is defined | |
tsConfig | string | The schematics ts config file |
update-package-group
Updates the package group array in the package.json
Builder name
@rxap/plugin-library-schematics:update-package-group
Option | Type | Default | Description |
---|