@nx/playwright:configuration
Add a Playwright configuration.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Add a Playwright configuration.
1nx generate configuration ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g configuration ... --dry-run
2The project to add a Playwright configuration to.
e2eA directory where the project is placed relative from the project root.
falseGenerate JavaScript files rather than TypeScript files.
eslinteslint, noneThe tool to use for running lint checks.
falseWhether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
falseSkip 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.
falseCreate a application at the root of the workspace
falseSkip formatting files.
falseDo not add dependencies to package.json.