Skip to content

Conversation

@randlee
Copy link
Owner

@randlee randlee commented Oct 26, 2025

Summary

Renames the NuGet package from MDTool to Rand.MDTool to avoid naming conflicts on NuGet.org. The existing mdtool package is a different tool (markdown server) that hasn't been updated since 2018.

The CLI command name remains mdtool - only the package ID changes for installation.

Package Changes

  • PackageId: MDToolRand.MDTool
  • Command: mdtool (unchanged)
  • Installation: dotnet tool install --global Rand.MDTool
  • Added package metadata: MIT license, README, project URL

Documentation Updates

  • Added status badges to README (CI, NuGet version, downloads, license)
  • Updated all package installation references across docs
  • Updated CI workflow integration tests

New Conditional Examples

1. Deployment Configuration (deployment-config.md)

  • Environment-based configuration (dev/staging/prod)
  • Database settings per environment
  • Feature flags (authentication, analytics, monitoring)
  • Security configurations

2. Platform-Specific Installation (platform-install.md)

  • Multi-platform support (Windows/macOS/Linux)
  • Package manager selection (brew, apt, yum, choco, winget)
  • Shell-specific instructions (bash, zsh, powershell, fish)
  • Optional component installation

3. Example Guide (CONDITIONALS-EXAMPLES.md)

  • Comprehensive guide to all conditional examples
  • Syntax reference and best practices

Testing

  • ✅ All 414 tests passing locally (Release mode)
  • ✅ Package created: Rand.MDTool.1.0.0.nupkg (413KB)
  • GitHub Actions will verify cross-platform compatibility

Files Changed

  • src/MDTool/MDTool.csproj - Package ID and metadata
  • .github/workflows/ci.yml - Integration test updates
  • README.md - Badges and package references
  • docs/ - Updated package references
  • examples/ - 9 new files (2 examples + guide)
  • .gitignore - Added IDE directories

🤖 Generated with Claude Code

Package Rename:
- Changed package ID from MDTool to Rand.MDTool to avoid NuGet conflict
- Updated installation commands in all documentation
- Added package metadata (license, README, project URL)
- Command name 'mdtool' remains unchanged

Documentation Updates:
- Added status badges to README (CI, NuGet version, downloads, license)
- Updated all package references in docs and CI workflow
- Updated master-checklist.md and implementation plan

New Conditional Examples:
- Added deployment-config.md with dev/staging/prod environments
  - Demonstrates environment-based configuration
  - Feature flags (authentication, analytics, monitoring)
  - Multi-environment database settings
- Added platform-install.md for Windows/Mac/Linux
  - Platform-specific package manager instructions
  - Shell-specific configuration (bash, zsh, powershell, fish)
  - Optional tool installation (dev tools, Docker)
- Created CONDITIONALS-EXAMPLES.md guide
- Updated examples/README.md with new examples

Files Changed:
- src/MDTool/MDTool.csproj (package ID and metadata)
- .github/workflows/ci.yml (integration test package name)
- README.md (badges and package references)
- docs/master-checklist.md
- docs/mdtool-implementation-plan.md
- examples/README.md
- .gitignore (added .idea/ and .serena/)

Files Added:
- examples/deployment-config.md + 3 JSON files (dev, staging, prod)
- examples/platform-install.md + 3 JSON files (Windows, Mac, Linux)
- examples/CONDITIONALS-EXAMPLES.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

✅ Unit tests completed. Check the Actions tab for detailed results.

@randlee randlee merged commit 13420cb into main Oct 26, 2025
7 checks passed
@randlee randlee deleted the feature/package-rename branch October 26, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants