mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-01 05:03:13 +00:00
chore(renovate): add frontend overlay with three-day release age (#142)
* chore(renovate): add Renovate frontend overlay config * fix: adjust config results for TanStack, packageManager, and package.json
This commit is contained in:
parent
f11e8a5d13
commit
3fb629dee3
1 changed files with 67 additions and 0 deletions
67
.github/renovate.json
vendored
Normal file
67
.github/renovate.json
vendored
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"enabledManagers": ["npm", "custom.regex"],
|
||||
"minimumReleaseAge": "3 days",
|
||||
"internalChecksFilter": "strict",
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Playwright image tag in CI must match @playwright/test",
|
||||
"managerFilePatterns": ["/^\\.github/workflows/ci\\.ya?ml$/"],
|
||||
"matchStrings": [
|
||||
"mcr\\.microsoft\\.com/playwright:v(?<currentValue>\\d+\\.\\d+\\.\\d+)-noble"
|
||||
],
|
||||
"datasourceTemplate": "npm",
|
||||
"depNameTemplate": "@playwright/test",
|
||||
"versioningTemplate": "npm"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": ["Do not open major or replacement PRs until approved on the dashboard"],
|
||||
"matchUpdateTypes": ["major", "replacement"],
|
||||
"dependencyDashboardApproval": true
|
||||
},
|
||||
{
|
||||
"description": [
|
||||
"Do not open Playwright PRs until approved; image and upload-artifact share a Node runtime"
|
||||
],
|
||||
"matchPackageNames": ["@playwright/test"],
|
||||
"dependencyDashboardApproval": true,
|
||||
"groupName": "playwright"
|
||||
},
|
||||
{
|
||||
"description": ["Keep MUI packages together"],
|
||||
"matchPackageNames": ["@mui/**"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"groupName": "mui"
|
||||
},
|
||||
{
|
||||
"description": ["Keep React and its type packages together"],
|
||||
"matchPackageNames": ["react", "react-dom", "@types/react", "@types/react-dom"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"groupName": "react"
|
||||
},
|
||||
{
|
||||
"description": ["Keep FullCalendar packages together"],
|
||||
"matchPackageNames": ["@fullcalendar/**"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"groupName": "fullcalendar"
|
||||
},
|
||||
{
|
||||
"description": ["Do not bump package.json engines"],
|
||||
"matchDepTypes": ["engines"],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": ["Do not bump packageManager"],
|
||||
"matchDepTypes": ["packageManager"],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": ["Keep TanStack Query packages on one version"],
|
||||
"matchPackageNames": ["@tanstack/**"],
|
||||
"groupName": "tanstack query"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue