From 57d39f7052d5e5f76dd4836beee08fc2b8bc2d3b Mon Sep 17 00:00:00 2001 From: i343759 Date: Thu, 24 Sep 2026 11:27:58 +0300 Subject: [PATCH] Add Yarn Berry (2.x/3.x/4.x) support Detects Yarn Berry via the presence of .yarnrc.yml (the marker file Yarn Berry itself uses to identify a project - Yarn Classic projects never have this file). When detected: - InstallYarnBerry() installs the new yarn-berry dependency (a single bundled CLI script, not a tarball - see https://repo.yarnpkg.com) instead of classic yarn, and shims a wrapper script on PATH so 'yarn' still resolves to a working executable via 'node