File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,12 @@ bundle_vscode() {
126
126
EOF
127
127
) > " $VSCODE_OUT_PATH /product.json"
128
128
129
- # We remove the scripts field so that later on we can run
130
- # yarn to fetch node_modules if necessary without build scripts running.
131
- # We cannot use --no-scripts because we still want dependent package scripts to run.
132
- jq ' del(.scripts)' < " $VSCODE_SRC_PATH /package.json" > " $VSCODE_OUT_PATH /package.json"
129
+ # Use the package.json for the web and remote server. They do not have the
130
+ # right version though so pull that from the main package.json
131
+ jq --slurp ' .[0] * .[1] * {version: .[2].version}' \
132
+ " $VSCODE_SRC_PATH /remote/package.json" \
133
+ " $VSCODE_SRC_PATH /remote/web/package.json" \
134
+ " $VSCODE_SRC_PATH /package.json" > " $VSCODE_OUT_PATH /package.json"
133
135
134
136
pushd " $VSCODE_OUT_PATH "
135
137
symlink_asar
You can’t perform that action at this time.
0 commit comments