Skip to content

Conversation

duowb
Copy link

@duowb duowb commented Jul 23, 2025

🔗 Custom Repository Protocol Support

  • Add protocol field to RepoConfig for HTTP/HTTPS flexibility
  • Add repoType config option for custom repository providers
  • Support self-hosted repositories with custom domains/ports
  • Update URL generation to use dynamic protocols

Example configurations now supported:

// Self-hosted GitLab with HTTP
{
  repo: "http://192.168.1.10/unjs/changelogen.git",
  repoType: "gitlab"
}

// Self-hosted with custom port
{
  repo: "http://192.168.1.10:8888/unjs/changelogen.git", 
  repoType: "gitlab"
}

🔧 Output Configuration Fix

  • Fix changelog file generation to respect config file settings
  • Add --no-output flag to explicitly disable file output
  • Change output type from string | boolean to string | false
  • Remove requirement for --output CLI arg when already configured

duowb added 3 commits July 23, 2025 14:13
- Add protocol field to RepoConfig for HTTP/HTTPS flexibility
- Add repoType config option for custom repository providers
- Update URL generation to use dynamic protocols
- Support self-hosted repositories with custom domains/ports
- Fix condition to write changelog when output is configured
- Add --no-output flag support to explicitly disable output
- Simplify output type from string | boolean to string | false
- Remove redundant boolean true handling in config resolution
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.

1 participant