Skip to content

Commit 843a901

Browse files
chore(renovate): migrate renovate config (#20169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 7db56be commit 843a901

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/renovate.json5

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
3+
"extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
44
"labels": ["dependencies"],
55
"ignorePaths": ["**/__tests__/**"],
66
"rangeStrategy": "bump",
77
"packageRules": [
88
{
9-
"depTypeList": ["peerDependencies"],
9+
"matchDepTypes": ["peerDependencies"],
1010
"enabled": false,
1111
},
1212
{
1313
"matchDepTypes": ["action"],
14-
"excludePackagePrefixes": ["actions/", "github/"],
1514
"pinDigests": true,
15+
"matchPackageNames": ["!actions/{/,}**", "!github/{/,}**"],
1616
},
1717
{
1818
"groupName": "rolldown-related dependencies",
@@ -38,20 +38,20 @@
3838
"kill-port", // `kill-port:^2.0.0 has perf issues (#8392)
3939
],
4040
"github-actions": {
41-
"fileMatch": [
41+
"managerFilePatterns": [
4242
// default values
43-
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
44-
"(^|/)action\\.ya?ml$",
43+
"/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/",
44+
"/(^|/)action\\.ya?ml$/",
4545
// custom value
46-
"(^|/)docs/guide/static-deploy-github-pages\\.yaml$",
46+
"/(^|/)docs/guide/static-deploy-github-pages\\.yaml$/",
4747
],
4848
},
4949
"customManagers": [
5050
{
5151
"customType": "regex",
52-
"fileMatch": ["packages\/create-vite\/src\/index\\.ts$"],
52+
"managerFilePatterns": ["/packages/create-vite/src/index\\.ts$/"],
5353
"matchStrings": [
54-
"\/\/\\s*renovate:\\s+datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\s+(?:var|let|const)\\s+\\S+\\s*=\\s*[\"'](?<currentValue>[^\"']+)[\"']",
54+
"//\\s*renovate:\\s+datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\s+(?:var|let|const)\\s+\\S+\\s*=\\s*[\"'](?<currentValue>[^\"']+)[\"']",
5555
],
5656
},
5757
],

0 commit comments

Comments
 (0)