New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add package path to json list #7462
Add package path to json list #7462
Conversation
This change will help automated tools to make use of this information and process or audit the installed packages further.
Tests will be failing due to expired certificates until #7457 is merged. |
@krzysztof-pawlik-gat #7457 has been merged, could you update |
@rockwyc992 thanks! I've updated |
…kage-path-to-json-list
Lint seems to be failing on master since #7512 got merged. |
Windows Node 10 failed with:
The rest of tests/builds looks OK. |
Waiting for this as well to be able to use licensed for yarn. |
Summary
licensed
tool for auditing licenses of packages needs to have a directory where a package is installed. Right now even for applications usingyarn
it will fallback to usingnpm
to list dependencies, to fix thatyarn
needs to output a directory where files for each package are available.Test plan
Tests have been updated, the only tricky part was that each test run will generate a different path (due to using
/tmp
and one-time directories in it), hence special care had to be taken to account for this.