mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
11 lines
252 B
Bash
11 lines
252 B
Bash
|
|
|
|
npm install -g npm-check-updates
|
|
|
|
# Loop through all the directories.
|
|
for d in */ ; do
|
|
cd $d || echo "Cannot cd into $d"
|
|
ncu -u || echo "Cannot update $d"
|
|
npm install || echo "Cannot npm install $d"
|
|
cd .. || echo "Cannot cd out"
|
|
done |