Skip to content

Commit

Permalink
Merge pull request #739 from hogashi/renovate/migrate-config
Browse files Browse the repository at this point in the history
Migrate renovate config
  • Loading branch information
hogashi authored Nov 8, 2024
2 parents 9339c41 + 325e77c commit e6943f8
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":automergeMinor"
],
"rebaseConflictedPrs": true,
"labels": ["renovate"],
"packageRules": [
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended", ":automergeMinor"],
labels: ["renovate"],
packageRules: [
{
"updateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"postUpdateOptions": ["yarnDedupeHighest"]
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
automerge: true,
postUpdateOptions: ["yarnDedupeHighest"],
},
{
"packagePatterns": ["^@types/react(|-dom)$"],
"groupName": "@types/react, @types/react-dom"
groupName: "@types/react, @types/react-dom",
matchPackageNames: ["/^@types/react(|-dom)$/"],
},
{
// don't create types and node patch update p-r
"matchPackagePatterns": ["^@types/", "^node$"],
"matchUpdateTypes": ["patch"],
"enabled": false
matchUpdateTypes: ["patch"],
enabled: false,
matchPackageNames: ["/^@types//", "/^node$/"],
},
{
"matchPackagePatterns": ["^node$"],
"prCreation": "immediate"
}
]
prCreation: "immediate",
matchPackageNames: ["/^node$/"],
},
],
}

0 comments on commit e6943f8

Please sign in to comment.