docs(testing): redirect cy 10 generator to cy 11 (#14045)

Fixes https://github.com/nrwl/nx/issues/14000
This commit is contained in:
Caleb Ukle 2022-12-28 14:13:06 -06:00 committed by GitHub
parent b47e3ae1dc
commit a04a2ea00b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -6,6 +6,14 @@ Before continuing, make sure you have all your changes committed and have a clea
You can migrate an E2E project to v11 by running the following command: You can migrate an E2E project to v11 by running the following command:
{% callout type="note" title="Generator Naming Changes" %}
If your nx version is below v15.3.0, this migration is called `migrate-to-cypress-10`.
From v15.3.0+ this generator is called `migrate-to-cypress-11`.
As of nx v15.1.0, if your project was already using Cypress v10, then your project will be migrated to Cypress v11 via the [standard nx migration process](/core-features/automate-updating-dependencies)
{% /callout %}
```shell ```shell
nx g @nrwl/cypress:migrate-to-cypress-11 nx g @nrwl/cypress:migrate-to-cypress-11
``` ```

View File

@ -6,6 +6,14 @@ Before continuing, make sure you have all your changes committed and have a clea
You can migrate an E2E project to v11 by running the following command: You can migrate an E2E project to v11 by running the following command:
{% callout type="note" title="Generator Naming Changes" %}
If your nx version is below v15.3.0, this migration is called `migrate-to-cypress-10`.
From v15.3.0+ this generator is called `migrate-to-cypress-11`.
As of nx v15.1.0, if your project was already using Cypress v10, then your project will be migrated to Cypress v11 via the [standard nx migration process](/core-features/automate-updating-dependencies)
{% /callout %}
```shell ```shell
nx g @nrwl/cypress:migrate-to-cypress-11 nx g @nrwl/cypress:migrate-to-cypress-11
``` ```

View File

@ -163,6 +163,8 @@ const guideUrls = {
'/structure/project-graph-plugins': '/extending-nx/project-graph-plugins', '/structure/project-graph-plugins': '/extending-nx/project-graph-plugins',
'/guides/lerna-and-nx': '/migration/lerna-and-nx', '/guides/lerna-and-nx': '/migration/lerna-and-nx',
'/cypress/v10-migration-guide': '/cypress/v11-migration-guide', '/cypress/v10-migration-guide': '/cypress/v11-migration-guide',
'/cypress/generators/migrate-to-cypress-10':
'/cypress/generators/migrate-to-cypress-11',
}; };
/** /**