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

Support multiple registries #112

Open
1 task done
Barbapapazes opened this issue Oct 10, 2023 · 0 comments
Open
1 task done

Support multiple registries #112

Barbapapazes opened this issue Oct 10, 2023 · 0 comments
Labels
discussion enhancement New feature or request

Comments

@Barbapapazes
Copy link
Member

Describe the feature

Hello,

Currently, there is a default registry for unjs template. To use a custom registry, we have to use --registry and pass a long URL like https://raw.githubusercontent.com/unjs/giget/main/templates.

I'm currently creating my own registry. To fetch from my registry, I've to pass the long URL which is annoying. I could put it in a var env but this will overwrite the unjs registry.

Using a config file with unjs/rc9, we could easily support multiple registries. We could also support multiple registries in var env using a separator like a comma.

If it's ok for you, I'm ok to try to implement this feature.

Additional information

  • Would you be willing to help implement this feature?
@pi0 pi0 added enhancement New feature or request discussion labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants