It's not clear from the documentation what a Verdaccio proxy is.
If I set up a proxy for @acme/foo
and someone targets Verdaccio trying to publish @acme/foo
how do I configure the behavior and what is the default? There are three obvious possibilities but none of them are covered in the docs,
- The publish is reject
- The publish is proxied.
- The publish is done locally, and further requests are not proxied.
I would prefer the third option but when I try to publish to a package that is proxied I get this in npm,
npm ERR! code EPUBLISHCONFLICT
npm ERR! publish fail Cannot publish over existing version.
npm ERR! publish fail Update the 'version' field in package.json and try again.
npm ERR! publish fail
npm ERR! publish fail To automatically increment version numbers, see:
npm ERR! publish fail npm help version
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ecarroll/.npm/_logs/2021-11-11T18_45_39_813Z-debug.log