dsifford / yarn-completion

Bash completion for Yarn
MIT License
277 stars 25 forks source link

Yarn v2/berry support ? #49

Closed gluck closed 4 years ago

gluck commented 4 years ago

Yarn v1 being on maintenance mode, it'd be great to support the upcoming v2/berry.

Food for thoughts:

yarn --help

dsifford commented 4 years ago

Hi @gluck. I've had this in the back of my mind for a while, but I honestly think that v2 is so drastically different than v1 that it would need its own implementation separate from this one.

I don't use v2 personally and don't have much free time these days so I don't think I will be the one to put those together.

I would have loved it if the yarn folks would have supported this on their end. That would be the ideal scenario.

gluck commented 4 years ago

Yes, I also think there's only so much you can do on a separate shell script, first class support inside yarn itself would be preferable. Thanks for the feedback, not sure I'll be the one to pick this task up either.

devthejo commented 2 years ago

here is the fix for yarn workspace completion for v2/v3: https://github.com/dsifford/yarn-completion/pull/54 ;)