@nx/playwright:configuration
Add a Playwright configuration.
Webinar April 17: Making the Argument for MonoreposWebinar April 17: Making the Argument for MonoreposRegister now!
Add a Playwright configuration.
1nx generate configuration ...
2
By default, Nx will search for configuration
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/playwright:configuration ...
2
Show what will be generated without writing to disk:
1nx g configuration ... --dry-run
2
The project to add a Playwright configuration to.
e2e
A directory where the project is placed relative from the project root.
false
Generate JavaScript files rather than TypeScript files.
eslint
eslint
, none
The tool to use for running lint checks.
false
Whether or not to configure the ESLint parserOptions.project
option. We do not do this by default for lint performance reasons.
false
Skip running playwright install
. This is to ensure that playwright browsers are installed.
The command to start the web server.
The address of the web server.
false
Create a application at the root of the workspace
false
Skip formatting files.
false
Do not add dependencies to package.json
.