Skip to content
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

Yarn v2/berry support ? #49

Closed
gluck opened this issue Jun 25, 2020 · 3 comments
Closed

Yarn v2/berry support ? #49

gluck opened this issue Jun 25, 2020 · 3 comments

Comments

@gluck
Copy link
Contributor

gluck commented Jun 25, 2020

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

Food for thoughts:

  • command list is pretty different
  • yarn version is "per-repository"
  • the script could either detect the current yarn version to provide proper completion
  • or create another branch/script and rely on the user to use the proper one ?

yarn --help

@dsifford
Copy link
Owner

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
Copy link
Contributor Author

gluck commented Jun 28, 2020

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
Copy link

devthejo commented Apr 3, 2022

here is the fix for yarn workspace completion for v2/v3: #54
;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants