Understanding proxies and publishing #2285
-
Hiya! Would you be able to help fill me in on some interactions when working with uplinks from a private registry? Say I publish packages to a private verdaccio server with a specific scope, 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 wasn't sure on:
Love using verdaccio and checking out all the updated features, thanks for the effort put into this package! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Verdaccio only fetches from upstreams if is setup in such way (by default), ⬇️ ( never publish), never by design.
Verdaccio will update and merge metadata (pakuments) for each request if you have the So, To avoid conflicts, I'd recommend publishing private packages with some sort of snapshot approach as versioning so never conflicts with the upstreams, like
No, verdaccio never publishes on upstreams.
thanks 💯 ! , don't forget the 🌟 😉 |
Beta Was this translation helpful? Give feedback.
Verdaccio only fetches from upstreams if is setup in such way (by default), ⬇️ ( never publish), never by design.
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…