Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NPM registry proxy #7

Closed
lukasluecke opened this issue Aug 6, 2019 · 4 comments
Closed

Add NPM registry proxy #7

lukasluecke opened this issue Aug 6, 2019 · 4 comments

Comments

@lukasluecke
Copy link
Contributor

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

To speed up installs

@lukasluecke
Copy link
Contributor Author

lukasluecke commented Aug 6, 2019

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
Copy link
Contributor Author

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
Copy link
Contributor Author

yarnpkg/yarn#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.

@s4mpl3d
Copy link
Member

s4mpl3d commented Feb 29, 2024

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

@s4mpl3d s4mpl3d closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants