Skip to content

Commit

Permalink
chore(cli): limit yarn@^1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Sep 18, 2023
1 parent 3cc261a commit 0c4c1d7
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 0c4c1d7

Please sign in to comment.