mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
29 lines
549 B
Bash
29 lines
549 B
Bash
#!/usr/bin/env bash
|
|
echo "
|
|
This script npm install's the every project
|
|
"
|
|
function clean_install {
|
|
echo "Installing $1"
|
|
cd $1
|
|
rm package-lock.json
|
|
rm -rf node_modules
|
|
npm install
|
|
npm audit fix
|
|
cd ..
|
|
echo "Complete $1"
|
|
echo ""
|
|
}
|
|
|
|
clean_install dashboard
|
|
clean_install accounts
|
|
clean_install backend
|
|
clean_install home
|
|
clean_install StatusPage
|
|
clean_install ApiDocs
|
|
clean_install probe
|
|
clean_install AdminDashboard
|
|
clean_install InitScript
|
|
clean_install licensing
|
|
clean_install HelmChart
|
|
clean_install JavaScriptSDK
|
|
clean_install . |