dde icon indicating copy to clipboard operation
dde copied to clipboard

Add NPM registry proxy

Open lukasluecke opened this issue 6 years ago • 3 comments

https://verdaccio.org/docs/en/docker

To speed up installs

lukasluecke avatar Aug 06 '19 14:08 lukasluecke

First steps in feature/npm-registry-cache, needs further work due to several concerns:

  • Lockfile includes registry URL -> how to handle CI / different environments? Maybe just shadow the NPM registry inside the DDE network?
  • What happens if Lockfile references a resolved file, but the proxy doesn't have it cached yet?

lukasluecke avatar Aug 06 '19 18:08 lukasluecke

Maybe we could also use something like https://www.npmjs.com/package/npm-proxy-cache - not exactly the same use-case but same direction

lukasluecke avatar Aug 07 '19 11:08 lukasluecke

https://github.com/yarnpkg/yarn/issues/5892

Seems like this will be included in Yarn v2 (Berry), and possibly not backported. Until then not sure how to proceed - except some hackery with string replacements, or just dynamic proxying.

lukasluecke avatar Sep 23 '19 11:09 lukasluecke

Closing this issue as stale. If this is still a concern, please open a new issue

s4mpl3d avatar Feb 29 '24 12:02 s4mpl3d