jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
531 stars 231 forks source link

Support for yarn #477

Open kuuji opened 5 years ago

kuuji commented 5 years ago

Hey there,

Just wanted to check if you guys are planning on writing a wrapper for yarn, similar to what you have currently for npm?

yarn is pretty much a standard in the node ecosystem now and that would be a great addition to the jfrog-cli.

hawkesn commented 5 years ago

Would love to see support for yarn as well

asafgabai commented 3 years ago

Hi @kuuji and @hawkesnc, JFrog CLI now supports Yarn commands! It's available on JFrog CLI 1.48.0 and supports Yarn 2.4.0 and above. You can read more about it here. We'd really appreciate your feedback on it!

tru commented 2 years ago

Hi. Thanks for adding yarn support to jfrog-cli. Any chance we can get it working with the older v1 version of yarn? The changes in v2 makes it really hard for some of our projects to convert. Is there a specific feature set used in v2 that is required for this functionality?

asafgabai commented 2 years ago

Hi @tru. v1 and v2 of Yarn are very different, so when we had to decide which of them to support, we chose v2 because we believe more and more developers will migrate to it as time passes. If we'll decide to do it, adding support also in v1 may take a while. Don't you plan to migrate to v2 (or v3) in the coming months?

tru commented 2 years ago

According to our team v2 is not stable enough to support all npm packages yet. I am not sure since I am not a javascript developer - but this is the reason they gave me. Didn't sound like it was going to be something they would end up doing anytime soon.

eranturgeman commented 1 year ago

Hi @kuuji @tru, @hawkesn @PeterIttner @anandg112. We are currently working on improving our support in Yarn V1. We have now introduced 'audit' command compatibility for Yarn V1