whenever I generate a package-lock file, there is also "resolved" block that looks like this:
"resolved": "http://devel.npm.registry:4873/lodash/-/lodash-4.17.5.tgz"
What is the point of this URL? Later, if I try to install dependencies based on this package-lock, do I need to use the same npm registry? Because we use a different npm registry for local development and for production builds. Thus when I develop, I use devel.npm.registry
, but the CI tool uses production.npm.registry
. According to my tests, the URL doesn't matter (I tried npm@6.4.1
). But it is current implementation that's gonna change soon or is the URL intentionally ignored? I have the feeling that some of the previous versions of npm actually checked the resolved URLs.
The documentation isn't much helpful in this case.