chore: consolidate project metadata, drop unused dependencies and vendored sample assets #110
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#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of the v0.7.0 update cycle. This is cleanup the v0.6.0 sweep missed, with no intended behaviour change.
Scope
Project files
Directory.Build.props:Authors,PackageLicenseExpression,PackageProjectUrl,RepositoryUrl,RepositoryType,PackageReadmeFile,TargetFramework,Nullable,ImplicitUsings. Optionally addsrc/,tests/andsamples/Directory.Build.propsfiles.Description,PackageTagsandPackageIdstay per project wherever they differ.LangVersion latest,TreatWarningsAsErrors false, andRootNamespace/AssemblyNamewherever they equal the project name.GenerateDocumentationFileandCS1591as an error on every packablesrc/project, set once.Microsoft.Extensions.HttpandMicrosoft.Extensions.Optionsfromsrc/ATProtoNet/ATProtoNet.csproj; the core uses neither. This shrinks the core dependency closure from 14 packages to 3. Do not touchATProtoNet.Server's package references; that belongs to the package-restructure issue.ProjectReferences from the samples and fromATProtoNet.IntegrationTests.atproto-lexgen --versionshould report the assembly's informational version, not the hard-coded"1.0.0"..gitignore: remove the duplicate.idea/line and addnupkg/.Dead code
usings (IDE0005) acrosssrc/,tests/,tools/andsamples/. Skip files underIdentity/,Crypto/,Repo/,Spaces/,Serialization/,Lexicon/**/*Models.cs,ATProtoNet.Server/Spaces/andATProtoNet.Aspire.Hosting/; parallel PRs are rewriting those.XrpcClient.RefreshToken,StandardSiteClient._xrpc, and unused private or internal parameters (OAuthClientcurrentNonce, LexiconGeneratorEmitPlan/LexiconEmitter).Samples
bootstrap.min.cssis referenced, so keep just that file or load it from a CDN with SRI.samples/BlazorOAuthSampleintosamples/ServerIntegrationSample, which is a strict superset. UpdateATProto.NET.slnxand the doc links (docs/blazor.md,docs/oauth.md,docs/architecture.md).SpacesSamplefromdocs/spaces.md.Acceptance
dotnet buildpasses with 0 warnings and all unit tests pass..nuspecmetadata (authors, license, URLs, readme, dependencies other than the two removed ones) is unchanged. Comparedotnet packoutput before and after.