Files
PINE/check.sh
Laura Glendenning a0d0a8bd69 Update angular from 7 -> 12.
Also includes a bugfix in oauth code.
2021-08-05 18:32:19 -04:00

23 lines
563 B
Bash
Executable File

#!/bin/bash
# (C) 2021 The Johns Hopkins University Applied Physics Laboratory LLC.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo "Checking dependencies for security issues..."
for MOD in backend client docs eve pipelines test; do
pushd ${DIR}/${MOD} &> /dev/null
echo ""
echo " Checking ${MOD}..."
pipenv check
popd &> /dev/null
done
for MOD in frontend/annotation test/tests; do
pushd ${DIR}/${MOD} &> /dev/null
echo ""
echo " Checking ${MOD}..."
npm audit
popd &> /dev/null
done