Skip to content

Commit

Permalink
Merge pull request #454 from stepech/update-package-system
Browse files Browse the repository at this point in the history
Dependency management: Switch to CPM
  • Loading branch information
stepech authored Dec 12, 2022
2 parents 2925b85 + 9417127 commit dc7b15b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 33 deletions.
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@
<Nullable>enable</Nullable>
<WarningsAsErrors>true</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup>
<CentralPackagesFile>$(MSBuildThisFileDirectory)Packages.props</CentralPackagesFile>
</PropertyGroup>
</Project>
31 changes: 31 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Chronic.Core" Version="0.4.0" />
<PackageVersion Include="Cronos" Version="0.7.1" />
<PackageVersion Include="DSharpPlus" Version="4.3.0-nightly-01193" />
<PackageVersion Include="DSharpPlus.Interactivity" Version="4.3.0-nightly-01193" />
<PackageVersion Include="DSharpPlus.SlashCommands" Version="4.3.0-nightly-01193" />
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="7.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="7.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageVersion Include="System.Collections.Immutable" Version="7.0.0" />
<PackageVersion Include="coverlet.collector" Version="3.2.0" />
<PackageVersion Include="xunit" Version="2.4.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageVersion Include="Shouldly" Version="4.1.0" />
<PackageVersion Include="Html2Markdown" Version="5.1.0.703" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion HonzaBotner.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
CONTRIBUTING.md = CONTRIBUTING.md
Packages.props = Packages.props
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HonzaBotner", "src\HonzaBotner\HonzaBotner.csproj", "{04BEA8DF-6FDB-465A-BF6C-D28BADBD572F}"
Expand Down
28 changes: 0 additions & 28 deletions Packages.props

This file was deleted.

0 comments on commit dc7b15b

Please sign in to comment.