Skip to content

chore(deps): set Yarn Modern minimumReleaseAge to 7d (7 days)#1818

Merged
mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:yarn-modern-7-day-release-age
Jul 2, 2026
Merged

chore(deps): set Yarn Modern minimumReleaseAge to 7d (7 days)#1818
mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:yarn-modern-7-day-release-age

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Situation

The renovate.json configuration includes:

    "minimumReleaseAge": "7 days",
    {
      "matchPackageNames": ["cypress"],
      "minimumReleaseAge": "0 days"
    }

Yarn Modern examples are set up with npmMinimalAgeGate set to 3d (3 days).

An exception for cypress is in place using npmPreapprovedPackages.

Change

In Yarn Modern examples:

update npmMinimalAgeGate:

BEFORE AFTER
3d (3 days) 7d (7 days)

Refresh yarn.lock files as yarn up --recursive does not update transient dependencies as documented.

rm -rf node_modules # only relevant for non-pnp
rm yarn.lock
touch yarn.lock
yarn

Verification

Using Ubuntu 24.04.4 LTS with Node.js 24.18.0 LTS execute:

corepack enable yarn
git clean -xfd
cd examples
cd yarn-modern
yarn
cd ..
cd yarn-modern-pnp
yarn
cd ..
cd ..

Yarn should complete with no errors or warnings.


Note

Low Risk
Example-only Yarn config and lockfile updates with no production runtime or auth changes.

Overview
Raises npmMinimalAgeGate from 3d to 7d in the yarn-modern and yarn-modern-pnp example .yarnrc.yml files (with a short comment on the unit), matching Renovate’s minimumReleaseAge: "7 days" so example policy stays consistent. The existing cypress npmPreapprovedPackages exception is unchanged.

Both example yarn.lock files were regenerated; transient bumps include qs 6.15.2 → 6.15.3 (dependency tweaks on side-channel) and systeminformation 5.31.7 → 5.31.11.

Reviewed by Cursor Bugbot for commit b4c062a. Bugbot is set up for automated code reviews on this repo. Configure here.

@MikeMcC399 MikeMcC399 self-assigned this Jul 2, 2026
@cypress-app-bot

Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 added type: enhancement New feature or request renovate labels Jul 2, 2026
@MikeMcC399
MikeMcC399 force-pushed the yarn-modern-7-day-release-age branch from 46e4a94 to b4c062a Compare July 2, 2026 12:57
@MikeMcC399
MikeMcC399 marked this pull request as ready for review July 2, 2026 13:02
@MikeMcC399
MikeMcC399 requested a review from mschile July 2, 2026 13:03
@mschile
mschile merged commit ea66a8c into cypress-io:master Jul 2, 2026
94 checks passed
@MikeMcC399
MikeMcC399 deleted the yarn-modern-7-day-release-age branch July 2, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants