Skip to content

Commit

Permalink
@uppy/companion: don't pin Yarn version in package.json (#3347)
Browse files Browse the repository at this point in the history
Fixes: #3356
  • Loading branch information
aduh95 committed Dec 9, 2021
1 parent 479f3a6 commit 9c7b17e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions bin/update-yarn.sh
Expand Up @@ -28,8 +28,6 @@ echo "$PLUGINS" | xargs -n1 -t corepack yarn plugin remove

cp package.json .yarn/cache/tmp.package.json
sed "s#\"yarn\": \"$CURRENT_VERSION\"#\"yarn\": \"$LAST_VERSION\"#;s#\"yarn@$CURRENT_VERSION\"#\"yarn@$LAST_VERSION\"#" .yarn/cache/tmp.package.json > package.json
cp packages/@uppy/companion/package.json .yarn/cache/tmp.package.json
sed "s#\"yarn\": \"$CURRENT_VERSION\"#\"yarn\": \"$LAST_VERSION\"#;s#\"yarn@$CURRENT_VERSION\"#\"yarn@$LAST_VERSION\"#" .yarn/cache/tmp.package.json > packages/@uppy/companion/package.json
rm .yarn/cache/tmp.package.json

echo "$PLUGINS" | xargs -n1 -t corepack yarn plugin import
Expand Down
4 changes: 1 addition & 3 deletions packages/@uppy/companion/package.json
Expand Up @@ -112,9 +112,7 @@
"test": "bash -c 'source env.test.sh && ../../../node_modules/jest/bin/jest.js'",
"test:watch": "yarn test -- --watch"
},
"packageManager": "yarn@3.1.0",
"engines": {
"node": ">=10.20.1",
"yarn": "3.1.0"
"node": ">=10.20.1"
}
}

0 comments on commit 9c7b17e

Please sign in to comment.