Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Github Enterprise, fix #45 #46

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

eliamartani
Copy link
Contributor

Description

Add support into config to retrieve custom Github url, allowing Github Enterprise to be used with this dependency.

This pull request was tested with two scenarios:

with repo
export default {
  baseUrl: "git.custom.com",
  baseUrlApi: "git.custom.com/api/v3",
  repo: "eliamartani/myrepo",
};
without repo
export default {
  baseUrl: "git.custom.com",
  baseUrlApi: "git.custom.com/api/v3",
};

Some other tests were added to cover some additions made with the Pull Request

Linked Issues

Closes #45

Additional context

@antfu antfu changed the title feat(#45): add support for Github Enterprise feat: add support for Github Enterprise, fix #45 Mar 21, 2024
@antfu antfu merged commit d478844 into antfu:main Mar 21, 2024
@eliamartani eliamartani deleted the feature/github-enterprise-setup branch March 21, 2024 14:01
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.

Enable cli for Github Enterprise
2 participants