From abc6eafd0c9ef4be6745d32f6a8d4fcf4db56960 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Sun, 1 Nov 2026 01:52:10 +0800 Subject: [PATCH] fix(ui): install locked workspace dependencies in Docker --- Dockerfile | 3 +-- apps/studio/Dockerfile | 3 +-- apps/studio/src/styles/graphic.module.css | 2 +- apps/waterfall-wiki/Dockerfile | 3 +-- apps/waterfall-wiki/src/styles/landing.module.css | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index f081c17..f5911c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,8 @@ RUN corepack enable && corepack prepare pnpm@11.25.0 --activate COPY apps/waterfall-wiki/pnpm-lock.yaml ./ COPY pnpm-workspace.yaml /repo/pnpm-workspace.yaml COPY packages/brand/ /repo/packages/brand/ -RUN pnpm --ignore-workspace fetch --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 COPY apps/waterfall-wiki/package.json ./ -RUN pnpm --filter @prompt/waterfall-wiki install --offline --frozen-lockfile +RUN pnpm --filter @prompt/waterfall-wiki install --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 FROM dependencies AS build # .dockerignore excludes docs and operational notes without extra legacy COPY snapshots. diff --git a/apps/studio/Dockerfile b/apps/studio/Dockerfile index 8338c32..accf262 100644 --- a/apps/studio/Dockerfile +++ b/apps/studio/Dockerfile @@ -4,9 +4,8 @@ RUN corepack enable && corepack prepare pnpm@11.25.0 --activate COPY apps/studio/pnpm-lock.yaml ./ COPY pnpm-workspace.yaml /repo/pnpm-workspace.yaml COPY packages/brand/ /repo/packages/brand/ -RUN pnpm --ignore-workspace fetch --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 COPY apps/studio/package.json ./ -RUN pnpm --filter @prompt/studio install --offline --frozen-lockfile +RUN pnpm --filter @prompt/studio install --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 COPY apps/studio/ . # Compare the two public parameter validators inside the isolated CI build. COPY apps/waterfall-wiki/src/lib/layout-parameters.ts /repo/apps/waterfall-wiki/src/lib/layout-parameters.ts diff --git a/apps/studio/src/styles/graphic.module.css b/apps/studio/src/styles/graphic.module.css index 1fb7265..48db1b3 100644 --- a/apps/studio/src/styles/graphic.module.css +++ b/apps/studio/src/styles/graphic.module.css @@ -13,4 +13,4 @@ .layer[data-selected=true],.tabs button[aria-pressed=true]{background:var(--selection);color:var(--foreground)} .element[data-selected=true],.corner{outline-color:var(--selection-border);border-color:var(--selection-border)} /* The artwork board is deliberately independent of dark UI chrome. */ -.blankHint{color:#49372E} +.blankHint{color:var(--el-espresso)} diff --git a/apps/waterfall-wiki/Dockerfile b/apps/waterfall-wiki/Dockerfile index 5098e00..d1efa99 100644 --- a/apps/waterfall-wiki/Dockerfile +++ b/apps/waterfall-wiki/Dockerfile @@ -11,9 +11,8 @@ RUN corepack enable && corepack prepare pnpm@11.25.0 --activate COPY apps/waterfall-wiki/pnpm-lock.yaml ./ COPY pnpm-workspace.yaml /repo/pnpm-workspace.yaml COPY packages/brand/ /repo/packages/brand/ -RUN pnpm --ignore-workspace fetch --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 COPY apps/waterfall-wiki/package.json ./ -RUN pnpm --filter @prompt/waterfall-wiki install --offline --frozen-lockfile +RUN pnpm --filter @prompt/waterfall-wiki install --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8 FROM dependencies AS build # .dockerignore excludes docs and operational notes without extra legacy COPY snapshots. diff --git a/apps/waterfall-wiki/src/styles/landing.module.css b/apps/waterfall-wiki/src/styles/landing.module.css index 1538b30..19e9ea4 100644 --- a/apps/waterfall-wiki/src/styles/landing.module.css +++ b/apps/waterfall-wiki/src/styles/landing.module.css @@ -4,4 +4,4 @@ .dark:hover{background:var(--primary-hover)} .hero h1>span{color:var(--primary)} .end>span{display:inline-flex}.end>span :global(.endoleap-mark){width:64px;height:64px}.end>span :global(.endoleap-wordmark){display:none!important} -.demoWorld,.miniCanvas{background-color:#FAFAFA;background-image:radial-gradient(var(--grid) .7px,transparent .7px);color:#49372E} +.demoWorld,.miniCanvas{background-color:var(--el-canvas-white);background-image:radial-gradient(var(--grid) .7px,transparent .7px);color:var(--el-espresso)}