refactor(build): rename frontend dist output to grimmory

- Frontend build output:
  - change the Angular application output path from `dist/booklore` to `dist/grimmory`
  - keep the workspace folder layout unchanged while aligning the emitted artifact name with Grimmory

- Packaging pipeline:
  - update the Docker frontend copy step to consume `dist/grimmory/browser`
  - update the backend Gradle default frontend dist path to the same location so local packaging and container builds stay in sync
This commit is contained in:
James Cox
2026-03-20 19:58:03 -05:00
committed by James Cox
parent d786dd8ccb
commit ecf388f7a2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/home/gradle/.gradle \
./gradlew --no-daemon dependencies ./gradlew --no-daemon dependencies
COPY booklore-api/ ./ COPY booklore-api/ ./
COPY --from=frontend-build /workspace/booklore-ui/dist/booklore/browser /tmp/frontend-dist COPY --from=frontend-build /workspace/booklore-ui/dist/grimmory/browser /tmp/frontend-dist
RUN --mount=type=cache,target=/home/gradle/.gradle \ RUN --mount=type=cache,target=/home/gradle/.gradle \
./gradlew --no-daemon -PfrontendDistDir=/tmp/frontend-dist bootJar ./gradlew --no-daemon -PfrontendDistDir=/tmp/frontend-dist bootJar
+1 -1
View File
@@ -10,7 +10,7 @@ plugins {
group = 'org.booklore' group = 'org.booklore'
version = '0.0.1-SNAPSHOT' version = '0.0.1-SNAPSHOT'
def defaultFrontendDistDir = file("${rootDir}/../booklore-ui/dist/booklore/browser") def defaultFrontendDistDir = file("${rootDir}/../booklore-ui/dist/grimmory/browser")
def configuredFrontendDistDir = providers.gradleProperty('frontendDistDir') def configuredFrontendDistDir = providers.gradleProperty('frontendDistDir')
.map { file(it) } .map { file(it) }
+1 -1
View File
@@ -24,7 +24,7 @@
"build": { "build": {
"builder": "@angular/build:application", "builder": "@angular/build:application",
"options": { "options": {
"outputPath": "dist/booklore", "outputPath": "dist/grimmory",
"index": "src/index.html", "index": "src/index.html",
"browser": "src/main.ts", "browser": "src/main.ts",
"polyfills": [ "polyfills": [