I used this shell script:
#!/bin/bash
for dir in */; do
cd "$dir"
if [ -f package.json ]; then
rm -rf node_modules
npx ncu -u
npm update
fi
cd ..
done
Published Apr 26 2023
I used this shell script:
#!/bin/bash
for dir in */; do
cd "$dir"
if [ -f package.json ]; then
rm -rf node_modules
npx ncu -u
npm update
fi
cd ..
done