include devDeps of linked dependencies as well as root

This prevents marking extraneous deps from a linked thing in development