nx/packages/react/generators.json
Colum Ferry 8290969cb7
feat(storybook): remove cypress options for e2e testing (#27850)
- feat(storybook): remove cypress options from configuration generator
- feat(react): remove cypress options from storybook-configuration
- feat(react): remove cypress options from stories generator
- feat(react): remove component-cypress-spec generator
- chore(storybook): restore @nx/cypress dep
- feat(remix): remove cypress options from storybook
- feat(angular): remove cypress options from storybook-configuration
- feat(angular): remove cypress options from stories generator
- feat(angular): remove component-cypress-spec generator
- feat(vue): remove cypress options from stories generator

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
With Storybook Interaction Testing, there's no longer a need to setup
Cypress to specifically test storybook instances


## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
Remove cypress options for creating an e2e project specifically for
testing storybook instances.

Use Storybook Interaction Testing instead

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-09-24 15:54:58 +01:00

107 lines
4.1 KiB
JSON

{
"name": "Nx React",
"version": "0.1",
"extends": ["@nx/workspace"],
"generators": {
"init": {
"factory": "./src/generators/init/init#reactInitGenerator",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the `@nx/react` plugin.",
"aliases": ["ng-add"],
"hidden": true
},
"application": {
"factory": "./src/generators/application/application#applicationGeneratorInternal",
"schema": "./src/generators/application/schema.json",
"aliases": ["app"],
"x-type": "application",
"description": "Create a React application."
},
"library": {
"factory": "./src/generators/library/library#libraryGeneratorInternal",
"schema": "./src/generators/library/schema.json",
"aliases": ["lib"],
"x-type": "library",
"description": "Create a React library."
},
"component": {
"factory": "./src/generators/component/component",
"schema": "./src/generators/component/schema.json",
"description": "Create a React component.",
"aliases": ["c"]
},
"redux": {
"factory": "./src/generators/redux/redux",
"schema": "./src/generators/redux/schema.json",
"description": "Create a Redux slice for a project.",
"aliases": ["slice"]
},
"storybook-configuration": {
"factory": "./src/generators/storybook-configuration/configuration#storybookConfigurationGeneratorInternal",
"schema": "./src/generators/storybook-configuration/schema.json",
"description": "Set up storybook for a React app or library.",
"hidden": false
},
"component-story": {
"factory": "./src/generators/component-story/component-story#componentStoryGenerator",
"schema": "./src/generators/component-story/schema.json",
"description": "Generate storybook story for a React component",
"hidden": false
},
"stories": {
"factory": "./src/generators/stories/stories#storiesGenerator",
"schema": "./src/generators/stories/schema.json",
"description": "Create stories/specs for all components declared in an app or library.",
"hidden": false
},
"hook": {
"factory": "./src/generators/hook/hook",
"schema": "./src/generators/hook/schema.json",
"description": "Create a hook.",
"aliases": ["c"]
},
"host": {
"factory": "./src/generators/host/host",
"schema": "./src/generators/host/schema.json",
"x-type": "application",
"description": "Generate a host react application"
},
"remote": {
"factory": "./src/generators/remote/remote",
"schema": "./src/generators/remote/schema.json",
"x-type": "application",
"description": "Generate a remote react application"
},
"cypress-component-configuration": {
"factory": "./src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfigGenerator",
"schema": "./src/generators/cypress-component-configuration/schema.json",
"description": "Setup Cypress component testing for a React project",
"hidden": false
},
"component-test": {
"factory": "./src/generators/component-test/component-test#componentTestGenerator",
"schema": "./src/generators/component-test/schema.json",
"description": "Generate a Cypress component test for a React component",
"hidden": false
},
"setup-tailwind": {
"factory": "./src/generators/setup-tailwind/setup-tailwind#setupTailwindGenerator",
"schema": "./src/generators/setup-tailwind/schema.json",
"description": "Set up Tailwind configuration for a project.",
"hidden": false
},
"setup-ssr": {
"factory": "./src/generators/setup-ssr/setup-ssr#setupSsrGenerator",
"schema": "./src/generators/setup-ssr/schema.json",
"description": "Set up SSR configuration for a project.",
"hidden": false
},
"federate-module": {
"factory": "./src/generators/federate-module/federate-module#federateModuleGenerator",
"schema": "./src/generators/federate-module/schema.json",
"description": "Federate a module.",
"hidden": false
}
}
}