Skip to content

Commit 64a6a46

Browse files
authored
Adjust npm package postinstall to install extension dependencies (coder#2180)
Closes coder#1961
1 parent 1e4e72a commit 64a6a46

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ci/build/npm-postinstall.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ vscode_yarn() {
3636
yarn --production --frozen-lockfile
3737
cd extensions
3838
yarn --production --frozen-lockfile
39+
for ext in */; do
40+
ext="${ext%/}"
41+
echo "extensions/$ext: installing dependencies"
42+
cd "$ext"
43+
yarn --production --frozen-lockfile
44+
cd "$OLDPWD"
45+
done
3946
}
4047

4148
main "$@"

0 commit comments

Comments
 (0)