Skip to content

Add pnpm allow-build configuration information#6141

Merged
jennifer-shehane merged 1 commit intocypress-io:mainfrom
MikeMcC399:pnpm-10-install
Apr 7, 2025
Merged

Add pnpm allow-build configuration information#6141
jennifer-shehane merged 1 commit intocypress-io:mainfrom
MikeMcC399:pnpm-10-install

Conversation

@MikeMcC399
Copy link
Copy Markdown
Contributor

Issue

pnpm@10.0.0 includes a breaking change:

Lifecycle scripts of dependencies are not executed during installation by default!

cypress needs to be added to the allowlist configuration for pnpm life cycle scripts.

Change

A new sub-section "pnpm Configuration" is added to Install Cypress > Package Manager.

The previous caution for Yarn Configuration is converted into a sub-section for better readability.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 6, 2025

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bd8db5f

@cypress-app-bot
Copy link
Copy Markdown
Collaborator

@MikeMcC399
Copy link
Copy Markdown
Contributor Author

Preview

image

@MikeMcC399 MikeMcC399 marked this pull request as ready for review April 6, 2025 14:51
@jennifer-shehane jennifer-shehane merged commit fb8fd05 into cypress-io:main Apr 7, 2025
7 checks passed
@MikeMcC399 MikeMcC399 deleted the pnpm-10-install branch April 7, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpm v10 blocks Cypress binary installation by default

3 participants