-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Description
What would you like?
- Add a section for
Package Managerin the Get Started > Install Cypress > System requirements section - Add the following list of supported package managers:
- npm
8.6.0and above (corresponds to npm version packaged with Node.js18.0.0) - Yarn Classic
1.22.22and above - Yarn Modern
4.xand above
for Component testing, withnodeLinker: "node-modules"configuration only - pnpm
8.xand above
- npm
- Move any generic installation instructions, which are not Cypress specific, down to this section.
- Separate out Cypress-specific installation instructions and keep these in the Get Started > Install Cypress section.
Why is this needed?
- Although npm, Yarn and pnpm are listed as supported, there is no information about which versions are supported.
- Descriptions in Get Started > Install Cypress mix up the reference to specific package managers. Generic and Cypress-specific instructions are put together instead of being clearly separated.
- Yarn Classic and Yarn Modern are different products with a combination of similarities and major incompatibilities, so it is not clear, when referring to Yarn, whether Yarn Classic or Yarn Modern or both are meant.
- Instructions for how to install Yarn are missing. If these instructions are added, they should take account of the fact that Yarn 1 Classic and Yarn Modern are to be installed differently from each other.
- Instructions for how to install pnpm using npm are incorrect if Corepack is enabled. Refer to pnpm Installation for full instructions.
Other
Related to: