From 0c4c1d79a598c51da8039916562d9cc13a2699fc Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Mon, 18 Sep 2023 20:19:31 +0200 Subject: [PATCH] chore(cli): limit yarn@^1.0.0 --- packages/api/cli/src/util/check-system.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/api/cli/src/util/check-system.ts b/packages/api/cli/src/util/check-system.ts index c64f8c4b70..d97aef092b 100644 --- a/packages/api/cli/src/util/check-system.ts +++ b/packages/api/cli/src/util/check-system.ts @@ -33,9 +33,7 @@ const NPM_ALLOWLISTED_VERSIONS = { linux: '>= 5.4.0', }; const YARN_ALLOWLISTED_VERSIONS = { - all: '0.23.3 || 0.24.6 || >= 1.0.0', - darwin: '0.27.5', - linux: '0.27.5', + all: '^1.0.0', }; export function checkValidPackageManagerVersion(packageManager: string, version: string, allowlistedVersions: string) {