-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup(testing): rename cypress-component-project to cypress-compone…
…nt-configuration (#16382)
- Loading branch information
1 parent
f91920d
commit 43a7d77
Showing
25 changed files
with
100 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
docs/generated/packages/cypress/generators/cypress-component-configuration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "cypress-component-configuration", | ||
"factory": "./src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfiguration", | ||
"schema": { | ||
"$schema": "http://json-schema.org/schema", | ||
"$id": "NxCypressComponentConfiguration", | ||
"cli": "nx", | ||
"title": "Set up Cypress component testing for a project", | ||
"description": "Set up Cypress component test for a project.", | ||
"type": "object", | ||
"examples": [ | ||
{ | ||
"command": "nx g @nrwl/cypress:cypress-component-configuration --project=my-cool-lib ", | ||
"description": "Add cypress component testing to an existing project named my-cool-lib" | ||
} | ||
], | ||
"properties": { | ||
"project": { | ||
"type": "string", | ||
"description": "The name of the project to add cypress component testing to", | ||
"$default": { "$source": "projectName" }, | ||
"x-prompt": "What project should we add Cypress component testing to?" | ||
}, | ||
"bundler": { | ||
"description": "The Cypress bundler to use.", | ||
"type": "string", | ||
"enum": ["vite", "webpack"], | ||
"x-prompt": "Which Cypress bundler do you want to use for the dev-server?", | ||
"default": "webpack" | ||
} | ||
}, | ||
"required": ["project"], | ||
"examplesFile": "This is a framework-agnostic generator for adding component testing to a project.\n\n```bash\nnx g cypress-component-configuration --project=my-cool-project\n```\n\nRunning this generator, adds the required files to the specified project without any configurations for Cypress. It's best to use the framework specific generator, instead `cypress-component-configuration` directly\n\n- [React component testing](/packages/react/generators/cypress-component-configuration)\n- [Angular component testing](/packages/angular/generators/cypress-component-configuration)\n\nA new `component-test` target will be added to the specified project.\n\n```bash\nnx g component-test my-cool-project\n```\n\nRead more about [Cypress Component Testing](/cypress/cypress-component-testing)\n", | ||
"presets": [] | ||
}, | ||
"description": "Set up Cypress Component Test for a project", | ||
"hidden": true, | ||
"implementation": "/packages/cypress/src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfiguration.ts", | ||
"aliases": [], | ||
"path": "/packages/cypress/src/generators/cypress-component-configuration/schema.json", | ||
"type": "generator" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ocs/cypress-component-project-examples.md → ...press-component-configuration-examples.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export { cypressProjectGenerator } from './src/generators/cypress-project/cypress-project'; | ||
export { cypressInitGenerator } from './src/generators/init/init'; | ||
export { conversionGenerator } from './src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint'; | ||
export { cypressComponentProject } from './src/generators/cypress-component-project/cypress-component-project'; | ||
export { cypressComponentConfiguration } from './src/generators/cypress-component-configuration/cypress-component-configuration'; | ||
export { migrateCypressProject } from './src/generators/migrate-to-cypress-11/migrate-to-cypress-11'; | ||
export { cypressE2EConfigurationGenerator } from './src/generators/cypress-e2e-configuration/cypress-e2e-configuration'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
43a7d77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nx-dev – ./
nx-dev-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app