From 8af2cc057fcdd948b7ba59e315c9bb51de8cdd16 Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:13:05 +0100 Subject: [PATCH 1/6] Refactor: centralize shared MSBuild properties using Directory.Build.props - Added a new `Directory.Build.props` file at the root level for shared properties like `TargetFramework`, `Authors`, and `RepositoryUrl`. - Updated project-specific `Directory.Build.props` files to import root-level settings. - Removed duplicated MSBuild properties from individual project files. --- Core.sln | 1 + Directory.Build.props | 8 ++++++++ build/Build.csproj | 1 - samples/Directory.Build.props | 3 ++- source/Directory.Build.props | 6 ++---- tests/Directory.Build.props | 5 ++--- 6 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 Directory.Build.props diff --git a/Core.sln b/Core.sln index 18df48a4..78157705 100644 --- a/Core.sln +++ b/Core.sln @@ -86,6 +86,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__global", "__global", "{92 README.md = README.md GitVersion.yml = GitVersion.yml global.json = global.json + Directory.Build.props = Directory.Build.props EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XmlRpcSampleApp", "samples\XmlRpcSampleApp\XmlRpcSampleApp.csproj", "{61B4DBCC-2F85-4F8F-9DF9-E5A4EC17334B}" diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..c1e4b466 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,8 @@ + + + net10.0 + CreativeCoders + $(NoWarn);IDE0079 + https://github.com/CreativeCodersTeam/Core + + diff --git a/build/Build.csproj b/build/Build.csproj index 858d37ec..8cb10d72 100644 --- a/build/Build.csproj +++ b/build/Build.csproj @@ -2,7 +2,6 @@ Exe - net10.0 enable enable diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props index e099c6e0..8141d0ad 100644 --- a/samples/Directory.Build.props +++ b/samples/Directory.Build.props @@ -1,6 +1,7 @@ + + - net10.0 false diff --git a/source/Directory.Build.props b/source/Directory.Build.props index 18815b7f..27f569a9 100644 --- a/source/Directory.Build.props +++ b/source/Directory.Build.props @@ -1,9 +1,7 @@ + + - net10.0 - CreativeCoders true - $(NoWarn);IDE0079 - https://github.com/CreativeCodersTeam/Core diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index a8d2de12..8141d0ad 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -1,8 +1,7 @@ + + - net10.0 - CreativeCoders false - $(NoWarn);IDE0079 From c34794871d687ce0d96cea93171a4faa4011d86f Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:24:45 +0100 Subject: [PATCH 2/6] Centralize package version management with `Directory.Packages.props` and simplify project files - Added `Directory.Packages.props` to define centralized NuGet package versions. - Updated project files to reference package versions from the central file, removing inline version specifications. - Streamlined dependency management across source, sample, and test projects. --- Core.sln | 1 + Directory.Packages.props | 57 +++++++++++++++++++ .../BlazorWebAssemblySampleApp.csproj | 6 +- .../CakeBuildSample/CakeBuildSample.csproj | 2 +- samples/NetSampleApp/NetSampleApp.csproj | 2 +- .../ProcessUtilsSampleApp.csproj | 4 +- .../WebApiSampleApp/WebApiSampleApp.csproj | 2 +- .../CreativeCoders.AspNetCore.Blazor.csproj | 6 +- ...tiveCoders.AspNetCore.TokenAuth.Jwt.csproj | 4 +- ...eCoders.AspNetCore.TokenAuthApi.Jwt.csproj | 4 +- .../CreativeCoders.AspNetCore.csproj | 2 +- .../CreativeCoders.CakeBuild.csproj | 6 +- .../CreativeCoders.Cli.Hosting.csproj | 10 ++-- ...eativeCoders.CodeCompilation.Roslyn.csproj | 2 +- .../CreativeCoders.Config.Base.csproj | 2 +- .../CreativeCoders.Config.Sources.csproj | 2 +- .../CreativeCoders.Config.csproj | 2 +- .../CreativeCoders.Configuration.csproj | 6 +- .../CreativeCoders.Core.csproj | 6 +- .../CreativeCoders.Daemon.Linux.csproj | 2 +- .../CreativeCoders.Daemon.Windows.csproj | 2 +- .../CreativeCoders.Daemon.csproj | 4 +- ...reativeCoders.Data.EfCore.SqlServer.csproj | 2 +- .../CreativeCoders.Data.EfCore.csproj | 4 +- .../CreativeCoders.Data.Nhibernate.csproj | 4 +- .../CreativeCoders.Data.NoSql.LiteDb.csproj | 2 +- .../CreativeCoders.Data.NoSql.csproj | 2 +- .../CreativeCoders.DependencyInjection.csproj | 4 +- ...CreativeCoders.DynamicCode.Proxying.csproj | 2 +- .../CreativeCoders.IO.Archives.csproj | 2 +- .../CreativeCoders.IO.Ports.csproj | 4 +- .../CreativeCoders.Localization.csproj | 2 +- .../CreativeCoders.Messaging.Core.csproj | 2 +- .../CreativeCoders.Net.JsonRpc.csproj | 2 +- .../CreativeCoders.Net.WebApi.csproj | 2 +- .../CreativeCoders.Net.csproj | 6 +- .../CreativeCoders.Options.Core.csproj | 2 +- .../CreativeCoders.Options.Serializers.csproj | 2 +- .../CreativeCoders.Reactive.Messaging.csproj | 2 +- .../CreativeCoders.SysConsole.App.csproj | 6 +- ...eativeCoders.SysConsole.Cli.Parsing.csproj | 2 +- .../CreativeCoders.SysConsole.Core.csproj | 6 +- .../CreativeCoders.UnitTests.csproj | 6 +- ...eCoders.AspNetCore.Blazor.UnitTests.csproj | 14 ++--- .../CreativeCoders.AspNetCore.Tests.csproj | 22 +++---- .../CreativeCoders.CakeBuild.Tests.csproj | 22 +++---- .../CreativeCoders.Cli.Tests.csproj | 20 +++---- ...iveCoders.CodeCompilation.UnitTests.csproj | 10 ++-- .../CreativeCoders.Core.UnitTests.csproj | 20 +++---- ...ativeCoders.Data.NoSql.LiteDb.Tests.csproj | 22 +++---- ...oders.DependencyInjection.UnitTests.csproj | 16 +++--- .../CreativeCoders.IO.UnitTests.csproj | 18 +++--- ...eativeCoders.Localization.UnitTests.csproj | 18 +++--- .../CreativeCoders.Messaging.UnitTests.csproj | 12 ++-- .../CreativeCoders.MiscTest.UnitTests.csproj | 18 +++--- .../CreativeCoders.Net.UnitTests.csproj | 14 ++--- .../CreativeCoders.NukeBuild.Tests.csproj | 16 +++--- .../CreativeCoders.Reactive.UnitTests.csproj | 14 ++--- .../CreativeCoders.Scripting.UnitTests.csproj | 12 ++-- ...tiveCoders.SysConsole.App.UnitTests.csproj | 14 ++--- ...rs.SysConsole.Cli.Actions.UnitTests.csproj | 20 +++---- ...rs.SysConsole.Cli.Parsing.UnitTests.csproj | 16 +++--- ...s.SysConsole.CliArguments.UnitTests.csproj | 16 +++--- ...CreativeCoders.SysConsole.UnitTests.csproj | 14 ++--- 64 files changed, 303 insertions(+), 245 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Core.sln b/Core.sln index 78157705..f2aa3abe 100644 --- a/Core.sln +++ b/Core.sln @@ -87,6 +87,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__global", "__global", "{92 GitVersion.yml = GitVersion.yml global.json = global.json Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XmlRpcSampleApp", "samples\XmlRpcSampleApp\XmlRpcSampleApp.csproj", "{61B4DBCC-2F85-4F8F-9DF9-E5A4EC17334B}" diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..68bea80a --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,57 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/BlazorWebAssemblySampleApp/BlazorWebAssemblySampleApp.csproj b/samples/BlazorWebAssemblySampleApp/BlazorWebAssemblySampleApp.csproj index 7e8b615e..9cc8cbd0 100644 --- a/samples/BlazorWebAssemblySampleApp/BlazorWebAssemblySampleApp.csproj +++ b/samples/BlazorWebAssemblySampleApp/BlazorWebAssemblySampleApp.csproj @@ -5,9 +5,9 @@ - - - + + + diff --git a/samples/CakeBuildSample/CakeBuildSample.csproj b/samples/CakeBuildSample/CakeBuildSample.csproj index 3c4d09d0..da9bfdc3 100644 --- a/samples/CakeBuildSample/CakeBuildSample.csproj +++ b/samples/CakeBuildSample/CakeBuildSample.csproj @@ -8,7 +8,7 @@ - + diff --git a/samples/NetSampleApp/NetSampleApp.csproj b/samples/NetSampleApp/NetSampleApp.csproj index cc635ea2..0d69a480 100644 --- a/samples/NetSampleApp/NetSampleApp.csproj +++ b/samples/NetSampleApp/NetSampleApp.csproj @@ -6,7 +6,7 @@ - + diff --git a/samples/ProcessUtilsSampleApp/ProcessUtilsSampleApp.csproj b/samples/ProcessUtilsSampleApp/ProcessUtilsSampleApp.csproj index 0830cd43..d1ad334a 100644 --- a/samples/ProcessUtilsSampleApp/ProcessUtilsSampleApp.csproj +++ b/samples/ProcessUtilsSampleApp/ProcessUtilsSampleApp.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/samples/WebApiSampleApp/WebApiSampleApp.csproj b/samples/WebApiSampleApp/WebApiSampleApp.csproj index aa8bb3c1..eee8caeb 100644 --- a/samples/WebApiSampleApp/WebApiSampleApp.csproj +++ b/samples/WebApiSampleApp/WebApiSampleApp.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/AspNetCore/CreativeCoders.AspNetCore.Blazor/CreativeCoders.AspNetCore.Blazor.csproj b/source/AspNetCore/CreativeCoders.AspNetCore.Blazor/CreativeCoders.AspNetCore.Blazor.csproj index 2ecd4107..7fafeb0d 100644 --- a/source/AspNetCore/CreativeCoders.AspNetCore.Blazor/CreativeCoders.AspNetCore.Blazor.csproj +++ b/source/AspNetCore/CreativeCoders.AspNetCore.Blazor/CreativeCoders.AspNetCore.Blazor.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuth.Jwt/CreativeCoders.AspNetCore.TokenAuth.Jwt.csproj b/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuth.Jwt/CreativeCoders.AspNetCore.TokenAuth.Jwt.csproj index ce7d6366..f3ab1780 100644 --- a/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuth.Jwt/CreativeCoders.AspNetCore.TokenAuth.Jwt.csproj +++ b/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuth.Jwt/CreativeCoders.AspNetCore.TokenAuth.Jwt.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuthApi.Jwt/CreativeCoders.AspNetCore.TokenAuthApi.Jwt.csproj b/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuthApi.Jwt/CreativeCoders.AspNetCore.TokenAuthApi.Jwt.csproj index 1c8e8b2e..b98b9eaf 100644 --- a/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuthApi.Jwt/CreativeCoders.AspNetCore.TokenAuthApi.Jwt.csproj +++ b/source/AspNetCore/CreativeCoders.AspNetCore.TokenAuthApi.Jwt/CreativeCoders.AspNetCore.TokenAuthApi.Jwt.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/source/AspNetCore/CreativeCoders.AspNetCore/CreativeCoders.AspNetCore.csproj b/source/AspNetCore/CreativeCoders.AspNetCore/CreativeCoders.AspNetCore.csproj index f94c535d..780effc4 100644 --- a/source/AspNetCore/CreativeCoders.AspNetCore/CreativeCoders.AspNetCore.csproj +++ b/source/AspNetCore/CreativeCoders.AspNetCore/CreativeCoders.AspNetCore.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/CakeBuild/CreativeCoders.CakeBuild/CreativeCoders.CakeBuild.csproj b/source/CakeBuild/CreativeCoders.CakeBuild/CreativeCoders.CakeBuild.csproj index ee9f4957..5b2f04c7 100644 --- a/source/CakeBuild/CreativeCoders.CakeBuild/CreativeCoders.CakeBuild.csproj +++ b/source/CakeBuild/CreativeCoders.CakeBuild/CreativeCoders.CakeBuild.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/source/Cli/CreativeCoders.Cli.Hosting/CreativeCoders.Cli.Hosting.csproj b/source/Cli/CreativeCoders.Cli.Hosting/CreativeCoders.Cli.Hosting.csproj index 9f106a54..1cbc06bf 100644 --- a/source/Cli/CreativeCoders.Cli.Hosting/CreativeCoders.Cli.Hosting.csproj +++ b/source/Cli/CreativeCoders.Cli.Hosting/CreativeCoders.Cli.Hosting.csproj @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/source/CodeCompilation/CreativeCoders.CodeCompilation.Roslyn/CreativeCoders.CodeCompilation.Roslyn.csproj b/source/CodeCompilation/CreativeCoders.CodeCompilation.Roslyn/CreativeCoders.CodeCompilation.Roslyn.csproj index 90cc1e3e..a94bd323 100644 --- a/source/CodeCompilation/CreativeCoders.CodeCompilation.Roslyn/CreativeCoders.CodeCompilation.Roslyn.csproj +++ b/source/CodeCompilation/CreativeCoders.CodeCompilation.Roslyn/CreativeCoders.CodeCompilation.Roslyn.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Config/CreativeCoders.Config.Base/CreativeCoders.Config.Base.csproj b/source/Config/CreativeCoders.Config.Base/CreativeCoders.Config.Base.csproj index 1b786926..ad99110a 100644 --- a/source/Config/CreativeCoders.Config.Base/CreativeCoders.Config.Base.csproj +++ b/source/Config/CreativeCoders.Config.Base/CreativeCoders.Config.Base.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Config/CreativeCoders.Config.Sources/CreativeCoders.Config.Sources.csproj b/source/Config/CreativeCoders.Config.Sources/CreativeCoders.Config.Sources.csproj index 46aace94..fd8ede70 100644 --- a/source/Config/CreativeCoders.Config.Sources/CreativeCoders.Config.Sources.csproj +++ b/source/Config/CreativeCoders.Config.Sources/CreativeCoders.Config.Sources.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Config/CreativeCoders.Config/CreativeCoders.Config.csproj b/source/Config/CreativeCoders.Config/CreativeCoders.Config.csproj index c3190728..0e1cbece 100644 --- a/source/Config/CreativeCoders.Config/CreativeCoders.Config.csproj +++ b/source/Config/CreativeCoders.Config/CreativeCoders.Config.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Configuration/CreativeCoders.Configuration/CreativeCoders.Configuration.csproj b/source/Configuration/CreativeCoders.Configuration/CreativeCoders.Configuration.csproj index a894e8ee..d73f2bd9 100644 --- a/source/Configuration/CreativeCoders.Configuration/CreativeCoders.Configuration.csproj +++ b/source/Configuration/CreativeCoders.Configuration/CreativeCoders.Configuration.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/source/Core/CreativeCoders.Core/CreativeCoders.Core.csproj b/source/Core/CreativeCoders.Core/CreativeCoders.Core.csproj index 221e8e76..4e33f226 100644 --- a/source/Core/CreativeCoders.Core/CreativeCoders.Core.csproj +++ b/source/Core/CreativeCoders.Core/CreativeCoders.Core.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/source/Daemon/CreativeCoders.Daemon.Linux/CreativeCoders.Daemon.Linux.csproj b/source/Daemon/CreativeCoders.Daemon.Linux/CreativeCoders.Daemon.Linux.csproj index 2e4a8486..6a6317c8 100644 --- a/source/Daemon/CreativeCoders.Daemon.Linux/CreativeCoders.Daemon.Linux.csproj +++ b/source/Daemon/CreativeCoders.Daemon.Linux/CreativeCoders.Daemon.Linux.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/Daemon/CreativeCoders.Daemon.Windows/CreativeCoders.Daemon.Windows.csproj b/source/Daemon/CreativeCoders.Daemon.Windows/CreativeCoders.Daemon.Windows.csproj index dc165188..ef9d15c8 100644 --- a/source/Daemon/CreativeCoders.Daemon.Windows/CreativeCoders.Daemon.Windows.csproj +++ b/source/Daemon/CreativeCoders.Daemon.Windows/CreativeCoders.Daemon.Windows.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/Daemon/CreativeCoders.Daemon/CreativeCoders.Daemon.csproj b/source/Daemon/CreativeCoders.Daemon/CreativeCoders.Daemon.csproj index 8278679e..be1cceff 100644 --- a/source/Daemon/CreativeCoders.Daemon/CreativeCoders.Daemon.csproj +++ b/source/Daemon/CreativeCoders.Daemon/CreativeCoders.Daemon.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/source/Data/CreativeCoders.Data.EfCore.SqlServer/CreativeCoders.Data.EfCore.SqlServer.csproj b/source/Data/CreativeCoders.Data.EfCore.SqlServer/CreativeCoders.Data.EfCore.SqlServer.csproj index 1d25ee3c..4addceda 100644 --- a/source/Data/CreativeCoders.Data.EfCore.SqlServer/CreativeCoders.Data.EfCore.SqlServer.csproj +++ b/source/Data/CreativeCoders.Data.EfCore.SqlServer/CreativeCoders.Data.EfCore.SqlServer.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Data/CreativeCoders.Data.EfCore/CreativeCoders.Data.EfCore.csproj b/source/Data/CreativeCoders.Data.EfCore/CreativeCoders.Data.EfCore.csproj index f1a86cac..00b515b3 100644 --- a/source/Data/CreativeCoders.Data.EfCore/CreativeCoders.Data.EfCore.csproj +++ b/source/Data/CreativeCoders.Data.EfCore/CreativeCoders.Data.EfCore.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/source/Data/CreativeCoders.Data.Nhibernate/CreativeCoders.Data.Nhibernate.csproj b/source/Data/CreativeCoders.Data.Nhibernate/CreativeCoders.Data.Nhibernate.csproj index 0ff2f305..2a9d5514 100644 --- a/source/Data/CreativeCoders.Data.Nhibernate/CreativeCoders.Data.Nhibernate.csproj +++ b/source/Data/CreativeCoders.Data.Nhibernate/CreativeCoders.Data.Nhibernate.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/source/Data/CreativeCoders.Data.NoSql.LiteDb/CreativeCoders.Data.NoSql.LiteDb.csproj b/source/Data/CreativeCoders.Data.NoSql.LiteDb/CreativeCoders.Data.NoSql.LiteDb.csproj index 9563b2cf..ed8fabbf 100644 --- a/source/Data/CreativeCoders.Data.NoSql.LiteDb/CreativeCoders.Data.NoSql.LiteDb.csproj +++ b/source/Data/CreativeCoders.Data.NoSql.LiteDb/CreativeCoders.Data.NoSql.LiteDb.csproj @@ -13,7 +13,7 @@ - + diff --git a/source/Data/CreativeCoders.Data.NoSql/CreativeCoders.Data.NoSql.csproj b/source/Data/CreativeCoders.Data.NoSql/CreativeCoders.Data.NoSql.csproj index 3bf9a5f7..7d8b0a8d 100644 --- a/source/Data/CreativeCoders.Data.NoSql/CreativeCoders.Data.NoSql.csproj +++ b/source/Data/CreativeCoders.Data.NoSql/CreativeCoders.Data.NoSql.csproj @@ -8,7 +8,7 @@ - + diff --git a/source/DependencyInjection/CreativeCoders.DependencyInjection/CreativeCoders.DependencyInjection.csproj b/source/DependencyInjection/CreativeCoders.DependencyInjection/CreativeCoders.DependencyInjection.csproj index fb52a3a1..db570166 100644 --- a/source/DependencyInjection/CreativeCoders.DependencyInjection/CreativeCoders.DependencyInjection.csproj +++ b/source/DependencyInjection/CreativeCoders.DependencyInjection/CreativeCoders.DependencyInjection.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/source/DynamicCode/CreativeCoders.DynamicCode.Proxying/CreativeCoders.DynamicCode.Proxying.csproj b/source/DynamicCode/CreativeCoders.DynamicCode.Proxying/CreativeCoders.DynamicCode.Proxying.csproj index 5c0816b0..5499b29f 100644 --- a/source/DynamicCode/CreativeCoders.DynamicCode.Proxying/CreativeCoders.DynamicCode.Proxying.csproj +++ b/source/DynamicCode/CreativeCoders.DynamicCode.Proxying/CreativeCoders.DynamicCode.Proxying.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/IO/CreativeCoders.IO.Archives/CreativeCoders.IO.Archives.csproj b/source/IO/CreativeCoders.IO.Archives/CreativeCoders.IO.Archives.csproj index 6232f010..62fb6941 100644 --- a/source/IO/CreativeCoders.IO.Archives/CreativeCoders.IO.Archives.csproj +++ b/source/IO/CreativeCoders.IO.Archives/CreativeCoders.IO.Archives.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/IO/CreativeCoders.IO.Ports/CreativeCoders.IO.Ports.csproj b/source/IO/CreativeCoders.IO.Ports/CreativeCoders.IO.Ports.csproj index 4b2465e0..cafb73c1 100644 --- a/source/IO/CreativeCoders.IO.Ports/CreativeCoders.IO.Ports.csproj +++ b/source/IO/CreativeCoders.IO.Ports/CreativeCoders.IO.Ports.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/source/Localization/CreativeCoders.Localization/CreativeCoders.Localization.csproj b/source/Localization/CreativeCoders.Localization/CreativeCoders.Localization.csproj index 219d2e1d..8df17dd4 100644 --- a/source/Localization/CreativeCoders.Localization/CreativeCoders.Localization.csproj +++ b/source/Localization/CreativeCoders.Localization/CreativeCoders.Localization.csproj @@ -7,7 +7,7 @@ - + diff --git a/source/Messaging/CreativeCoders.Messaging.Core/CreativeCoders.Messaging.Core.csproj b/source/Messaging/CreativeCoders.Messaging.Core/CreativeCoders.Messaging.Core.csproj index 42a0b051..83c53121 100644 --- a/source/Messaging/CreativeCoders.Messaging.Core/CreativeCoders.Messaging.Core.csproj +++ b/source/Messaging/CreativeCoders.Messaging.Core/CreativeCoders.Messaging.Core.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Net/CreativeCoders.Net.JsonRpc/CreativeCoders.Net.JsonRpc.csproj b/source/Net/CreativeCoders.Net.JsonRpc/CreativeCoders.Net.JsonRpc.csproj index ed861ecf..578262f8 100644 --- a/source/Net/CreativeCoders.Net.JsonRpc/CreativeCoders.Net.JsonRpc.csproj +++ b/source/Net/CreativeCoders.Net.JsonRpc/CreativeCoders.Net.JsonRpc.csproj @@ -12,7 +12,7 @@ - + diff --git a/source/Net/CreativeCoders.Net.WebApi/CreativeCoders.Net.WebApi.csproj b/source/Net/CreativeCoders.Net.WebApi/CreativeCoders.Net.WebApi.csproj index f38996dc..11faa9a6 100644 --- a/source/Net/CreativeCoders.Net.WebApi/CreativeCoders.Net.WebApi.csproj +++ b/source/Net/CreativeCoders.Net.WebApi/CreativeCoders.Net.WebApi.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Net/CreativeCoders.Net/CreativeCoders.Net.csproj b/source/Net/CreativeCoders.Net/CreativeCoders.Net.csproj index bacc8caa..1053fbf9 100644 --- a/source/Net/CreativeCoders.Net/CreativeCoders.Net.csproj +++ b/source/Net/CreativeCoders.Net/CreativeCoders.Net.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/source/Options/CreativeCoders.Options.Core/CreativeCoders.Options.Core.csproj b/source/Options/CreativeCoders.Options.Core/CreativeCoders.Options.Core.csproj index c07c53b6..95def077 100644 --- a/source/Options/CreativeCoders.Options.Core/CreativeCoders.Options.Core.csproj +++ b/source/Options/CreativeCoders.Options.Core/CreativeCoders.Options.Core.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Options/CreativeCoders.Options.Serializers/CreativeCoders.Options.Serializers.csproj b/source/Options/CreativeCoders.Options.Serializers/CreativeCoders.Options.Serializers.csproj index 45f04b5b..e6776938 100644 --- a/source/Options/CreativeCoders.Options.Serializers/CreativeCoders.Options.Serializers.csproj +++ b/source/Options/CreativeCoders.Options.Serializers/CreativeCoders.Options.Serializers.csproj @@ -10,7 +10,7 @@ - + diff --git a/source/Reactive/CreativeCoders.Reactive.Messaging/CreativeCoders.Reactive.Messaging.csproj b/source/Reactive/CreativeCoders.Reactive.Messaging/CreativeCoders.Reactive.Messaging.csproj index 6efd365f..3e8a1cf2 100644 --- a/source/Reactive/CreativeCoders.Reactive.Messaging/CreativeCoders.Reactive.Messaging.csproj +++ b/source/Reactive/CreativeCoders.Reactive.Messaging/CreativeCoders.Reactive.Messaging.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/SysConsole/CreativeCoders.SysConsole.App/CreativeCoders.SysConsole.App.csproj b/source/SysConsole/CreativeCoders.SysConsole.App/CreativeCoders.SysConsole.App.csproj index a2f8a463..67984b0f 100644 --- a/source/SysConsole/CreativeCoders.SysConsole.App/CreativeCoders.SysConsole.App.csproj +++ b/source/SysConsole/CreativeCoders.SysConsole.App/CreativeCoders.SysConsole.App.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/source/SysConsole/CreativeCoders.SysConsole.Cli.Parsing/CreativeCoders.SysConsole.Cli.Parsing.csproj b/source/SysConsole/CreativeCoders.SysConsole.Cli.Parsing/CreativeCoders.SysConsole.Cli.Parsing.csproj index 13ec4e99..998b499e 100644 --- a/source/SysConsole/CreativeCoders.SysConsole.Cli.Parsing/CreativeCoders.SysConsole.Cli.Parsing.csproj +++ b/source/SysConsole/CreativeCoders.SysConsole.Cli.Parsing/CreativeCoders.SysConsole.Cli.Parsing.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/SysConsole/CreativeCoders.SysConsole.Core/CreativeCoders.SysConsole.Core.csproj b/source/SysConsole/CreativeCoders.SysConsole.Core/CreativeCoders.SysConsole.Core.csproj index 59bb26b2..a3f1be5a 100644 --- a/source/SysConsole/CreativeCoders.SysConsole.Core/CreativeCoders.SysConsole.Core.csproj +++ b/source/SysConsole/CreativeCoders.SysConsole.Core/CreativeCoders.SysConsole.Core.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/source/UnitTests/CreativeCoders.UnitTests/CreativeCoders.UnitTests.csproj b/source/UnitTests/CreativeCoders.UnitTests/CreativeCoders.UnitTests.csproj index 73863f11..c753e141 100644 --- a/source/UnitTests/CreativeCoders.UnitTests/CreativeCoders.UnitTests.csproj +++ b/source/UnitTests/CreativeCoders.UnitTests/CreativeCoders.UnitTests.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/tests/CreativeCoders.AspNetCore.Blazor.UnitTests/CreativeCoders.AspNetCore.Blazor.UnitTests.csproj b/tests/CreativeCoders.AspNetCore.Blazor.UnitTests/CreativeCoders.AspNetCore.Blazor.UnitTests.csproj index c37439a6..ece6de1b 100644 --- a/tests/CreativeCoders.AspNetCore.Blazor.UnitTests/CreativeCoders.AspNetCore.Blazor.UnitTests.csproj +++ b/tests/CreativeCoders.AspNetCore.Blazor.UnitTests/CreativeCoders.AspNetCore.Blazor.UnitTests.csproj @@ -5,19 +5,19 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.AspNetCore.Tests/CreativeCoders.AspNetCore.Tests.csproj b/tests/CreativeCoders.AspNetCore.Tests/CreativeCoders.AspNetCore.Tests.csproj index 81a0232a..7711d4ed 100644 --- a/tests/CreativeCoders.AspNetCore.Tests/CreativeCoders.AspNetCore.Tests.csproj +++ b/tests/CreativeCoders.AspNetCore.Tests/CreativeCoders.AspNetCore.Tests.csproj @@ -7,23 +7,23 @@ - - - - - - - - - + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.CakeBuild.Tests/CreativeCoders.CakeBuild.Tests.csproj b/tests/CreativeCoders.CakeBuild.Tests/CreativeCoders.CakeBuild.Tests.csproj index af872225..4b4925e0 100644 --- a/tests/CreativeCoders.CakeBuild.Tests/CreativeCoders.CakeBuild.Tests.csproj +++ b/tests/CreativeCoders.CakeBuild.Tests/CreativeCoders.CakeBuild.Tests.csproj @@ -10,23 +10,23 @@ - - - - - - - - - + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Cli.Tests/CreativeCoders.Cli.Tests.csproj b/tests/CreativeCoders.Cli.Tests/CreativeCoders.Cli.Tests.csproj index ead5f805..234a967f 100644 --- a/tests/CreativeCoders.Cli.Tests/CreativeCoders.Cli.Tests.csproj +++ b/tests/CreativeCoders.Cli.Tests/CreativeCoders.Cli.Tests.csproj @@ -6,22 +6,22 @@ - - - - - - - - + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.CodeCompilation.UnitTests/CreativeCoders.CodeCompilation.UnitTests.csproj b/tests/CreativeCoders.CodeCompilation.UnitTests/CreativeCoders.CodeCompilation.UnitTests.csproj index eafd70a8..37334681 100644 --- a/tests/CreativeCoders.CodeCompilation.UnitTests/CreativeCoders.CodeCompilation.UnitTests.csproj +++ b/tests/CreativeCoders.CodeCompilation.UnitTests/CreativeCoders.CodeCompilation.UnitTests.csproj @@ -5,17 +5,17 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Core.UnitTests/CreativeCoders.Core.UnitTests.csproj b/tests/CreativeCoders.Core.UnitTests/CreativeCoders.Core.UnitTests.csproj index 7f9b4205..70b7cf37 100644 --- a/tests/CreativeCoders.Core.UnitTests/CreativeCoders.Core.UnitTests.csproj +++ b/tests/CreativeCoders.Core.UnitTests/CreativeCoders.Core.UnitTests.csproj @@ -5,22 +5,22 @@ - - - - - - - - + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Data.NoSql.LiteDb.Tests/CreativeCoders.Data.NoSql.LiteDb.Tests.csproj b/tests/CreativeCoders.Data.NoSql.LiteDb.Tests/CreativeCoders.Data.NoSql.LiteDb.Tests.csproj index 24e3eb3e..6b81384a 100644 --- a/tests/CreativeCoders.Data.NoSql.LiteDb.Tests/CreativeCoders.Data.NoSql.LiteDb.Tests.csproj +++ b/tests/CreativeCoders.Data.NoSql.LiteDb.Tests/CreativeCoders.Data.NoSql.LiteDb.Tests.csproj @@ -7,23 +7,23 @@ - - - - - - - - - + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.DependencyInjection.UnitTests/CreativeCoders.DependencyInjection.UnitTests.csproj b/tests/CreativeCoders.DependencyInjection.UnitTests/CreativeCoders.DependencyInjection.UnitTests.csproj index d0d5e06d..9499509a 100644 --- a/tests/CreativeCoders.DependencyInjection.UnitTests/CreativeCoders.DependencyInjection.UnitTests.csproj +++ b/tests/CreativeCoders.DependencyInjection.UnitTests/CreativeCoders.DependencyInjection.UnitTests.csproj @@ -7,20 +7,20 @@ - - - - - - + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.IO.UnitTests/CreativeCoders.IO.UnitTests.csproj b/tests/CreativeCoders.IO.UnitTests/CreativeCoders.IO.UnitTests.csproj index 13ab176d..4aa50b4d 100644 --- a/tests/CreativeCoders.IO.UnitTests/CreativeCoders.IO.UnitTests.csproj +++ b/tests/CreativeCoders.IO.UnitTests/CreativeCoders.IO.UnitTests.csproj @@ -6,21 +6,21 @@ - - - - - - - + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Localization.UnitTests/CreativeCoders.Localization.UnitTests.csproj b/tests/CreativeCoders.Localization.UnitTests/CreativeCoders.Localization.UnitTests.csproj index a55d1884..f8d93e89 100644 --- a/tests/CreativeCoders.Localization.UnitTests/CreativeCoders.Localization.UnitTests.csproj +++ b/tests/CreativeCoders.Localization.UnitTests/CreativeCoders.Localization.UnitTests.csproj @@ -5,21 +5,21 @@ - - - - - - - + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Messaging.UnitTests/CreativeCoders.Messaging.UnitTests.csproj b/tests/CreativeCoders.Messaging.UnitTests/CreativeCoders.Messaging.UnitTests.csproj index 818e4761..f89a90f0 100644 --- a/tests/CreativeCoders.Messaging.UnitTests/CreativeCoders.Messaging.UnitTests.csproj +++ b/tests/CreativeCoders.Messaging.UnitTests/CreativeCoders.Messaging.UnitTests.csproj @@ -5,18 +5,18 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.MiscTest.UnitTests/CreativeCoders.MiscTest.UnitTests.csproj b/tests/CreativeCoders.MiscTest.UnitTests/CreativeCoders.MiscTest.UnitTests.csproj index 04f5edaa..b2484d72 100644 --- a/tests/CreativeCoders.MiscTest.UnitTests/CreativeCoders.MiscTest.UnitTests.csproj +++ b/tests/CreativeCoders.MiscTest.UnitTests/CreativeCoders.MiscTest.UnitTests.csproj @@ -7,21 +7,21 @@ - - - - - - - + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.Net.UnitTests/CreativeCoders.Net.UnitTests.csproj b/tests/CreativeCoders.Net.UnitTests/CreativeCoders.Net.UnitTests.csproj index 1330e5f4..499521ea 100644 --- a/tests/CreativeCoders.Net.UnitTests/CreativeCoders.Net.UnitTests.csproj +++ b/tests/CreativeCoders.Net.UnitTests/CreativeCoders.Net.UnitTests.csproj @@ -5,19 +5,19 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.NukeBuild.Tests/CreativeCoders.NukeBuild.Tests.csproj b/tests/CreativeCoders.NukeBuild.Tests/CreativeCoders.NukeBuild.Tests.csproj index 61fc06fa..f5365e37 100644 --- a/tests/CreativeCoders.NukeBuild.Tests/CreativeCoders.NukeBuild.Tests.csproj +++ b/tests/CreativeCoders.NukeBuild.Tests/CreativeCoders.NukeBuild.Tests.csproj @@ -9,20 +9,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/tests/CreativeCoders.Reactive.UnitTests/CreativeCoders.Reactive.UnitTests.csproj b/tests/CreativeCoders.Reactive.UnitTests/CreativeCoders.Reactive.UnitTests.csproj index fd52523e..88d7e399 100644 --- a/tests/CreativeCoders.Reactive.UnitTests/CreativeCoders.Reactive.UnitTests.csproj +++ b/tests/CreativeCoders.Reactive.UnitTests/CreativeCoders.Reactive.UnitTests.csproj @@ -5,19 +5,19 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + diff --git a/tests/CreativeCoders.Scripting.UnitTests/CreativeCoders.Scripting.UnitTests.csproj b/tests/CreativeCoders.Scripting.UnitTests/CreativeCoders.Scripting.UnitTests.csproj index 83705971..5ebe4395 100644 --- a/tests/CreativeCoders.Scripting.UnitTests/CreativeCoders.Scripting.UnitTests.csproj +++ b/tests/CreativeCoders.Scripting.UnitTests/CreativeCoders.Scripting.UnitTests.csproj @@ -5,18 +5,18 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.SysConsole.App.UnitTests/CreativeCoders.SysConsole.App.UnitTests.csproj b/tests/CreativeCoders.SysConsole.App.UnitTests/CreativeCoders.SysConsole.App.UnitTests.csproj index 26377e55..c111065a 100644 --- a/tests/CreativeCoders.SysConsole.App.UnitTests/CreativeCoders.SysConsole.App.UnitTests.csproj +++ b/tests/CreativeCoders.SysConsole.App.UnitTests/CreativeCoders.SysConsole.App.UnitTests.csproj @@ -6,19 +6,19 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.SysConsole.Cli.Actions.UnitTests/CreativeCoders.SysConsole.Cli.Actions.UnitTests.csproj b/tests/CreativeCoders.SysConsole.Cli.Actions.UnitTests/CreativeCoders.SysConsole.Cli.Actions.UnitTests.csproj index 1db70d40..7ac7bcba 100644 --- a/tests/CreativeCoders.SysConsole.Cli.Actions.UnitTests/CreativeCoders.SysConsole.Cli.Actions.UnitTests.csproj +++ b/tests/CreativeCoders.SysConsole.Cli.Actions.UnitTests/CreativeCoders.SysConsole.Cli.Actions.UnitTests.csproj @@ -10,22 +10,22 @@ - - - - - - - - + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests.csproj b/tests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests.csproj index 6199f883..0c20ab33 100644 --- a/tests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests.csproj +++ b/tests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests/CreativeCoders.SysConsole.Cli.Parsing.UnitTests.csproj @@ -6,20 +6,20 @@ - - - - - - + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.SysConsole.CliArguments.UnitTests/CreativeCoders.SysConsole.CliArguments.UnitTests.csproj b/tests/CreativeCoders.SysConsole.CliArguments.UnitTests/CreativeCoders.SysConsole.CliArguments.UnitTests.csproj index 479eb479..5c83b311 100644 --- a/tests/CreativeCoders.SysConsole.CliArguments.UnitTests/CreativeCoders.SysConsole.CliArguments.UnitTests.csproj +++ b/tests/CreativeCoders.SysConsole.CliArguments.UnitTests/CreativeCoders.SysConsole.CliArguments.UnitTests.csproj @@ -6,20 +6,20 @@ - - - - - - + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/CreativeCoders.SysConsole.UnitTests/CreativeCoders.SysConsole.UnitTests.csproj b/tests/CreativeCoders.SysConsole.UnitTests/CreativeCoders.SysConsole.UnitTests.csproj index 6261acee..b4add526 100644 --- a/tests/CreativeCoders.SysConsole.UnitTests/CreativeCoders.SysConsole.UnitTests.csproj +++ b/tests/CreativeCoders.SysConsole.UnitTests/CreativeCoders.SysConsole.UnitTests.csproj @@ -7,19 +7,19 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + From c32447b2278c6e65b7040479d3ba4ecd9c5c8abb Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:33:42 +0100 Subject: [PATCH 3/6] Update: Rename MSBuild property for central package version management - Renamed `ManagePackageVersions` to `ManagePackageVersionsCentrally` in `Directory.Packages.props` for consistency with MSBuild's centralized package versioning feature. --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 68bea80a..a724697e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,6 +1,6 @@ - true + true From ade3a05e28d0a5349b8e1558d06362179f207d1b Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Fri, 27 Mar 2026 20:12:11 +0100 Subject: [PATCH 4/6] Add Dependabot configuration and workflows for automated dependency updates - Added `.github/dependabot.yml` to configure dependency update schedules and grouping for NuGet packages. - Introduced `dependabot-auto-merge.yml` workflow for auto-merging safe updates based on defined conditions. - Added `dependabot-manual.yml` workflow for manually triggering dependency scans and updates. --- .github/dependabot.yml | 49 +++++++++++++++++++++ .github/workflows/dependabot-auto-merge.yml | 40 +++++++++++++++++ .github/workflows/dependabot-manual.yml | 44 ++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/dependabot-auto-merge.yml create mode 100644 .github/workflows/dependabot-manual.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..01cf6996 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,49 @@ +version: 2 + +updates: + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "06:00" + timezone: "Europe/Berlin" + open-pull-requests-limit: 10 + groups: + # Tier 1: Dev/Test dependencies — auto-merge on patch + minor + dev-dependencies: + patterns: + - "xunit*" + - "XunitXml.TestLogger" + - "FakeItEasy" + - "AwesomeAssertions" + - "Microsoft.NET.Test.Sdk" + - "coverlet.collector" + - "JetBrains.Annotations" + - "Cake.*" + # Tier 2: Production dependencies — auto-merge on patch only + microsoft-packages: + patterns: + - "Microsoft.Extensions.*" + - "Microsoft.AspNetCore.*" + - "Microsoft.EntityFrameworkCore*" + - "Microsoft.CodeAnalysis.*" + - "Microsoft.JSInterop" + runtime-libraries: + patterns: + - "Castle.Core" + - "Polly" + - "Newtonsoft.Json" + - "NHibernate" + - "LiteDB" + - "System.IO.Abstractions*" + - "System.Reactive" + - "System.IO.Ports" + - "Spectre.Console" + - "Swashbuckle.AspNetCore" + - "MimeMapping" + - "Octokit" + - "YamlDotNet" + - "log4net" + labels: + - "dependencies" diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 00000000..9859f0d1 --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,40 @@ +name: dependabot-auto-merge + +on: + pull_request: + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - name: Fetch Dependabot metadata + id: metadata + uses: dependabot/fetch-metadata@v2 + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + + # Tier 1: Dev/Test dependencies — auto-merge on patch + minor + - name: "Auto-merge Tier 1 (patch + minor)" + if: >- + steps.metadata.outputs.dependency-group == 'dev-dependencies' && + (steps.metadata.outputs.update-type == 'version-update:semver-patch' || + steps.metadata.outputs.update-type == 'version-update:semver-minor') + run: gh pr merge --auto --squash "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Tier 2: Production dependencies — auto-merge on patch only + - name: "Auto-merge Tier 2 (patch only)" + if: >- + steps.metadata.outputs.dependency-group != 'dev-dependencies' && + steps.metadata.outputs.update-type == 'version-update:semver-patch' + run: gh pr merge --auto --squash "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/dependabot-manual.yml b/.github/workflows/dependabot-manual.yml new file mode 100644 index 00000000..19182f33 --- /dev/null +++ b/.github/workflows/dependabot-manual.yml @@ -0,0 +1,44 @@ +name: dependabot-manual + +on: + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + check-outdated: + name: Check outdated NuGet packages + runs-on: ubuntu-latest + env: + TERM: xterm + DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1 + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + + - name: 'Cache: ~/.nuget/packages' + uses: actions/cache@v4 + with: + path: | + ~/.nuget/packages + key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} + + - name: Check for outdated packages + run: | + echo "## Outdated NuGet Packages" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + dotnet list package --outdated 2>&1 | tee -a $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + + - name: Trigger Dependabot update + run: | + gh api \ + --method POST \ + "/repos/${{ github.repository }}/dependabot/updates" \ + --input - <<< '{}' || echo "Dependabot trigger sent (may require Dependabot to be enabled on the repo)" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 401dfbdc83dfe4577428ea2b94dc53e01df55a73 Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Fri, 27 Mar 2026 20:15:24 +0100 Subject: [PATCH 5/6] Add catch-all group to Dependabot configuration for unmatched dependencies - Introduced "other-dependencies" group to `.github/dependabot.yml` for handling any packages not covered by existing groups. --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 01cf6996..d191eda6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -45,5 +45,11 @@ updates: - "Octokit" - "YamlDotNet" - "log4net" + # Catch-all: Any package not matched by the groups above. + # Dependabot assigns each package to the first matching group only, + # so this will never include packages already covered above. + other-dependencies: + patterns: + - "*" labels: - "dependencies" From 039d879dde9697a4265f57d01dde24da547477ec Mon Sep 17 00:00:00 2001 From: darthsharp <48331467+darthsharp@users.noreply.github.com> Date: Sat, 28 Mar 2026 12:39:25 +0100 Subject: [PATCH 6/6] Update .github/workflows/dependabot-manual.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/dependabot-manual.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot-manual.yml b/.github/workflows/dependabot-manual.yml index 19182f33..df05cd6d 100644 --- a/.github/workflows/dependabot-manual.yml +++ b/.github/workflows/dependabot-manual.yml @@ -36,9 +36,19 @@ jobs: - name: Trigger Dependabot update run: | - gh api \ + set -euo pipefail + + echo "Triggering Dependabot update via GitHub CLI..." + if response=$(gh api \ --method POST \ "/repos/${{ github.repository }}/dependabot/updates" \ - --input - <<< '{}' || echo "Dependabot trigger sent (may require Dependabot to be enabled on the repo)" + --input - <<< '{}' 2>&1); then + echo "Dependabot trigger sent successfully." + echo "$response" + else + echo "Failed to trigger Dependabot update. gh api output:" + echo "$response" + exit 1 + fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}