From 64a6a460c8d961df1538b02910a4c0b04b1158b1 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 9 Oct 2020 15:00:49 -0400 Subject: [PATCH] Adjust npm package postinstall to install extension dependencies (#2180) Closes #1961 --- ci/build/npm-postinstall.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/build/npm-postinstall.sh b/ci/build/npm-postinstall.sh index 127d6408..74b90478 100755 --- a/ci/build/npm-postinstall.sh +++ b/ci/build/npm-postinstall.sh @@ -36,6 +36,13 @@ vscode_yarn() { yarn --production --frozen-lockfile cd extensions yarn --production --frozen-lockfile + for ext in */; do + ext="${ext%/}" + echo "extensions/$ext: installing dependencies" + cd "$ext" + yarn --production --frozen-lockfile + cd "$OLDPWD" + done } main "$@"