refactor: fold shared ui/server packages into the cloud app
Le depot ne contient plus qu'une seule application : plus de paquets
@cohaise/ui ni @cohaise/server.
- backend/shared/src -> backend/cloud/src/lib (socle serveur inline)
- frontend/shared/src -> frontend/cloud/src/{ui,styles,fonts}
- imports @cohaise/server / @cohaise/ui remplaces par des chemins relatifs
- package.json, tsconfig, Dockerfiles et docker-compose sans workspace partage
- docs (README, architecture, standards, workflow, agents, api, security,
deployment, docker) alignes sur la structure autonome
This commit is contained in:
@@ -8,7 +8,6 @@ COPY package.json package-lock.json tsconfig.json tsconfig.base.json ./
|
||||
COPY frontend ./frontend
|
||||
|
||||
RUN --mount=type=cache,target=/root/.npm npm ci
|
||||
RUN npm run build --workspace=frontend/shared
|
||||
RUN npm run build --workspace=${APP_DIR}
|
||||
|
||||
FROM alpine:3.21 AS export
|
||||
|
||||
Reference in New Issue
Block a user