Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com> Co-authored-by: Jack Hsu <jack.hsu@gmail.com> Co-authored-by: Colum Ferry <cferry09@gmail.com> Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com> Co-authored-by: Emily Xiong <xiongemi@gmail.com> Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
52 lines
2.0 KiB
JSON
52 lines
2.0 KiB
JSON
{
|
|
"name": "cypress-component-configuration",
|
|
"implementation": "/packages/remix/src/generators/cypress-component-configuration/cypress-component-configuration.impl#cypressComponentConfigurationGeneratorInternal.ts",
|
|
"schema": {
|
|
"$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"],
|
|
"presets": []
|
|
},
|
|
"description": "Generate a Cypress Component Testing configuration for a Remix project",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/remix/src/generators/cypress-component-configuration/schema.json",
|
|
"type": "generator"
|
|
}
|