17 lines
318 B
Bash
Executable File
17 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
# Schneller Vulnerability Audit
|
|
|
|
set -e
|
|
|
|
# Package Manager erkennen
|
|
if [ -f "pnpm-lock.yaml" ]; then
|
|
echo "Fuehre pnpm audit aus..."
|
|
pnpm audit
|
|
elif [ -f "yarn.lock" ]; then
|
|
echo "Fuehre yarn audit aus..."
|
|
yarn audit
|
|
else
|
|
echo "Fuehre npm audit aus..."
|
|
npm audit
|
|
fi
|