Skip to content

Commit

Permalink
πŸ‘· Implement central package management (#42)
Browse files Browse the repository at this point in the history
* ⚰ Remove Nuget package references from Emerald.App.csproj

* ⚰ Remove Nuget package references from Emerald.Core.csproj

* ⚰ Remove Nuget package references from Emerald.CoreX.csproj

* πŸ“Œ Add dependencies to Directory.Packages.props

* πŸ‘· Implement central package management in packaging project

* πŸ“Œ Disable central package management for Emerald.Core

* πŸ’‘ Remove dependency placeholder for Emerald.Core in central package management
  • Loading branch information
Lamparter authored Aug 22, 2024
1 parent 5e1476f commit 05b9a09
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 20 deletions.
17 changes: 17 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,22 @@
See https://aka.platform.uno/using-uno-sdk for more information.
-->
<ItemGroup>
<!--Emerald.App-->
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Animations" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26031-preview" />
<PackageVersion Include="Octokit" Version="10.0.0" />
<PackageVersion Include="PInvoke.User32" Version="0.7.124" />
<PackageVersion Include="ProjBobcat" Version="1.16.0" />
<PackageVersion Include="WinUIEx" Version="2.3.4" />
<PackageVersion Include="XboxAuthNet.Game.Msal" Version="0.0.5" />
<!--Emerald.CoreX-->
<PackageVersion Include="CmlLib.Core" Version="4.0.0" />
<PackageVersion Include="CmlLib.Core.Auth.Microsoft" Version="3.1.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.0-preview.6.24327.7" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="RestSharp" Version="111.4.1" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Emerald.App/Emerald.App.Package/Package.WinUI.wapproj
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000">
<PackageReference Include="Microsoft.WindowsAppSDK">
<IncludeAssets>build</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26031-preview">
<PackageReference Include="Microsoft.Windows.SDK.BuildTools">
<IncludeAssets>build</IncludeAssets>
</PackageReference>
</ItemGroup>
Expand Down
20 changes: 10 additions & 10 deletions Emerald.App/Emerald.App/Emerald.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Animations" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26031-preview" />
<PackageReference Include="Octokit" Version="10.0.0" />
<PackageReference Include="PInvoke.User32" Version="0.7.124" />
<PackageReference Include="ProjBobcat" Version="1.16.0" />
<PackageReference Include="WinUIEx" Version="2.3.4" />
<PackageReference Include="XboxAuthNet.Game.Msal" Version="0.0.5" />
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Animations" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include="Octokit" />
<PackageReference Include="PInvoke.User32" />
<PackageReference Include="ProjBobcat" />
<PackageReference Include="WinUIEx" />
<PackageReference Include="XboxAuthNet.Game.Msal" />
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion Emerald.Core/Emerald.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CmlLib.Core" Version="3.3.10" />
<PackageReference Include="CmlLib.Core" Version="3.3.10" />
<PackageReference Include="CmlLib.Core.Auth.Microsoft" Version="3.0.1" />
<PackageReference Include="ProjBobcat" Version="1.16.0" />
</ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions Emerald.CoreX/Emerald.CoreX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CmlLib.Core" Version="4.0.0" />
<PackageReference Include="CmlLib.Core.Auth.Microsoft" Version="3.1.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="ProjBobcat" Version="1.16.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0-preview.6.24327.7" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="RestSharp" Version="111.4.1" />
<PackageReference Include="CmlLib.Core" />
<PackageReference Include="CmlLib.Core.Auth.Microsoft" />
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="ProjBobcat" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="RestSharp" />
</ItemGroup>
</Project>

0 comments on commit 05b9a09

Please sign in to comment.