From 8bc07c45f54282a9331f2ac6de85a8fd7892ac02 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 11 May 2021 09:44:48 +0100 Subject: [PATCH] Cleanup the install-node target so it just calls yarn. --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 0b4d1a7fd..9dbb3d00f 100644 --- a/Makefile +++ b/Makefile @@ -24,16 +24,7 @@ appbundle: ./pkg/mac/build.sh install-node: - cd web && npm install - cd web && npm audit fix - rm -f web/yarn.lock - cd web && yarn import -# Commented the below line to avoid vulnerability in lodash package. -# Refer https://www.npmjs.com/advisories/1523. -# Once fixed we will uncomment it. -# cd web && yarn audit - rm -f package-lock.json - rm -f web/package-lock.json + cd web && yarn install bundle: cd web && yarn run bundle