Skip to content

Commit

Permalink
chore(cli): limit yarn@^1.0.0 (#3357)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: limits Yarn versions to `yarn@^1.0.0`
  • Loading branch information
erickzhao authored Nov 3, 2023
1 parent 8989218 commit fd00d9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/api/cli/src/util/check-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fd00d9a

Please sign in to comment.