tscpp / node-dependencies

Tree view of all node dependencies in workspace
Other
0 stars 0 forks source link

Install local version of package when specified a path #36

Open tscpp opened 3 years ago

tscpp commented 3 years ago

If you install ./path/to/package the installation name will be package-name. When we update the package, we need to use the path instead of the package name.

tscpp commented 3 years ago

Complete #16 before making any changes.

The only way to get the local path in package.json is through the version, e. g. "mypackage": "../pathto/mypackage". Using package-lock.json the local path is in the "resolved" property in dependencies.