Cleanup the install-node target so it just calls yarn.

This commit is contained in:
Dave Page 2021-05-11 09:44:48 +01:00
parent 058afad9eb
commit 8bc07c45f5

View File

@ -24,16 +24,7 @@ appbundle:
./pkg/mac/build.sh ./pkg/mac/build.sh
install-node: install-node:
cd web && npm install cd web && yarn 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
bundle: bundle:
cd web && yarn run bundle cd web && yarn run bundle