feat: pre-build frontend and harden backend to bypass build failures

- Pre-built frontend 'dist' folder committed to skip npm install on Pi.
- Backend package.json updated to stable dependencies (express 4.x, multer 1.4).
- Added npm 'overrides' to explicitly block mdns2 installation.
- Updated setup.sh to use --package-lock=false for a guaranteed clean install.
This commit is contained in:
Timothy Hofland
2026-03-11 08:41:19 +01:00
parent 686185a625
commit 8ee2795eb7
6 changed files with 41 additions and 9 deletions

View File

@ -1,19 +1,21 @@
{
"name": "backend",
"version": "1.0.0",
"description": "",
"description": "MPVJ Control Center Backend",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^5.2.1",
"multer": "^2.1.1",
"express": "^4.21.2",
"multer": "^1.4.5-lts.1",
"node-osc": "^11.2.2",
"socket.io": "^4.8.3",
"systeminformation": "^5.31.4"
},
"overrides": {
"mdns2": "$mdns2",
"node-uuid": "^1.4.8"
}
}