@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
21nx generate e2e-project ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g e2e-project ... --dry-run
2the 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.
none, eslintThe tool to use for running lint checks.
falseGenerate 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.
Use a project.json configuration file instead of inlining the Nx configuration in the package.json file.
falseSkip formatting files.