UNPKG

@nx/remix

Version:

The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Vitest, Jest, Playwright, Cypress, and Storybook. - Generators for applica

42 lines (41 loc) 1.5 kB
{ "$schema": "https://json-schema.org/schema", "cli": "nx", "$id": "NxRemixCypressComponentTestConfiguration", "title": "Add Cypress component testing", "description": "Add a Cypress component testing configuration to an existing project.", "type": "object", "examples": [ { "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project", "description": "Add component testing to your Remix project" }, { "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project --generate-tests", "description": "Add component testing to your Remix project and generate component tests for your existing components" } ], "properties": { "project": { "type": "string", "description": "The name of the project to add cypress component testing configuration to", "x-dropdown": "projects", "x-prompt": "What project should we add Cypress component testing to?", "x-priority": "important" }, "generateTests": { "type": "boolean", "description": "Generate default component tests for existing components in the project", "x-prompt": "Automatically generate tests for components declared in this project?", "default": false, "x-priority": "important" }, "skipFormat": { "type": "boolean", "description": "Skip formatting files", "default": false, "x-priority": "internal" } }, "required": ["project"] }