Skip to content

Commit

Permalink
migrate to central package management
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathoschild committed Nov 3, 2024
1 parent c49584d commit 6d21a38
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 23 deletions.
3 changes: 2 additions & 1 deletion Automate/Automate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion ChestsAnywhere/ChestsAnywhere.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions ContentPatcher/ContentPatcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<RootNamespace>ContentPatcher</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
</ItemGroup>

<ItemGroup>
<Reference Include="Newtonsoft.Json" HintPath="$(GamePath)\smapi-internal\Newtonsoft.Json.dll" />
<Reference Include="SMAPI.Toolkit" HintPath="$(GamePath)\smapi-internal\SMAPI.Toolkit.dll" />
Expand Down
3 changes: 2 additions & 1 deletion CropsAnytimeAnywhere/CropsAnytimeAnywhere.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion DataLayers/DataLayers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion DebugMode/DebugMode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
5 changes: 0 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ModZipPath>$(SolutionDir)\_releases</ModZipPath>
</PropertyGroup>

<!-- mod build package -->
<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
</ItemGroup>
</Project>
13 changes: 13 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="NUnit" Version="4.1.0" />
<PackageVersion Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
<PackageVersion Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion FastAnimations/FastAnimations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
3 changes: 2 additions & 1 deletion HorseFluteAnywhere/HorseFluteAnywhere.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
3 changes: 2 additions & 1 deletion LookupAnything/LookupAnything.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion NoclipMode/NoclipMode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
1 change: 1 addition & 0 deletions Pathoschild.Stardew.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{775A00CB-7
.gitattributes = .gitattributes
.gitignore = .gitignore
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
LICENSE = LICENSE
README.md = README.md
EndProjectSection
Expand Down
3 changes: 2 additions & 1 deletion SkipIntro/SkipIntro.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
3 changes: 2 additions & 1 deletion SmallBeachFarm/SmallBeachFarm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down
4 changes: 4 additions & 0 deletions TestMod/TestMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
<Version>1.0.0</Version>
<RootNamespace>Pathoschild.Stardew.TestMod</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
</ItemGroup>
</Project>
7 changes: 4 additions & 3 deletions Tests.Common/Tests.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="NUnit" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 4 additions & 3 deletions Tests.Mods/Tests.Mods.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="NUnit" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion TractorMod/TractorMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.1.0" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" />
</ItemGroup>

<Import Project="..\Common\Common.projitems" Label="Shared" />
Expand Down

0 comments on commit 6d21a38

Please sign in to comment.