links and dep resolution
A link can be to a package in
node_modules, or a package outside of
node_modules, which is either under the root folder, or not under the
Link targets are considered a top-of-tree node if they are not within the
node_modules folder of another traversed node.