chore(build): frontends become one npm workspace; images build from client-services/
Platform-v2 step 2.1 (APPS_PLATFORM D-15):
- root package.json with workspaces (packages/*, waiter_pwa, manager_dashboard)
and empty @xenia/{ui,i18n,api,access} skeletons (filled in 2.3-2.5)
- one root package-lock.json generated from the two old app locks, so every
dependency keeps its exact version (a fresh resolve moved the Capacitor and
Capgo native plugins and broke UI-bundle updates); apps keep nested trees
- waiter/manager Dockerfiles build with context client-services/ (npm ci per
workspace), root .dockerignore replaces the per-app ones; manager on node 22
- Vite dedupes react/react-dom so source-imported packages share the app's React
- waiter eslint ignores build outputs and the Android project
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,8 @@ services:
|
||||
|
||||
waiter_pwa:
|
||||
build:
|
||||
context: ./waiter_pwa
|
||||
context: . # npm workspace root (packages/ are shared)
|
||||
dockerfile: waiter_pwa/Dockerfile
|
||||
args:
|
||||
APP_VERSION: ${VERSION:-dev}
|
||||
image: ${REGISTRY}/pos-waiter:${VERSION:-latest}
|
||||
@@ -20,7 +21,8 @@ services:
|
||||
|
||||
manager_dashboard:
|
||||
build:
|
||||
context: ./manager_dashboard
|
||||
context: .
|
||||
dockerfile: manager_dashboard/Dockerfile
|
||||
image: ${REGISTRY}/pos-manager:${VERSION:-latest}
|
||||
ports:
|
||||
- "5174:80"
|
||||
|
||||
Reference in New Issue
Block a user