LicenseFinder icon indicating copy to clipboard operation
LicenseFinder copied to clipboard

Yarn command custom configuration

Open radenkoletic opened this issue 1 year ago • 5 comments

Using license_finder 7.0.1for scanning yarn project. It would be great to add ability to provide some additional yarn options, something similar to --maven-options. For example, I want to be able to add -ignore-platform to the yarn command and so far, I can't find the way to do it.

radenkoletic avatar Sep 05 '22 14:09 radenkoletic

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Sep 05 '22 14:09 cf-gitbot

Hey @radenkoletic ! There actually is a --yarn-options flag. Have you tried it? Let me know if it works for you!

xtreme-shane-lattanzio avatar Sep 19 '22 16:09 xtreme-shane-lattanzio

Hey @xtreme-shane-lattanzio. Thank you for looking into this. I can see --yarn-options has been added through this PR https://github.com/pivotal/LicenseFinder/pull/904. But it is not included in the 7.0.1 release. Am I right? Will there be a new release soon? If not, is it ok to build the new docker image from the master?

radenkoletic avatar Sep 23 '22 08:09 radenkoletic

@radenkoletic Whoops my bad, I didn't even realize. I am actually working on some yarn2 fixes. Once I get it done I will make a release within the next couple weeks. You can also pull the edge docker image to get the master stuff if you can't wait docker pull licensefinder/license_finder:edge

xtreme-shane-lattanzio avatar Sep 23 '22 15:09 xtreme-shane-lattanzio

That's great. Thank you, @xtreme-shane-lattanzio.

radenkoletic avatar Sep 24 '22 09:09 radenkoletic