Fix CI/CD: Add backend/package.json to repository
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Removed package.json from .gitignore (keep package-lock.json ignored)
- Added backend/package.json to git so CI/CD pipeline can build
- This fixes the 'ENOENT: no such file or directory' error in Kaniko build
This commit is contained in:
dvirlabs 2026-03-24 09:44:16 +02:00
parent 15b8334f2a
commit fccd8a0166
2 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
node_modules/ node_modules/
package-lock.json package-lock.json
package.json

17
backend/package.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "oramap-backend",
"version": "1.0.0",
"description": "Ora Map Backend Server",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "node server.js"
},
"keywords": ["map", "family", "leaflet", "express"],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5"
}
}