Ensure registry
option is enforced even when package-lock.json
has different resolved
#7
Closed
3 tasks done
There seems to be some confusion around whether the
package-lock.json
file enforces the destination of the package that is fetched based on theresolved
field.Based on some historical context (ref 1 & 2), I'd like us to test that we do, indeed, respect the
registry
option when set in.npmrc
or--registry
and potentially add a test for the scenario where a lock file has disparate references to the provided registry (ref current pickRegistry() tests).resolved
paths inpackage-lock.json
vs. a definedregistry
option)The text was updated successfully, but these errors were encountered: