refactor: move app from apps/kai-sa-cam to the repository root
CD — Kai-Sa-Cam Deployment / deploy (push) Successful in 9s

- move sources, Dockerfile and build config (src, public, package.json,
  vite/tailwind/postcss/tsconfig, index.html) to the repo root
- docker-compose: build context is now "." instead of ./apps/kai-sa-cam
- add a .dockerignore (node_modules, dist, media, config, .env, ...) so
  the larger build context does not ship media, secrets or local
  node_modules into the image
- deploy workflow: replace the apps/kai-sa-cam/** paths filter with
  paths-ignore so pushes keep triggering deployments
- remove the Renovate workflow
This commit is contained in:
2026-10-26 09:01:54 +01:00
parent c8d78bacbb
commit e8fdda738e
29 changed files with 17 additions and 41 deletions
+37
View File
@@ -0,0 +1,37 @@
{
"name": "kai-sa-cam",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && esbuild src/server/index.ts --bundle --platform=node --format=cjs --outfile=dist/server/index.cjs --external:express --external:http-proxy-middleware --external:ws --external:archiver --external:ffmpeg-static",
"preview": "vite preview",
"server": "node --watch dist/server/index.cjs",
"start": "node dist/server/index.cjs"
},
"dependencies": {
"archiver": "^7.0.1",
"express": "^4.19.2",
"ffmpeg-static": "^5.2.0",
"http-proxy-middleware": "^3.0.0",
"jose": "^6.2.13",
"ws": "^8.17.0"
},
"devDependencies": {
"@types/archiver": "^6.0.2",
"@types/express": "^4.17.21",
"@types/node": "^20.12.7",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"esbuild": "^0.21.3",
"postcss": "^8.4.38",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^5.2.11"
}
}