File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ vscode_yarn() {
35
35
cd lib/vscode
36
36
yarn --production --frozen-lockfile
37
37
cd extensions
38
- # Cannot use --production here. The postinstall here uses a dev dependency.
39
- yarn --frozen-lockfile
38
+ yarn --production --frozen-lockfile
40
39
}
41
40
42
41
main " $@ "
Original file line number Diff line number Diff line change @@ -217,6 +217,26 @@ index 0000000000..88b720ceee
217
217
+ util.rimraf("out-vscode-min"),
218
218
+ common.minifyTask("out-vscode")
219
219
+ ));
220
+ diff --git a/extensions/package.json b/extensions/package.json
221
+ index 7c668c9744..0778f4f7db 100644
222
+ --- a/extensions/package.json
223
+ +++ b/extensions/package.json
224
+ @@ -2,13 +2,14 @@
225
+ "name": "vscode-extensions",
226
+ "version": "0.0.1",
227
+ "description": "Dependencies shared by all extensions",
228
+ + "dependencies_comment": "Move rimraf to dependencies because it is used in the postinstall script.",
229
+ "dependencies": {
230
+ + "rimraf": "^3.0.2",
231
+ "typescript": "3.9.6"
232
+ },
233
+ "scripts": {
234
+ "postinstall": "node ./postinstall"
235
+ },
236
+ "devDependencies": {
237
+ - "rimraf": "^3.0.2"
238
+ }
239
+ }
220
240
diff --git a/package.json b/package.json
221
241
index 86e3d5140d..2e52256e49 100644
222
242
--- a/package.json
You can’t perform that action at this time.
0 commit comments