@nrwl/nx-plugin:executor
Create a Executor for an Nx Plugin.
Usage
nx generate executor ...By default, Nx will search for executor in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/nx-plugin:executor ...Show what will be generated without writing to disk:
nx g executor ... --dry-runExamples
Generate libs/my-plugin/src/executors/my-executor:
nx g executor my-executor --project=my-pluginOptions
description
d
string
Executor description.
name
Required
string
Executor name.
project
pRequired
string
The name of the project.
unitTestRunner
string
Default:
jestAccepted values:
jest, noneTest runner to use for unit tests.