packages
keys do not appear to be true paths
#645
Labels
content
Issues or PRs related to the content of the docs
packages
keys do not appear to be true paths
#645
Documentation for the keys of the
packages
property in package-lock.json files describes them as "relative paths from the root project folder". This does not appear to be entirely true.Consider the following package.json:
package.json:
Assume also that "@scope/package-a" has a dependency on a package called "@scope.package-b". When npm installs dependencies, the project directory structure looks like this:
However, package-lock.json has the following entry under
packages
:Notice the path does not actually exist in the directory.
Documentation should be clear about whether this is expected or whether the relative paths, as described, are true paths.
The text was updated successfully, but these errors were encountered: