I'm no Yarn expert, but the Sage documentation diverges on how to install Yarn. Yarn currently gives this advice. Specifically saying not to use NPM to install Yarn, but rather use Corepack.
In addition, is Sage compatible with Yarn PnP? If so, additional entries are needed in gitignore, because it doesn't store modules in node_modules but rather in the .yarn/ directory. The gitignore entries are outlined here.
Summary
I'm no Yarn expert, but the Sage documentation diverges on how to install Yarn. Yarn currently gives this advice. Specifically saying not to use NPM to install Yarn, but rather use Corepack.
In addition, is Sage compatible with Yarn PnP? If so, additional entries are needed in gitignore, because it doesn't store modules in node_modules but rather in the
.yarn/
directory. The gitignore entries are outlined here.Additional context
No response