Skip to content

Commit c4e1a4e

Browse files
Merge branch 'main' into renovate/major-xunit-dotnet-monorepo
2 parents 3715ad3 + 777aebd commit c4e1a4e

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

renovate.json

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base",
4+
"config:recommended",
55
"group:allNonMajor"
66
],
77
"customManagers": [
88
{
99
"customType": "regex",
10-
"fileMatch": ["^\\.github/workflows/.+?\\.yaml$"],
11-
"matchStrings": ["dotnet-version: (?<currentValue>.+?)\\s"],
10+
"managerFilePatterns": [
11+
"/^\\.github/workflows/.+?\\.yaml$/"
12+
],
13+
"matchStrings": [
14+
"dotnet-version: (?<currentValue>.+?)\\s"
15+
],
1216
"datasourceTemplate": "dotnet-version",
1317
"depNameTemplate": "dotnet-sdk",
1418
"depTypeTemplate": "action"
1519
},
1620
{
1721
"customType": "regex",
18-
"fileMatch": ["(^|/|\\.).*(csproj|pubxml)$"],
22+
"managerFilePatterns": [
23+
"/(^|/|\\.).*(csproj|pubxml)$/"
24+
],
1925
"matchStrings": [
2026
"<TargetFramework>net(?<currentValue>[^<]*)</TargetFramework>"
2127
],
@@ -26,20 +32,31 @@
2632
],
2733
"packageRules": [
2834
{
29-
"matchManagers": ["nuget"],
35+
"matchManagers": [
36+
"nuget"
37+
],
3038
"matchFileNames": [
3139
"ArchUnitNET.MSTestV2/ArchUnitNET.MSTestV2.csproj",
3240
"ArchUnitNET.NUnit/ArchUnitNET.NUnit.csproj",
3341
"ArchUnitNET.xUnit/ArchUnitNET.xUnit.csproj",
3442
"ArchUnitNET.xUnitV3/ArchUnitNET.xUnitV3.csproj",
3543
"ArchUnitNET.TUnit/ArchUnitNET.TUnit.csproj"
3644
],
37-
"matchPackagePrefixes": ["xunit", "nunit", "NUnit", "MSTest", "TUnit"],
38-
"matchPackageNames": ["Microsoft.NET.Test.Sdk", "JetBrains.Annotations"],
45+
"matchPackageNames": [
46+
"Microsoft.NET.Test.Sdk",
47+
"JetBrains.Annotations",
48+
"xunit{/,}**",
49+
"nunit{/,}**",
50+
"NUnit{/,}**",
51+
"MSTest{/,}**",
52+
"TUnit{/,}**"
53+
],
3954
"enabled": false
4055
},
4156
{
42-
"matchDepNames": ["dotnet-sdk"],
57+
"matchDepNames": [
58+
"dotnet-sdk"
59+
],
4360
"groupName": "dotnet version"
4461
}
4562
]

0 commit comments

Comments
 (0)