vuki656/package-info.nvim

Support for Yarn 1.x.x

zeitchef opened this issue · 5 comments

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

I'm aware that this was recently removed, as well as the personal opinions regarding Yarn 2 usage, but I personally don't have a lot of choice for work projects which version of Yarn I can use. Might there still be a way to support "legacy" projects that require Yarn 1?

Thanks for the consideration.

Help

No, sorry.

Implementation help

No response

You're right. I didn't consider all the use cases. I'll put it together over the next few days.

Yes please add support for Yarn v1 as it shows error like when upgrading packages it shows error because package-info uses yarn up command to upgrade packages and yarn up is not present in v1

I just implemented it in #108 can you please test it and let me know if it works as expected.

I tested it on one of my repos and it seems okay.

@vuki656 Thanks for your attention to this, but it's still not working for me. It's still trying to use yarn up in a Yarn 1 project.

I just pushed a commit that has print sprinkled over the functions. Can you pull that and try running the commands and let me know what you get?