Publish Progress #1

Merged
me merged 28 commits from init into main 2025-01-04 09:00:20 -07:00
Showing only changes of commit 338eb1efdf - Show all commits

14
run.sh

@ -26,6 +26,20 @@ else
fi
## Install/update any project modules. ##
if [[ `pwd` != $DIR && -e package.json ]]; then
cat <<- EOF
WARNING: It seems you are currently in a different JS project which already
has a package.json. Cannot guarantee safety of installing $DIR. Please
make sure you understand what you're doing before continuing.
EOF
printf "Would you like to continue? [N/y]: "
typeset -u continue
read continue
if [[ $continue != Y* ]]; then
echo "Good choice, exiting application."
exit 1
fi
fi
echo "Refreshing NPM packages."
bash -c "rm -r $DIR/node_modules $DIR/package-lock.json"
npm install $DIR