diff --git a/renovate.json b/renovate.json index 5e971bed2..d77c07229 100644 --- a/renovate.json +++ b/renovate.json @@ -44,6 +44,14 @@ } ], "packageRules": [ + { + "description": "Batch non-major npm updates into one weekly PR. Docusaurus keeps its own monorepo group; linters and Playwright rules below override this group.", + "matchManagers": ["npm"], + "matchUpdateTypes": ["minor", "patch"], + "matchPackageNames": ["!@docusaurus/**"], + "groupName": "npm dependencies", + "automerge": true + }, { "extends": ["packages:linters"], "matchPackageNames": ["husky", "lint-staged", "globals", "remark-*"], @@ -73,6 +81,13 @@ "matchManagers": ["nvm"], "rangeStrategy": "replace" }, + { + "description": "Move Node.js majors in .nvmrc, package.json engines, and setup-node together.", + "matchDepNames": ["node"], + "matchUpdateTypes": ["major"], + "groupName": "Node.js", + "groupSlug": "node-major" + }, { "matchManagers": ["custom.regex"], "matchFileNames": ["/^docs/toolhive/guides-mcp//"], @@ -104,7 +119,12 @@ "description": "Keep the Playwright npm package and browser images on the same version.", "matchPackageNames": ["@playwright/test", "mcr.microsoft.com/playwright"], "groupName": "Playwright", - "groupSlug": "playwright" + "groupSlug": "playwright", + "automerge": false, + "minimumReleaseAge": "3 days", + "minimumReleaseAgeBehaviour": "timestamp-optional", + "internalChecksFilter": "strict", + "prCreation": "not-pending" } ] }