From 683a70eacea35b3348d59cae28be7b4559fb66fb Mon Sep 17 00:00:00 2001 From: Vitali sharp8n Date: Thu, 17 Sep 2026 23:43:28 +0300 Subject: [PATCH] build(web-vue): skip the repo lint gate when building the image - Build with `build:packages` + the new `build:app` script instead of `build`, which also ran oxlint (lint:structure + type-aware oxlint over ~2k files): linting is a CI/`bun run check` concern, not an image step - Removes ~7 s per image build and the fork's pre-existing `max-lines` warnings for three upstream files from the w4c deploy log --- Dockerfile.web-vue | 9 ++++++--- package.json | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile.web-vue b/Dockerfile.web-vue index 2e327c090..e5b874680 100644 --- a/Dockerfile.web-vue +++ b/Dockerfile.web-vue @@ -43,9 +43,12 @@ RUN bun install --frozen-lockfile # Full source (excludes heavy local build outputs via .dockerignore). COPY . . -# Same pipeline as the Cloudflare Pages deploy (app.yml): build:packages → -# lint → vite build. Lint runs on the vendored fork (includes our theme patch). -RUN bun run build +# Build the workspace packages and the SPA. Deliberately NOT `bun run build`: +# that also runs the repo's oxlint quality gate (`lint:structure` + type-aware +# oxlint over ~2k files). Linting is a CI/`bun run check` concern, not an image +# build step — it added ~7 s and spammed the deploy log with the fork's +# pre-existing `max-lines` warnings for three upstream files. +RUN bun run build:packages && bun run build:app # Prune to production dependencies so the runtime layer is lean. bun keeps # workspace symlinks; the MCP server's deps (hono, @modelcontextprotocol/sdk, diff --git a/package.json b/package.json index 3492eabc1..63005d3f2 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "dev": "vite", "dev:portless": "portless run vite", "build": "bun run build:packages && bun run lint && vite build", + "build:app": "vite build", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build",