From f8af66ba6ee8ff2067b44555721a34786840ea8f Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 29 Nov 2021 14:15:49 +0100 Subject: [PATCH] @uppy/companion: fix deploy Yarn version (#3327) * @uppy/companion: fix deploy When running from the Dockerfile, Corepack cannot pick up the information from the parent package.json and tries to run with an older version of Yarn. * Update update-yarn.sh --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c38bbc80b..7b29aeb788 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,9 @@ "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" + "node": ">=10.20.1", + "yarn": "3.1.0" } }