From 2afa75a5a7a0f02b99968297303a76373d9146c2 Mon Sep 17 00:00:00 2001 From: Chaiwat Ekkaewnumchai Date: Tue, 3 Mar 2020 09:54:46 -0800 Subject: [PATCH] Change npm to yarn Summary: `npm` is not found in Tupperware and cause an error in Sandcastle (https://our.intern.facebook.com/intern/sandcastle/job/36028797237063790/). Changing from `npm` to `yarn` Note: - changing job spec (`vcs` and `type` in `capacities`) without changing `npm` passes the test (https://our.intern.facebook.com/intern/sandcastle/job/18014398729063207). Not sure what to do now Reviewed By: nikoant Differential Revision: D20191486 fbshipit-source-id: b354c28a61dbce7bc165bd43c4c608fe359a9670 --- doctor/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doctor/package.json b/doctor/package.json index 5486a0b02..fde06c759 100644 --- a/doctor/package.json +++ b/doctor/package.json @@ -24,13 +24,13 @@ }, "scripts": { "build": "tsc", - "prepare": "npm run build", - "prepublishOnly": "npm test && npm run lint", - "preversion": "npm run lint", + "prepare": "yarn run build", + "prepublishOnly": "yarn test && yarn run lint", + "preversion": "yarn run lint", "test": "jest --config jestconfig.json --passWithNoTests", "lint": "eslint -c ../../sonar/.eslintrc.js src/**/* --ext .js,.ts && tsc --noemit", "fix": "eslint -c ../../sonar/.eslintrc.js src/**/* --fix --ext .js,.ts", - "run": "npm run build && node lib/cli.js" + "run": "yarn run build && node lib/cli.js" }, "files": [ "lib/**/*"