@nrwl/nx-plugin:plugin
Create a Plugin for Nx.
Create a Plugin for Nx.
nx generate plugin ...
By default, Nx will search for plugin in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/nx-plugin:plugin ...
Show what will be generated without writing to disk:
nx g plugin ... --dry-run
Generate libs/plugins/my-plugin:
nx g plugin my-plugin --directory=plugins --importPath=@myorg/my-plugin
Plugin name
How the plugin will be published, like @myorg/my-awesome-plugin. Note this must be a valid NPM name.
tsctsc, swcThe compiler used by the build and test targets.
A directory where the plugin is placed.
jestjest, noneTest runner to use for end to end (E2E) tests.
eslinteslintThe tool to use for running lint checks.
falseGenerate the plugin with a minimal setup. This would involve not generating a default executor and generator.
falseDo not eslint configuration for plugin json files.
falseWhether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
Add tags to the library (used for linting).
jestjest, noneTest runner to use for unit tests.
falseSkip formatting files.
falseDo not update tsconfig.json for development experience.
trueSplit the project configuration into <projectRoot>/project.json rather than including it inside workspace.json.
Nx only supports standaloneConfig