Open tscpp opened 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.
If you install
./path/to/package
the installation name will bepackage-name
. When we update the package, we need to use the path instead of the package name.