Skip to content

Commit fd00d9a

Browse files
authored
chore(cli): limit yarn@^1.0.0 (#3357)
BREAKING CHANGE: limits Yarn versions to `yarn@^1.0.0`
1 parent 8989218 commit fd00d9a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/api/cli/src/util/check-system.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ const NPM_ALLOWLISTED_VERSIONS = {
3333
linux: '>= 5.4.0',
3434
};
3535
const YARN_ALLOWLISTED_VERSIONS = {
36-
all: '0.23.3 || 0.24.6 || >= 1.0.0',
37-
darwin: '0.27.5',
38-
linux: '0.27.5',
36+
all: '^1.0.0',
3937
};
4038

4139
export function checkValidPackageManagerVersion(packageManager: string, version: string, allowlistedVersions: string) {

0 commit comments

Comments
 (0)