@nx/plugin:e2e-project
Create an E2E app for a Nx Plugin.
Create an E2E app for a Nx Plugin.
Scaffolds an E2E project for the plugin my-plugin
.
1nx g @nx/plugin:e2e-project --pluginName my-plugin --npmPackageName my-plugin --pluginOutputPath dist/my-plugin
2
1nx generate e2e-project ...
2
By default, Nx will search for e2e-project
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/plugin:e2e-project ...
2
Show what will be generated without writing to disk:
1nx g e2e-project ... --dry-run
2
the package name of the plugin as it would be published to NPM.
the project name of the plugin to be tested.
the output path of the plugin after it builds.
Jest config file.
eslint
eslint
, none
The tool to use for running lint checks.
false
Generate the e2e project with a minimal setup. This would involve not generating tests for a default executor and generator.
the directory where the plugin is placed.
false
Skip formatting files.
Watch the replays of exciting talks on developer tooling and monorepos! Catch all the insightful presentations from the event on our YouTube channel.