refactor(frontend): repoint repo tooling to the frontend path
- Tooling and automation: - update Dependabot and the frontend test workflow to read frontend-owned paths - keep published frontend test reports aligned with the renamed project directory - extend ignore rules for frontend-generated test output and local dependencies - Local developer entrypoints: - repoint the root Justfile ui module at frontend/Justfile - update the dev compose bind mount to use ./frontend - update the Weblate setup script to source translations from frontend/src/i18n - Build integration: - repoint the Docker frontend build stage to /workspace/frontend and the renamed source paths - update the backend Gradle fallback dist location to ../frontend/dist/grimmory/browser - Repository guidance: - rewrite root docs and AGENTS references that still pointed at booklore-ui so contributor guidance matches the new directory name - Validation: - not run; this commit is scoped to staged path rewrites only
This commit is contained in:
+5
-5
@@ -1,13 +1,13 @@
|
||||
FROM --platform=$BUILDPLATFORM node:24-alpine AS frontend-build
|
||||
|
||||
WORKDIR /workspace/booklore-ui
|
||||
WORKDIR /workspace/frontend
|
||||
|
||||
COPY booklore-ui/package.json booklore-ui/package-lock.json ./
|
||||
COPY frontend/package.json frontend/package-lock.json ./
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --no-audit --no-fund
|
||||
|
||||
COPY booklore-ui/ ./
|
||||
RUN --mount=type=cache,target=/workspace/booklore-ui/.angular/cache \
|
||||
COPY frontend/ ./
|
||||
RUN --mount=type=cache,target=/workspace/frontend/.angular/cache \
|
||||
npm run build --configuration=production
|
||||
|
||||
FROM --platform=$BUILDPLATFORM gradle:9.3.1-jdk25-alpine AS backend-build
|
||||
@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/home/gradle/.gradle \
|
||||
./gradlew --no-daemon dependencies
|
||||
|
||||
COPY booklore-api/ ./
|
||||
COPY --from=frontend-build /workspace/booklore-ui/dist/grimmory/browser /tmp/frontend-dist
|
||||
COPY --from=frontend-build /workspace/frontend/dist/grimmory/browser /tmp/frontend-dist
|
||||
|
||||
RUN --mount=type=cache,target=/home/gradle/.gradle \
|
||||
./gradlew --no-daemon -PfrontendDistDir=/tmp/frontend-dist bootJar
|
||||
|
||||
Reference in New Issue
Block a user