mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-07 15:38:24 -04:00
It is important to save the tarball URL as "relative-path" (without the leading '/'). Sometimes registries are located in a subdirectory of a website. For instance, https://mycompany.jfrog.io/mycompany/api/npm/npm-local/ So the tarball location should be relative to the directory, it is not an absolute-path reference. So we add @mycompany/mypackage/-/@mycompany/mypackage-2.0.0.tgz not /@mycompany/mypackage/-/@mycompany/mypackage-2.0.0.tgz PR #1834 close #1827