Add package branding and release hygiene

This commit is contained in:
2026-08-16 23:21:41 +10:00
parent fcd0d22b0d
commit 464b514f5c
6 changed files with 26 additions and 17 deletions
+15
View File
@@ -2,25 +2,40 @@
[Bb]in/
[Oo]bj/
[Aa]rtifacts/
[Bb]enchmark[Dd]ot[Nn]et.[Aa]rtifacts/
[Tt]est[Rr]esult*/
coverage/
*.coverage
*.coveragexml
*.nupkg
*.snupkg
# IDE and user-specific files
.vs/
.vscode/
.idea/
.dotnet/
*.user
*.userprefs
*.rsuser
*.suo
*.userosscache
*.sln.docstates
*.DotSettings.user
# Local configuration and credentials
.env
.env.*
!.env.example
appsettings.Development.json
appsettings.Local.json
appsettings.*.local.json
secrets.json
*.secrets.json
*.pfx
*.p12
*.pem
*.key
# Operating-system files
.DS_Store
+10 -7
View File
@@ -8,18 +8,21 @@ backwards compatible unless a breaking change is explicitly planned.
Install the SDK pinned in `global.json`, then run:
```bash
dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode
dotnet restore tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --locked-mode
dotnet restore examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --locked-mode
dotnet build src/BinaryLane.Api/BinaryLane.Api.csproj -c Release --no-restore
dotnet build tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-restore
dotnet build examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj -c Release --no-restore
dotnet test tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-build
dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode --disable-parallel
dotnet restore tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --locked-mode --disable-parallel
dotnet restore examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --locked-mode --disable-parallel
dotnet build src/BinaryLane.Api/BinaryLane.Api.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
dotnet build tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
dotnet build examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
dotnet test tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-build -m:1 -nodeReuse:false
dotnet format src/BinaryLane.Api/BinaryLane.Api.csproj --verify-no-changes --no-restore
dotnet format tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --verify-no-changes --no-restore
dotnet format examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --verify-no-changes --no-restore
```
Run these commands sequentially. Do not run separate restore, build, test, or
pack commands concurrently on the same checkout.
The tracked demo application lives in
`examples/BinaryLane.Api.Demo`. Configure a personal API token with user
secrets; never put it in a file, test fixture, issue, pull request, or commit.
Binary file not shown.

After

Width:  |  Height:  |  Size: 794 KiB

-10
View File
@@ -1,10 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256" role="img" aria-labelledby="title">
<title id="title">Abstract network route icon</title>
<rect width="256" height="256" rx="52" fill="#172554"/>
<path d="M66 82h55c19 0 35 16 35 35v57" fill="none" stroke="#67E8F9" stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/>
<path d="M100 174h35c19 0 35-16 35-35V82" fill="none" stroke="#A7F3D0" stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/>
<circle cx="66" cy="82" r="17" fill="#F8FAFC"/>
<circle cx="100" cy="174" r="17" fill="#F8FAFC"/>
<circle cx="156" cy="174" r="17" fill="#F8FAFC"/>
<circle cx="170" cy="82" r="17" fill="#F8FAFC"/>
</svg>

Before

Width:  |  Height:  |  Size: 727 B

+1
View File
@@ -53,6 +53,7 @@ dotnet restore "$demo_project" \
--source "$package_directory" \
--source https://api.nuget.org/v3/index.json \
--no-cache \
--disable-parallel \
-p:RestoreLockedMode=false
dotnet build "$demo_project" \
--configuration Release \
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 148 KiB