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:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "xenia-client-services",
|
||||
"private": true,
|
||||
"description": "npm workspace for the on-site frontends and their shared packages (APPS_PLATFORM D-15). The backend is not part of it.",
|
||||
"workspaces": [
|
||||
"packages/*",
|
||||
"waiter_pwa",
|
||||
"manager_dashboard"
|
||||
],
|
||||
"scripts": {
|
||||
"dev:waiter": "npm run dev -w waiter_pwa",
|
||||
"dev:manager": "npm run dev -w manager-dashboard",
|
||||
"build:waiter": "npm run build -w waiter_pwa",
|
||||
"build:manager": "npm run build -w manager-dashboard"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user