coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.59k stars 1.32k forks source link

feature suggestion: remove yarn requirement #2881

Open mikemaccana opened 6 months ago

mikemaccana commented 6 months ago

Similar to https://github.com/coral-xyz/anchor/issues/2839 - originally there were a few reasons to add a yarn dependency

There's a few downsides to yarn too:

There doesn't seem to be a good reason to require a third party package manage manager anymore.

As @acheroncrypto mentioned in #2839:

It's always good to have less dependencies

😁

acheroncrypto commented 6 months ago

To add to the downsides you mentioned, I was a fan of yarn but their v3 release was quite annoying to upgrade, so I think it's worth moving away from it.

beeb commented 5 months ago

To add to the list, yarn v4 is not compatible with VSCode out of the box. It requires a special VSCode extension (ZipFS) and needs additional commands to add a typescript SDK, and finally the version of typescript that is used needs to changed manually.