Skip to content

Commit a56e460

Browse files
committed
Remove word 'Version' from column headers
1 parent 69628ef commit a56e460

8 files changed

Lines changed: 36 additions & 28 deletions

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
build-and-publish:
1010
runs-on: ubuntu-latest
1111
permissions:
12+
contents: write
1213
id-token: write
1314

1415
steps:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 3.1.1 (2025-12-13)
4+
5+
### Enhancements
6+
7+
- Remove the word _Version_ from the header in the columns to make them more narrow.
8+
- Update dependencies
9+
310
## 3.1.0 (2025-12-07)
411

512
### Enhancements

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<PackageVersion Include="NuGet.Versioning" Version="7.0.1" />
99
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
1010
<PackageVersion Include="Spectre.Console.Cli" Version="0.53.1" />
11-
<PackageVersion Include="Spectre.Console.Cli.Testing" Version="1.0.0-alpha.0.7" />
12-
<PackageVersion Include="TUnit" Version="1.5.42" />
11+
<PackageVersion Include="Spectre.Console.Cli.Testing" Version="1.0.0-alpha.0.12" />
12+
<PackageVersion Include="TUnit" Version="1.5.53" />
1313
<PackageVersion Include="Verify.TUnit" Version="31.8.0" />
1414
</ItemGroup>
1515
</Project>

src/PackCheck.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<RootNamespace>PackCheck</RootNamespace>
88
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
99
<ToolCommandName>packcheck</ToolCommandName>
10-
<Version>3.1.0</Version>
10+
<Version>3.1.1</Version>
1111
</PropertyGroup>
1212

1313
<PropertyGroup Label="Package Information">
@@ -17,7 +17,7 @@
1717
<PackageIcon>icon.png</PackageIcon>
1818
<PackageId>PackCheck</PackageId>
1919
<PackageLicenseExpression>MIT</PackageLicenseExpression>
20-
<PackageVersion>3.1.0</PackageVersion>
20+
<PackageVersion>3.1.1</PackageVersion>
2121
<RepositoryType>git</RepositoryType>
2222
<RepositoryUrl>https://github.com/eisnstein/PackCheck</RepositoryUrl>
2323
<PackageReadmeFile>README.md</PackageReadmeFile>

src/Services/OutputService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ private static void PrintTable(IAnsiConsole console, List<Package> packages, Che
6565
var table = new Table();
6666

6767
table.AddColumn("Package Name");
68-
table.AddColumn("Current Version");
69-
table.AddColumn("Latest Stable Version");
68+
table.AddColumn("Current");
69+
table.AddColumn("Latest Stable");
7070

7171
if (settings?.Pre == true)
7272
{
73-
table.AddColumn("Latest Version");
73+
table.AddColumn("Latest");
7474
}
7575

7676
foreach (Package p in packages)

tests/Snapshots/CheckCommandTest.Returns_Success_ForCheckWithFilter_Without_Pre.verified.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
Output:
3-
┌─────────────────┬─────────────────┬───────────────────────┐
4-
│ Package Name │ Current Version │ Latest Stable Version
5-
├─────────────────┼─────────────────┼───────────────────────┤
6-
│ Spectre.Console │ 0.44.0 │ 0.54.0 │
7-
└─────────────────┴─────────────────┴───────────────────────┘
3+
┌─────────────────┬────────────────────────┐
4+
│ Package Name │ Current │ Latest Stable │
5+
├─────────────────┼────────────────────────┤
6+
│ Spectre.Console │ 0.44.0 │ 0.54.0 │
7+
└─────────────────┴────────────────────────┘
88
INFO: Run packcheck upgrade to upgrade to the latest stable versions.
99
INFO: Run packcheck --help for more options.,
1010
Context: {

tests/Snapshots/CheckCommandTest.Returns_Success_ForCheck_With_Pre.verified.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
Output:
3-
┌────────────────────────────────────────────┬─────────────────┬───────────────────────┬───────────────────┐
4-
│ Package Name │ Current Version │ Latest Stable Version Latest Version
5-
├────────────────────────────────────────────┼─────────────────┼───────────────────────┼───────────────────┤
6-
│ NuGet.Protocol │ 6.2.1 │ 7.0.1 │ 7.0.1 │
7-
│ NuGet.Versioning │ 6.2.1 │ 7.0.1 │ 7.0.1 │
8-
│ Spectre.Cli.Extensions.DependencyInjection │ 0.4.0 │ 0.4.0 │ 0.4.0 │
9-
│ Spectre.Console │ 0.44.0 │ 0.54.0 │ 0.54.1-alpha.0.10 │
10-
└────────────────────────────────────────────┴─────────────────┴───────────────────────┴───────────────────┘
3+
┌────────────────────────────────────────────┬────────────────────────┬───────────────────┐
4+
│ Package Name │ Current │ Latest Stable │ Latest
5+
├────────────────────────────────────────────┼────────────────────────┼───────────────────┤
6+
│ NuGet.Protocol │ 6.2.1 │ 7.0.1 │ 7.0.1 │
7+
│ NuGet.Versioning │ 6.2.1 │ 7.0.1 │ 7.0.1 │
8+
│ Spectre.Cli.Extensions.DependencyInjection │ 0.4.0 │ 0.4.0 │ 0.4.0 │
9+
│ Spectre.Console │ 0.44.0 │ 0.54.0 │ 0.54.1-alpha.0.10 │
10+
└────────────────────────────────────────────┴────────────────────────┴───────────────────┘
1111
INFO: Run packcheck upgrade to upgrade to the latest stable versions.
1212
INFO: Run packcheck --help for more options.,
1313
Context: {

tests/Snapshots/CheckCommandTest.Returns_Success_ForCheck_Without_Pre.verified.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
Output:
3-
┌────────────────────────────────────────────┬─────────────────┬───────────────────────┐
4-
│ Package Name │ Current Version │ Latest Stable Version
5-
├────────────────────────────────────────────┼─────────────────┼───────────────────────┤
6-
│ NuGet.Protocol │ 6.2.1 │ 7.0.1 │
7-
│ NuGet.Versioning │ 6.2.1 │ 7.0.1 │
8-
│ Spectre.Cli.Extensions.DependencyInjection │ 0.4.0 │ 0.4.0 │
9-
│ Spectre.Console │ 0.44.0 │ 0.54.0 │
10-
└────────────────────────────────────────────┴─────────────────┴───────────────────────┘
3+
┌────────────────────────────────────────────┬────────────────────────┐
4+
│ Package Name │ Current │ Latest Stable │
5+
├────────────────────────────────────────────┼────────────────────────┤
6+
│ NuGet.Protocol │ 6.2.1 │ 7.0.1 │
7+
│ NuGet.Versioning │ 6.2.1 │ 7.0.1 │
8+
│ Spectre.Cli.Extensions.DependencyInjection │ 0.4.0 │ 0.4.0 │
9+
│ Spectre.Console │ 0.44.0 │ 0.54.0 │
10+
└────────────────────────────────────────────┴────────────────────────┘
1111
INFO: Run packcheck upgrade to upgrade to the latest stable versions.
1212
INFO: Run packcheck --help for more options.,
1313
Context: {

0 commit comments

Comments
 (0)