Skip to content

Commit

Permalink
Convert to using Central Package Management (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Feb 16, 2024
1 parent d768a5f commit 7e14235
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 36 deletions.
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,4 @@

</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

</Project>
30 changes: 30 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Fluid.Core" Version="2.5.0" />
<PackageVersion Include="Glob" Version="1.1.9" />
<PackageVersion Include="JavaScriptEngineSwitcher.Jint" Version="3.23.9" />
<PackageVersion Include="JavaScriptEngineSwitcher.Jurassic" Version="3.23.3" />
<PackageVersion Include="JavaScriptEngineSwitcher.NiL" Version="3.23.5" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="Nuke.Components" Version="8.0.0" />
<PackageVersion Include="NUnit" Version="4.0.1" />
<PackageVersion Include="NUnit.Analyzers" Version="4.0.1" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageVersion Include="System.Memory" Version="4.5.5" />
<PackageVersion Include="YamlDotNet" Version="15.1.1" />
<PackageVersion Include="Zio" Version="0.17.0" />
<PackageVersion Include="ZString" Version="2.5.1" />
</ItemGroup>
<ItemGroup>
<GlobalPackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Test262Harness.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Directory.Build.props = Directory.Build.props
global.json = global.json
README.md = README.md
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test262Harness.Console", "src\Test262Harness.Console\Test262Harness.Console.csproj", "{84B9B049-F0D8-4528-8A05-47CDF2C86415}"
Expand Down
1 change: 1 addition & 0 deletions build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<NukeTelemetryVersion>1</NukeTelemetryVersion>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
<UseArtifactsOutput>false</UseArtifactsOutput>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Test262Harness.Console/Test262Harness.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Include="Spectre.Console.Cli" />

</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Test262Harness.Generator\Test262Harness.Generator.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
<None Include="../../README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
9 changes: 4 additions & 5 deletions src/Test262Harness.Generator/Test262Harness.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fluid.Core" Version="2.5.0" />
<PackageReference Include="Glob" Version="1.1.9" />
<PackageReference Include="ZString" Version="2.5.1" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Include="Fluid.Core" />
<PackageReference Include="Glob" />
<PackageReference Include="ZString" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Templates\**\*.liquid" />
</ItemGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
<None Include="../../README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
9 changes: 4 additions & 5 deletions src/Test262Harness.Runner/Test262Harness.Runner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JavaScriptEngineSwitcher.Jint" Version="3.23.9" />
<PackageReference Include="JavaScriptEngineSwitcher.Jurassic" Version="3.23.3" />
<PackageReference Include="JavaScriptEngineSwitcher.NiL" Version="3.23.5" />
<PackageReference Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Include="JavaScriptEngineSwitcher.Jint" />
<PackageReference Include="JavaScriptEngineSwitcher.Jurassic" />
<PackageReference Include="JavaScriptEngineSwitcher.NiL" />
<PackageReference Include="Spectre.Console.Cli" />
</ItemGroup>

<ItemGroup>
Expand Down
13 changes: 6 additions & 7 deletions src/Test262Harness/Test262Harness.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<PackageReference Include="YamlDotNet" Version="15.1.1" />
<PackageReference Include="Zio" Version="0.17.0" />
<PackageReference Include="ZString" Version="2.5.1" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Include="SharpZipLib" />
<PackageReference Include="YamlDotNet" />
<PackageReference Include="Zio" />
<PackageReference Include="ZString" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Memory" />
</ItemGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
<None Include="../../README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
18 changes: 6 additions & 12 deletions test/Test262Harness.Tests/Test262Harness.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="NUnit" />
<PackageReference Include="NUnit3TestAdapter" />
<PackageReference Include="NUnit.Analyzers" PrivateAssets="all" />
<PackageReference Include="coverlet.collector" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 7e14235

Please sign in to comment.