For example, private packages are used by several projects. Can they be referenced by local directory installation?
npm install ../packageA
This installation seems to be correct, and node_modules/packageA is indeed installed, but package.json does not have a reference to packageA.
I don’t know if this method is supported or not, how to update and maintain it in the future.
npm install --save ../package