mirror of
https://github.com/mui/material-ui.git
synced 2026-10-28 08:26:16 +08:00
113 lines
3.8 KiB
JSON
113 lines
3.8 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["github>mui/mui-public//renovate/default"],
|
|
"schedule": "* 0-4 * * 7",
|
|
"lockFileMaintenance": {
|
|
"schedule": "* 0-4 1 * *"
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"description": "Update Node.js versions in CircleCI download URLs",
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["/^\\.circleci\\/config\\.yml$/"],
|
|
"matchStrings": [
|
|
"curl -fsSL https://nodejs\\.org/dist/v(?<currentValue>\\d+\\.\\d+\\.\\d+)/node-v\\d+\\.\\d+\\.\\d+-linux-x64\\.tar\\.gz"
|
|
],
|
|
"depNameTemplate": "node",
|
|
"datasourceTemplate": "node-version",
|
|
"versioningTemplate": "node",
|
|
"autoReplaceStringTemplate": "curl -fsSL https://nodejs.org/dist/v{{{newValue}}}/node-v{{{newValue}}}-linux-x64.tar.gz"
|
|
},
|
|
{
|
|
"description": "Track the @docsearch/css version pinned in the jsDelivr CDN URL as an npm dependency so Renovate bumps it (grouped with @docsearch/react).",
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^packages-internal\\/core-docs\\/src\\/AppLayout\\/components\\/AppSearch\\.tsx$/"
|
|
],
|
|
"matchStrings": ["@docsearch/css@(?<currentValue>[\\d.]+)/dist/"],
|
|
"depNameTemplate": "@docsearch/css",
|
|
"datasourceTemplate": "npm"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"groupName": "Pigment CSS",
|
|
"matchPackageNames": ["@pigment-css/*"]
|
|
},
|
|
{
|
|
"groupName": "Emotion",
|
|
"description": "Keep stylis in sync with emotion to avoid duplicated stylis versions in the bundle.",
|
|
"matchPackageNames": ["@emotion/*", "stylis", "@types/stylis"]
|
|
},
|
|
{
|
|
"groupName": "DocSearch",
|
|
"description": "Keep the pinned @docsearch/css CDN link (AppSearch.tsx, tracked via customManagers) in lockstep with the @docsearch/react package.",
|
|
"matchPackageNames": ["@docsearch/react", "@docsearch/css"]
|
|
},
|
|
{
|
|
"groupName": "Font awesome SVG icons",
|
|
"matchPackageNames": "@fortawesome/*"
|
|
},
|
|
{
|
|
"groupName": "MUI X",
|
|
"matchPackageNames": ["@mui/x-*"]
|
|
},
|
|
{
|
|
"groupName": "lerna",
|
|
"description": "Keep the root nx pin (needed by nx.json) on the version lerna depends on, so pnpm installs a single copy of nx.",
|
|
"matchPackageNames": ["lerna", "nx"]
|
|
},
|
|
{
|
|
"groupName": "bundling fixtures",
|
|
"matchFileNames": ["test/bundling/fixtures/**/package.json"],
|
|
"schedule": "* * 1 1,7 *"
|
|
},
|
|
{
|
|
"description": "Prevent major version updates of bundler/framework packages in bundling fixtures",
|
|
"matchFileNames": ["test/bundling/fixtures/**/package.json"],
|
|
"matchPackageNames": [
|
|
"esbuild",
|
|
"gatsby",
|
|
"next",
|
|
"rollup",
|
|
"snowpack",
|
|
"vite",
|
|
"webpack",
|
|
"@types/react**",
|
|
"react**"
|
|
],
|
|
"matchUpdateTypes": ["major"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"groupName": "examples",
|
|
"matchFileNames": ["examples/**/package.json"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"groupName": "envinfo tests",
|
|
"matchFileNames": ["packages/mui-envinfo/test/package.json"],
|
|
"matchPackageNames": ["@mui/*"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"groupName": "codemod tests",
|
|
"description": "Prevent renovate from renaming @material-ui/core to @mui/material in the codemod tests.",
|
|
"matchFileNames": ["packages/mui-codemod/package.json"],
|
|
"matchPackageNames": ["@material-ui/core"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"matchPackageNames": ["mcr.microsoft.com/playwright"],
|
|
"matchCurrentVersion": "v1.49.1-noble",
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Keep the consumer test on the latest stable release of TypeScript 5.",
|
|
"matchFileNames": ["test/typescriptMinimum/package.json"],
|
|
"matchPackageNames": ["typescript"],
|
|
"allowedVersions": ">=5.0.0 <6.0.0"
|
|
}
|
|
]
|
|
}
|