You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[corepack](https://github.com/nodejs/corepack). This is currently installed with [Node.js](https://nodejs.org/). Due to plans of Node.js to remove it in versions Node.js `25.x` and later, you may need to install it separately with `npm install -g corepack`.
24
24
25
-
-[pnpm](https://pnpm.io/) installed through:
26
-
27
-
```bash
28
-
npm install pnpm@latest -g
29
-
```
30
-
31
25
-[Visual Studio Code](https://code.visualstudio.com/) or other editor
32
26
33
27
Under Microsoft Windows it may be necessary to also execute the following preparatory command:
@@ -52,6 +46,10 @@ This updates all [examples](../examples) to cypress@latest.
52
46
53
47
After updating the examples locally, they can be committed with git and a pull request opened on GitHub.
54
48
49
+
### Updating pnpm examples
50
+
51
+
The script [/scripts/update-cypress-latest-pnpm.sh](../scripts/update-cypress-latest-pnpm.sh) (which is invoked through `npm run update:cypress` to update the pnpm examples) runs [pnpm](https://pnpm.io/) as an `npm` global install. It leaves pnpm installed and Corepack disabled for pnpm on completion.
52
+
55
53
### Updating Yarn examples
56
54
57
-
The script [/scripts/update-cypress-latest-yarn.sh](../scripts/update-cypress-latest-yarn.sh) (which is invoked through `npm run update:cypress` to update the Yarn examples) runs [Yarn 1 (Classic)](https://classic.yarnpkg.com/) as an `npm` global install, runs [Yarn Modern](https://yarnpkg.com/) through Corepack and returns Corepack to its default disabled state on completion.
55
+
The script [/scripts/update-cypress-latest-yarn.sh](../scripts/update-cypress-latest-yarn.sh) (which is invoked through `npm run update:cypress` to update the Yarn examples) runs [Yarn 1 (Classic)](https://classic.yarnpkg.com/) as an `npm` global install and runs [Yarn Modern](https://yarnpkg.com/) through Corepack. It leaves Yarn Classic installed and Corepack disabled for Yarn on completion.
0 commit comments