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
Documentation: yarn licenses generate-disclaimer wrong description #3797
Comments
Hi @Narven and @bestander! I would like to help on that, looks quick to fix. Yet I cannot understand where the documentation is falsy. When running Is the expected behaviour in your Issue is to group deps by licences OR just changing the wording of the documentation? (Although it looks like it says what it does). Have a nice week-end! |
@nbarray, thanks for stepping in |
@nicobarray, @Narven, I'm not sure if this is what the original reporter had in mind, but the inaccuracy is the phrase "packages you have installed" (and a similar inaccuracy for the documentation of The problem is that if I do I don't think there is anything wrong with the current behaviour, but it is definitely independent of the modules that have actually been installed in |
Hey @nicobarray @Narven, I tested this feature on yarn as well but It still just exports all dependencies, not prod only. yarn: 1.19.2 is there any way to get prod only packages for creating a license file? or @tibbes did you find another solution for this? It was also related to this issue |
It's generating production licenses for me alright.
I wish I had a parameter to specify the output file though, since I'm using a Maven plug-in that is capturing the command output, not giving me a way to redirect the output (i.e. |
Do you want to request a feature or report a bug?
Documentation bug
What is the current behavior?
https://yarnpkg.com/en/docs/cli/licenses#toc-yarn-licenses-generate-disclaimer shows in the description:
If the current behavior is a bug, please provide the steps to reproduce.
Go to https://yarnpkg.com/en/docs/cli/licenses#toc-yarn-licenses-generate-disclaimer and read the description of the command.
What is the expected behavior?
It should read something like:
It outputs license template to stdout
or similar.Please mention your node.js, yarn and operating system version.
Irrelevant
The text was updated successfully, but these errors were encountered: