diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 260e925..ddeee67 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,6 +4,13 @@ packages: linkWorkspacePackages: true preferWorkspacePackages: true +# Only install versions published at least a day ago. This is pnpm's default +# since v11; it is stated here so renovate.json can match it. playcanvas is +# first-party, so engine updates are exempt and install as soon as released. +minimumReleaseAge: 1440 +minimumReleaseAgeExclude: + - playcanvas + # pnpm 10 skipped these install scripts with a warning; pnpm 11+ fails the # install unless each one is explicitly allowed or denied. allowBuilds: diff --git a/renovate.json b/renovate.json index f8783df..77c3717 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,8 @@ { "matchManagers": ["npm"], "groupName": "all npm dependencies", - "schedule": ["on monday at 10:00am"] + "schedule": ["on monday at 10:00am"], + "minimumReleaseAge": "1 day" }, { "matchDepTypes": ["devDependencies"], @@ -16,6 +17,7 @@ "rangeStrategy": "widen" }, { + "description": "pnpm-workspace.yaml exempts playcanvas from pnpm's minimumReleaseAge, so engine updates can land as soon as they are released", "matchPackageNames": ["playcanvas"], "groupName": "playcanvas", "prCreation": "immediate",