Hey! I couldn't find a correct topic for my issue so I hope it is ok to post in here.
I am trying to use Nuxt Layers https://nuxt.com/docs/guide/going-further/layers in my project and extend from a private named gitlab repo which can be accessed only with a custom VPN settings. I suppose that unjs/giget can't do anything to get that repo? Only way is to use NPM packages?
#Nuxt Layers/Giget private named secure gitlab repo
3 messages · Page 1 of 1 (latest)
I opened an issue last month that is tangentially related to this: https://github.com/nuxt/nuxt/issues/19117#issuecomment-1443747405. In your case I believe the provider is supported, but it doesn't work because of the requirement for custom VPN settings?
Supported providers: https://github.com/unjs/giget/blob/main/src/providers.ts
I did not try this solution myself, so I don't know if it has the flexibility to meet your requirements, but DanielRoe mentioned -https://github.com/nuxt/nuxt/issues/19117#issuecomment-1434727473 - that you could create a custom provider using the documentation here: https://github.com/unjs/giget#custom-providers.
As far as I was able to identify in my case, if you don't have a supported provider (or it doesn't work) and you don't make a custom provider then you will need to fall back to NPM packages.
GitHub
✨ Download templates and git repositories with pleasure! - giget/providers.ts at main · unjs/giget
GitHub
Environment Operating System: Windows_NT Node Version: v16.19.0 Nuxt Version: 3.0.0 Nitro Version: 1.0.0 Package Manager: npm@9.2.0 Builder: vite User Config: extends Runtime Modules: - Build Modul...
Thank you! I will check it out