Skip to content

Commit aaa000b

Browse files
committedFeb 10, 2022
Update dependencies
1 parent 8a95e79 commit aaa000b

File tree

12 files changed

+35
-32
lines changed

12 files changed

+35
-32
lines changed
 

‎.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup dotnet
4141
uses: actions/setup-dotnet@v1
4242
with:
43-
dotnet-version: 5.0.202
43+
dotnet-version: 6.0.101
4444

4545
- name: Build
4646
shell: bash

‎.github/workflows/publish.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup dotnet
4949
uses: actions/setup-dotnet@v1
5050
with:
51-
dotnet-version: 5.0.202
51+
dotnet-version: 6.0.101
5252

5353
- name: Build
5454
shell: bash
@@ -78,7 +78,7 @@ jobs:
7878
- name: Setup dotnet
7979
uses: actions/setup-dotnet@v1
8080
with:
81-
dotnet-version: 5.0.202
81+
dotnet-version: 6.0.101
8282

8383
- name: Publish
8484
shell: bash

‎build.cake

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ var configuration = Argument("configuration", "Release");
77
Task("Build")
88
.Does(context =>
99
{
10-
DotNetCoreBuild("./src/RadLine.sln", new DotNetCoreBuildSettings {
10+
DotNetBuild("./src/RadLine.sln", new DotNetBuildSettings {
1111
Configuration = configuration,
1212
NoIncremental = context.HasArgument("rebuild"),
13-
MSBuildSettings = new DotNetCoreMSBuildSettings()
13+
MSBuildSettings = new DotNetMSBuildSettings()
1414
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
1515
});
1616
});
@@ -19,7 +19,7 @@ Task("Test")
1919
.IsDependentOn("Build")
2020
.Does(context =>
2121
{
22-
DotNetCoreTest("./src/RadLine.Tests/RadLine.Tests.csproj", new DotNetCoreTestSettings {
22+
DotNetTest("./src/RadLine.Tests/RadLine.Tests.csproj", new DotNetTestSettings {
2323
Configuration = configuration,
2424
NoRestore = true,
2525
NoBuild = true,
@@ -32,12 +32,12 @@ Task("Package")
3232
{
3333
context.CleanDirectory("./.artifacts");
3434

35-
context.DotNetCorePack($"./src/RadLine.sln", new DotNetCorePackSettings {
35+
context.DotNetPack($"./src/RadLine.sln", new DotNetPackSettings {
3636
Configuration = configuration,
3737
NoRestore = true,
3838
NoBuild = true,
3939
OutputDirectory = "./.artifacts",
40-
MSBuildSettings = new DotNetCoreMSBuildSettings()
40+
MSBuildSettings = new DotNetMSBuildSettings()
4141
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
4242
});
4343
});
@@ -56,7 +56,7 @@ Task("Publish-NuGet")
5656
foreach(var file in context.GetFiles("./.artifacts/*.nupkg"))
5757
{
5858
context.Information("Publishing {0}...", file.GetFilename().FullPath);
59-
DotNetCoreNuGetPush(file.FullPath, new DotNetCoreNuGetPushSettings
59+
DotNetNuGetPush(file.FullPath, new DotNetNuGetPushSettings
6060
{
6161
Source = "https://api.nuget.org/v3/index.json",
6262
ApiKey = apiKey,

‎.config/dotnet-tools.json ‎dotnet-tools.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "1.1.0",
6+
"version": "2.0.0",
77
"commands": [
88
"dotnet-cake"
99
]
1010
},
1111
"dotnet-example": {
12-
"version": "1.3.1",
12+
"version": "1.6.0",
1313
"commands": [
1414
"dotnet-example"
1515
]

‎examples/Demo/Demo.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

‎examples/Demo/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static async Task Main()
5050

5151
// Write the buffer
5252
AnsiConsole.WriteLine();
53-
AnsiConsole.Render(new Panel(result.EscapeMarkup())
53+
AnsiConsole.Write(new Panel(result.EscapeMarkup())
5454
.Header("[yellow]Text:[/]")
5555
.RoundedBorder());
5656
}

‎examples/Repl/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static async Task Main()
2121
AnsiConsole.MarkupLine("The terminal does not support ANSI codes, or it isn't a terminal.");
2222
}
2323

24-
AnsiConsole.Render(new FigletText("JS REPL"));
24+
AnsiConsole.Write(new FigletText("JS REPL"));
2525
AnsiConsole.MarkupLine("Type [yellow]exit[/] to leave, " +
2626
"[yellow]print([grey]obj[/])[/] to write to the console, " +
2727
"[yellow]load([grey]'path'[/])[/] to load scripts.");
@@ -84,7 +84,7 @@ private static void Evaluate(JavaScriptEngine engine, string source)
8484

8585
private static void Print(string message, Color color)
8686
{
87-
AnsiConsole.Render(
87+
AnsiConsole.Write(
8888
new Padder(
8989
new Panel(message).BorderColor(color),
9090
new Padding(2, 0)));

‎examples/Repl/Repl.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

‎global.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"projects": [ "src" ],
33
"sdk": {
4-
"version": "5.0.202",
5-
"rollForward": "latestPatch"
4+
"version": "6.0.101",
5+
"rollForward": "latestFeature"
66
}
77
}

‎src/Directory.Build.props

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
</PropertyGroup>
3232

3333
<ItemGroup Label="Package References">
34-
<PackageReference Include="MinVer" PrivateAssets="All" Version="2.4.0" />
35-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0" />
36-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3">
34+
<PackageReference Include="MinVer" PrivateAssets="All" Version="2.5.0" />
35+
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.1.1" />
36+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
3737
<PrivateAssets>all</PrivateAssets>
3838
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3939
</PackageReference>
+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
@@ -11,15 +11,15 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
1515
<PackageReference Include="Shouldly" Version="4.0.3" />
16-
<PackageReference Include="Spectre.Console.Testing" Version="0.39.1-preview.0.31" />
16+
<PackageReference Include="Spectre.Console.Testing" Version="0.43.0" />
1717
<PackageReference Include="xunit" Version="2.4.1" />
1818
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
<PrivateAssets>all</PrivateAssets>
2121
</PackageReference>
22-
<PackageReference Include="coverlet.collector" Version="1.3.0">
22+
<PackageReference Include="coverlet.collector" Version="3.1.2">
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
<PrivateAssets>all</PrivateAssets>
2525
</PackageReference>
@@ -29,4 +29,8 @@
2929
<ProjectReference Include="..\RadLine\RadLine.csproj" />
3030
</ItemGroup>
3131

32+
<ItemGroup>
33+
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
34+
</ItemGroup>
35+
3236
</Project>

‎src/RadLine/RadLine.csproj

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;netstandard2.0</TargetFrameworks>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>true</IsPackable>
77
<NoWarn>$(NoWarn);NU5104</NoWarn>
@@ -13,12 +13,11 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Spectre.Console" Version="0.39.1-preview.0.13" />
17-
<PackageReference Include="IsExternalInit" Version="1.0.0" PrivateAssets="all" />
18-
<PackageReference Include="Nullable" Version="1.3.0">
19-
<PrivateAssets>all</PrivateAssets>
20-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
21-
</PackageReference>
16+
<PackageReference Include="Spectre.Console" Version="0.43" />
17+
</ItemGroup>
18+
19+
<ItemGroup>
20+
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
2221
</ItemGroup>
2322

2423
</Project>

0 commit comments

Comments
 (0)
Please sign in to comment.