Silence deprecation warnings in default startup scripts Closes #2876

15363a8d69cf83d84d8cb2e5f1c70216353f7782

Cohee <18619528+Cohee1207@users.noreply.github.com>

5 files changed, +6 -6Ignore whitespace
Dockerfile+1 -1
@@ -19,7 +19,7 @@ ENV NODE_ENV=production
19COPY package*.json post-install.js ./19COPY package*.json post-install.js ./
20RUN \20RUN \
21 echo "*** Install npm packages ***" && \21 echo "*** Install npm packages ***" && \
22 npm i --no-audit --no-fund --quiet --omit=dev && npm cache clean --force22 npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
2323
24# Bundle app source24# Bundle app source
25COPY . ./25COPY . ./
Start.bat+1 -1
@@ -1,7 +1,7 @@
1@echo off1@echo off
2pushd %~dp02pushd %~dp0
3set NODE_ENV=production3set NODE_ENV=production
4call npm install --no-audit --no-fund --quiet --omit=dev4call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
5node server.js %*5node server.js %*
6pause6pause
7popd7popd
UpdateAndStart.bat+1 -1
@@ -12,7 +12,7 @@ if %errorlevel% neq 0 (
12 )12 )
13)13)
14set NODE_ENV=production14set NODE_ENV=production
15call npm install --no-audit --no-fund --quiet --omit=dev15call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
16node server.js %*16node server.js %*
17pause17pause
18popd18popd
UpdateForkAndStart.bat+2 -2
@@ -42,7 +42,7 @@ if NOT "!AUTO_SWITCH!"=="" (
42 SET TARGET_BRANCH=release42 SET TARGET_BRANCH=release
43 goto update43 goto update
44 )44 )
45 45
46 echo Auto-switching defined to stay on current branch46 echo Auto-switching defined to stay on current branch
47 goto update47 goto update
48)48)
@@ -95,7 +95,7 @@ if %errorlevel% neq 0 (
9595
96echo Installing npm packages and starting server96echo Installing npm packages and starting server
97set NODE_ENV=production97set NODE_ENV=production
98call npm install --no-audit --no-fund --quiet --omit=dev98call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
99node server.js %*99node server.js %*
100100
101:end101:end
start.sh+1 -1
@@ -26,7 +26,7 @@ fi
2626
27echo "Installing Node Modules..."27echo "Installing Node Modules..."
28export NODE_ENV=production28export NODE_ENV=production
29npm i --no-audit --no-fund --quiet --omit=dev29npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev
3030
31echo "Entering SillyTavern..."31echo "Entering SillyTavern..."
32node "server.js" "$@"32node "server.js" "$@"