Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/upgrade_dependency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Upgrade dependency
about: Create a request to upgrade a dependency
title: ''
labels:
assignees: ''

---

Describe the dependency you want to upgrade here.

Put the current version and the desired version of the dependency. You can also include any relevant context or reasons for the upgrade.

Current version : ''

Desired version : ''
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
publishToNuget: ${{ github.event.inputs.publishToNuget == true }}
dotnet-version: |
9.0.x
10.0.x
secrets:
NUGETPACKAGEIDENTIFIER: ${{ secrets.NUGETPACKAGEIDENTIFIER }}
NUGETAPIKEY: ${{ secrets.NUGETAPIKEY }}
Expand Down
27 changes: 0 additions & 27 deletions src/Directory.builds.prop

This file was deleted.

1 change: 1 addition & 0 deletions src/JSLTSharp.Tests/BaseTestsClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics.CodeAnalysis;

namespace JSLTSharp.Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ public void TestString_False()
}

[TestMethod]
[ExpectedException(typeof(JsonReaderException))]
public void TestString_WithUpperCase()
{
TestJsonTransformation(@"{
Assert.Throws<JsonReaderException>(() =>
{
TestJsonTransformation(@"{
'bool': False
}",
@"{
Expand All @@ -46,6 +47,7 @@ public void TestString_WithUpperCase()
@"{
'bool': false
}");
});
}

[TestMethod]
Expand Down
17 changes: 8 additions & 9 deletions src/JSLTSharp.Tests/JSLTSharp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net9.0</TargetFrameworks>
<TargetFrameworks>net10.0</TargetFrameworks>
<Preview>true</Preview>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="FluentAssertions.Json" Version="6.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.3" />
<PackageReference Include="FluentAssertions" Version="8.8.0" />
<PackageReference Include="FluentAssertions.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="4.0.2" />

<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.1" />
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
17 changes: 4 additions & 13 deletions src/JSLTSharp/JSLTSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<ProjectGuid>{7E99DD47-E2FE-4ABE-8481-3B3FE758C7D4}</ProjectGuid>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<Preview>true</Preview>
<PackageReadmeFile>README.md</PackageReadmeFile>
<LangVersion>preview</LangVersion>
Expand All @@ -21,18 +21,9 @@
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="..\.sonarlint\mathieumack_jsltsharp\CSharp\SonarLint.xml" Link="SonarLint.xml" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net7.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
</ItemGroup>
</Project>
Loading