refactor: consolidate NuGet packages 8 → 6 (closes #33) #34
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
performance
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/ATProto.NET!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "consolidate-packages-33"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #33.
Consolidates the published NuGet package set from 8 → 6 by merging the two thinnest packages into
ATProtoNet.Server, keeping their original namespaces and public APIs so consumers only swap thePackageReference.Merges
ATProtoNet.Server.EntityFrameworkCore(EF Core token store) →src/ATProtoNet.Server/TokenStore/EntityFrameworkCore/ATProtoNet.Aspire(Aspire client integration) →src/ATProtoNet.Server/Aspire/ATProtoNet.Servernow depends onMicrosoft.EntityFrameworkCore.RelationalandMicrosoft.Extensions.Http.Resilience. The core SDK,ATProtoNet.Blazor,ATProtoNet.Pds,ATProtoNet.Aspire.Hosting, and theatproto-lexgentool stay separate (distinct dependency surfaces / audiences — core stays ASP.NET-free; the two Aspire roles can't merge per theAspire.X/Aspire.Hosting.Xconvention).Breaking change
ATProtoNet.Server.EntityFrameworkCoreandATProtoNet.Aspireare no longer published. Replace thePackageReferencewithATProtoNet.Server. TheATProtoNet.Server.EntityFrameworkCore/ATProtoNet.Aspirenamespaces and theAddAtProtoEfCoreTokenStore<T>()/AddAtProtoClient()APIs are unchanged, so existing source compiles as-is. Documented underBreaking changesinCHANGELOG.md(clean break — pre-1.0).Also updated
Solution file, test project references, README, CLAUDE.md, and docs (architecture / getting-started / aspire / server).
Verification
dotnet build— 0 errorsdotnet test tests/ATProtoNet.Tests/— 921 passed, 0 failed (incl. the relocated EF Core + Aspire tests)dotnet pack— produces exactly 6 packages (ATProtoNet,ATProtoNet.Server,ATProtoNet.Blazor,ATProtoNet.Pds,ATProtoNet.Aspire.Hosting,ATProtoNet.LexiconGenerator);ATProtoNet.Serverdeclares the two new dependencies🤖 Generated with Claude Code