Integrate TimeWarp.Nuru.DevCli shared endpoints#24
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- TimeWarp.Amuru 1.0.0-beta.22 -> 1.0.0-beta.33 - TimeWarp.Builder 1.0.0-beta.1 -> 1.0.0-beta.2 - TimeWarp.Nuru 3.0.0-beta.65 -> 3.0.0-beta.70 - Add TimeWarp.Nuru.DevCli 3.0.0-beta.70 - Microsoft.CodeAnalysis.NetAnalyzers 10.0.201 -> 10.0.300 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace custom clean, check-version, and self-install endpoint implementations with shared endpoints from TimeWarp.Nuru.DevCli. - Delete local endpoints/clean.cs, check-version.cs, self-install.cs - Register services required by shared endpoints in dev.cs (IRepoCleanService, NuGetVersionService, GitTagCheckService, IRepoConfigService) and add .DiscoverEndpoints() - Add DevCli and static TimeWarp.Nuru.Unit global usings so the shared content files resolve correctly - Suppress CA5399/IL2104/IL3053/IDE0065 from package content Closes kanban task 021. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Set +x on all test .cs files with a #! shebang so they can be invoked directly as runfiles instead of via dotnet run. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Bump TimeWarp.Terminal version to 1.0.0-beta.13 (beta.12 already published) - Add .timewarp/dev.jsonc with check-version defaults (nuget-search, TimeWarp.Terminal) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TimeWarp.Nuru.DevCli 3.0.0-beta.70shared endpoints (clean,check-version,self-install), replacing local duplicates of these three commandsTimeWarp.Amuru(beta.22 → beta.33),TimeWarp.Nuru(beta.65 → beta.70),TimeWarp.Builder(beta.1 → beta.2), andMicrosoft.CodeAnalysis.NetAnalyzers(10.0.201 → 10.0.300).timewarp/dev.jsoncsodev check-versiondefaults to nuget-search againstTimeWarp.Terminal1.0.0-beta.13(beta.12 is already published)+xon test runfiles and ignores VS Code.lscachefilesWiring notes
The shared endpoints' handlers require
IRepoCleanService(Amuru),NuGetVersionService,GitTagCheckService, andIRepoConfigService(DevCli).dev.csnow registers exactly those and calls.DiscoverEndpoints().tools/dev-cli/Directory.Build.propsadds<Using Include=\"DevCli\" />and a staticTimeWarp.Nuru.Unitusing so the shared content files resolve, plusCA5399/IL2104/IL3053/IDE0065inNoWarnto match the pattern intimewarp-nuru/tools/dev-cli.Closes kanban task 021.
Test plan
dotnet run tools/dev-cli/dev.cs -- self-installsucceeds./bin/dev --helplistsclean,check-version,self-installalongside the local commands./bin/dev check-versionreports✓ Version in source is newfor1.0.0-beta.13./bin/dev cleanruns without error🤖 Generated with Claude Code