1 parent 2dafef7 commit a3f94e4Copy full SHA for a3f94e4
1 file changed
remote.sh
@@ -374,6 +374,14 @@ if [ -n "$BRANCH" ] && ! [ -f "/var/www/$APPID-completed" ]; then
374
if [ -f package.json ]; then
375
# Link nextcloud vue
376
link_nextcloud_vue "$APPID"
377
+
378
+ # Make exception for pdfviewer which seems to have outdated package-lock.json.
379
+ # TODO: revert this later
380
+ if [ -f "$APPID" = "files_pdfviewer" ]; then
381
+ npm install
382
+ fi
383
384
+ # Compile the app
385
if ! npm ci --no-audit || ! link_nextcloud_vue "$APPID" || ! npm run dev --if-present; then
386
echo "Could not compile the $APPID app."
387
exit 1
0 commit comments