From 249a0a8b35d0205117153e8f32948d65b7754b44 Mon Sep 17 00:00:00 2001 From: Austin Drenski Date: Fri, 26 Jan 2024 15:23:52 -0500 Subject: [PATCH] chore: Enable Central Package Management (CPM) (#178) Signed-off-by: Austin Drenski --- Directory.Packages.props | 32 +++++++++++++++++++ build/Common.props | 15 ++------- build/Common.tests.props | 18 +---------- src/OpenFeature/OpenFeature.csproj | 6 ++-- .../OpenFeature.Benchmarks.csproj | 4 +-- .../OpenFeature.E2ETests.csproj | 23 +++++++------ .../OpenFeature.Tests.csproj | 16 +++++----- 7 files changed, 60 insertions(+), 54 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..e76ac475 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,32 @@ + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/Common.props b/build/Common.props index afd3c08a..b0700847 100644 --- a/build/Common.props +++ b/build/Common.props @@ -14,21 +14,12 @@ true - - - [8.0.0,) - [2.0,) - - - - + + - + diff --git a/build/Common.tests.props b/build/Common.tests.props index 060e749d..590fc99d 100644 --- a/build/Common.tests.props +++ b/build/Common.tests.props @@ -16,22 +16,6 @@ - + - - - - [4.17.0] - [0.13.1] - [3.1.2] - [6.7.0] - [2.3.3] - [17.2.0] - [5.0.0] - [2.4.3,3.0) - [2.4.1,3.0) - diff --git a/src/OpenFeature/OpenFeature.csproj b/src/OpenFeature/OpenFeature.csproj index a6a5828f..da82b999 100644 --- a/src/OpenFeature/OpenFeature.csproj +++ b/src/OpenFeature/OpenFeature.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/test/OpenFeature.Benchmarks/OpenFeature.Benchmarks.csproj b/test/OpenFeature.Benchmarks/OpenFeature.Benchmarks.csproj index 60c2231b..81342e09 100644 --- a/test/OpenFeature.Benchmarks/OpenFeature.Benchmarks.csproj +++ b/test/OpenFeature.Benchmarks/OpenFeature.Benchmarks.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/test/OpenFeature.E2ETests/OpenFeature.E2ETests.csproj b/test/OpenFeature.E2ETests/OpenFeature.E2ETests.csproj index 628b4b31..e0093787 100644 --- a/test/OpenFeature.E2ETests/OpenFeature.E2ETests.csproj +++ b/test/OpenFeature.E2ETests/OpenFeature.E2ETests.csproj @@ -7,24 +7,23 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/OpenFeature.Tests/OpenFeature.Tests.csproj b/test/OpenFeature.Tests/OpenFeature.Tests.csproj index 83689e5a..9ceac0dc 100644 --- a/test/OpenFeature.Tests/OpenFeature.Tests.csproj +++ b/test/OpenFeature.Tests/OpenFeature.Tests.csproj @@ -7,20 +7,20 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all