`scripts/clean.sh` was using a hardcoded Yarn [to avoid `npx yarn` using
Yarn
1](4242f6ee3d).
However, apparently the Blessed Way of using Yarn is to use `corepack`
and have it install the Yarn version specified in `packageManager`.

### Change Type

- [x] `internal` — Any other changes that don't affect the published
package
watermark
Dan Groshev 2024-01-24 16:36:24 +00:00 zatwierdzone przez GitHub
rodzic 2cd7573c66
commit 8f61ede9bb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -35,7 +35,5 @@ rm -rf {packages,apps}/vscode/extension/temp
rm -rf {packages,apps}/vscode/extension/editor
rm -rf apps/docs/content.json
# need to run yarn directly
# because yarn messes with the PATH, aliasing itself to some tmp dir
# which is apparently deleted by our clean script
node "$(dirname -- "$0")/../.yarn/releases/yarn-3.5.0.cjs"
corepack enable
yarn