From 88cef85f6251434fe0856a62f162aab5ab9c6e77 Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 18 Oct 2019 18:40:10 -0500 Subject: [PATCH] Add dependencies required for running build script They were getting pulled from VS Code which doesn't work if you are running a build in a clean repo. --- package.json | 6 ++++-- yarn.lock | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 97b0ba1b..ed414c80 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "postinstall": "rm -rf node_modules/@types/node", "start": "yarn runner ensure-in-vscode && nodemon --watch ../../../out --verbose ../../../out/vs/server/main.js", "watch": "yarn runner ensure-in-vscode && cd ../../../ && yarn watch", - "build": "yarn runner build", + "build": "yarn --ignore-scripts && yarn runner build", "package": "yarn runner package", "binary": "yarn runner binary", "patch:generate": "yarn runner ensure-in-vscode && cd ../../../ && git diff --staged > ./src/vs/server/scripts/vscode.patch", @@ -15,13 +15,15 @@ "devDependencies": { "@coder/nbin": "^1.2.2", "@types/fs-extra": "^8.0.1", + "@types/node": "^10.12.12", "@types/pem": "^1.9.5", "@types/safe-compare": "^1.1.0", "@types/tar-fs": "^1.16.1", "@types/tar-stream": "^1.6.1", "fs-extra": "^8.1.0", "nodemon": "^1.19.1", - "ts-node": "^8.4.1" + "ts-node": "^8.4.1", + "typescript": "3.6" }, "resolutions": { "@types/node": "^10.12.12", diff --git a/yarn.lock b/yarn.lock index f5d01be8..26f914ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2040,6 +2040,11 @@ ts-node@^8.4.1: source-map-support "^0.5.6" yn "^3.0.0" +typescript@3.6: + version "3.6.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" + integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== + undefsafe@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.2.tgz#225f6b9e0337663e0d8e7cfd686fc2836ccace76"