mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-22 02:12:30 +01:00
Create update-npm.sh
This commit is contained in:
parent
6c5ab3d061
commit
caffbe3186
15
scripts/update/update-npm.sh
Normal file
15
scripts/update/update-npm.sh
Normal file
@ -0,0 +1,15 @@
|
||||
echo Update all dependancies...
|
||||
cd ../..
|
||||
source "config.sh"
|
||||
for D in */; do
|
||||
echo --------------
|
||||
echo "$D";
|
||||
cd $D
|
||||
if [ $pnpm = true ]
|
||||
then
|
||||
pnpm i
|
||||
else
|
||||
npm i
|
||||
fi
|
||||
cd ..
|
||||
done
|
Loading…
Reference in New Issue
Block a user