Commit Graph

4 Commits

Author SHA1 Message Date
Jason Staten
1af7c6d4bc test: migrate more tests to Jest
* chore: local-resolver to jest

* chore: lockfile-file to jest

* chore: lockfile-utils to jest

* style: fix

PR #2909
ref #2858
2020-10-04 15:17:06 +03:00
Zoltan Kochan
1140ef721b fix: registry set in lockfile resolution should not be ignored
ref #2687
PR #2733
2020-07-31 11:09:06 +03:00
Zoltan Kochan
c7f9ef4ba9 fix(lockfile): relative tarballs should not start with slash
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
2019-05-18 11:48:20 +03:00
Zoltan Kochan
13616f1217 refactor: rename packages from shrinkwrap to lockfile 2019-03-06 17:18:05 +02:00