https://docs.npmjs.com/cli/v7/configuring-npm/package-json#local-paths
When adding local path as dependency using npm install file:./localdep
it creates
symbolic link to local directory.
npm install
ls -alh node_modules
... localdep -> ../localdep
Changes to local package are reflected in node_modules
🎉.