From acf098484d33d6f159f1f29d75587a4ff7c0a94b Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Tue, 1 Sep 2020 21:38:16 -0400 Subject: [PATCH] Fix npm post install to fetch extension dependencies 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 127d6408a0c6..47b960d4b76b 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_dir in */; do + cd "$ext_dir" + if [ -f package.json ]; then + yarn --production --frozen-lockfile + fi + cd - + done } main "$@"