-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Specify a local npm registry to be used with npmgraph #19
Comments
I have the same or similar question. The running instance seems to ignore my |
Briefly, no, this isn't something that has been designed for, but it's probably doable. The main issues, off the top of my head:
Re: #1, as long as the private repository is reachable directly by the client this could be configured on the client on a per-user basis (my initial thought). So this could potentially work on npmgraph.js.org without having to run a private server. The other approach would be to make this (for example) a |
@broofa npm already has a mechanism for doing this via npmrc environment. The trickiest part here is that internal repositories may be configured specifically for one or more "scoped" packages, while all others are still sourced from the public repo. Reproducing this flexibility using other mechanisms like UI or .env seems like it would be difficult. Would it be possible to have an |
Fair enough. Using this project's .npmrc file is likely to end up being problematic, however, as it's purpose is to provide configuration specific to _this project. So maybe have a command-line flag or env var for specifying a path to whatever .npmrc file the user has for their environment...? |
Quick update for @EmmetBeachBum (et al)... I've never used a private registry, so this feature isn't high on my personal list of needs/wants for this project. I'd be open to a PR that added support, however. ('Would have to include instructions for setting up a local Verdaccio repo so I could test, though.) |
Hi,
Thanks a lot for your awesome work !
Is it possible to specify a local npm server like verdaccio to be used with npm graph ?
Regards,
Blured.
The text was updated successfully, but these errors were encountered: