Skip to content

pnpm@11 defaults prevent updating Cypress directly after release #1762

@MikeMcC399

Description

@MikeMcC399

Situation

pnpm@11.0.0 introduced a breaking change of setting the configuration parameter minimumReleaseAge to 1440 minutes (1 day).

Attempting to install cypress@latest immediately after a release, falls back to installing a previous version that satisfies the requirements minimumReleaseAge. This is a disadvantage when running the npm script update:cypress to update Cypress to the latest version for each package manager (npm, pnpm, Yarn v1 & Yarn Modern), as it leaves the pnpm examples lagging behind.

Note: this does not affect updates carried out by Renovate.

Suggestion

Configure the pnpm examples with minimumReleaseAgeExclude for cypress:

Increase minimumReleaseAge to 4320 minutes (3 days)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions