Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Make npm registry url configurable #167
Comments
|
@marvinhagemeister I wonder if we could check for an npmrc file at |
|
@marvinhagemeister @developit I would love to do this change, I can see three idea's
Shall we support all three ideas ?. |
|
@pajaydev I'm not sure about a CLI flag, since folks would need to pass it everywhere they run WMR. I actually am thinking maybe as a start we could just check for |
Just came across one of our client projects, which uses their own npm registry instead of the official one. By making it configurable via cli-flag like
--registry https://my-registry.comwe could support that use case.I'm wondering if this is how we can make our npm plugin testable too! We could spin up a fake registry since we only ever download the tarball and use the
--registryflag in our tests to point to our mocked server.