docs(testing): redirect cy 10 generator to cy 11 (#14045)
Fixes https://github.com/nrwl/nx/issues/14000
This commit is contained in:
parent
b47e3ae1dc
commit
a04a2ea00b
@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
@ -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',
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user