From caffbe3186077ed7f484fbca240449db80a0b229 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Sat, 1 May 2021 17:23:47 +0200 Subject: [PATCH] Create update-npm.sh --- scripts/update/update-npm.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/update/update-npm.sh diff --git a/scripts/update/update-npm.sh b/scripts/update/update-npm.sh new file mode 100644 index 0000000..d07e9be --- /dev/null +++ b/scripts/update/update-npm.sh @@ -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