Skip to content

Understanding proxies and publishing #2285

Answered by juanpicado
Nessworthy asked this question in Q&A
Discussion options

You must be logged in to vote

but then I would also like to publish / fetch "public" packages with the same scope on the global npmjs registry, is that a thing you could do with verdaccio? I

Verdaccio only fetches from upstreams if is setup in such way (by default), ⬇️ ( never publish), never by design.

would verdaccio prioritize locally hosted packages if requested, and fall back to the proxy?

Verdaccio will update and merge metadata (pakuments) for each request if you have the proxy property on the package access but will prioritize tarballs that are already on the storage (cache), does not make sense to download them again. So, if you want to have a public @scope and private @scope that's possible, but versions…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by juanpicado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants