From c6dc3e252ad325a38e3f09d5603032db7d0ee5ac Mon Sep 17 00:00:00 2001 From: Cristian Pufu Date: Mon, 23 Feb 2026 16:29:12 +0200 Subject: [PATCH] fix: exclude frontend source from wheel to prevent runtime npm build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wheel was shipping both `frontend/` (source) and `static/` (built output). When installed, `needs_build()` saw the frontend source, compared mtimes, and attempted an `npm run build` — failing in CI where npm isn't available. Excluding `frontend/**` from the wheel means only the pre-built static assets are shipped, so no build is attempted at runtime. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 3 ++- uv.lock | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c1cbcb6..b33bfdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-dev" -version = "0.0.59" +version = "0.0.60" description = "UiPath Developer Console" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" @@ -57,6 +57,7 @@ dev = [ [tool.hatch.build.targets.wheel] packages = ["src/uipath"] artifacts = ["src/uipath/dev/server/static/**"] +exclude = ["src/uipath/dev/server/frontend/**"] [tool.hatch.build.targets.sdist] exclude = ["demo"] diff --git a/uv.lock b/uv.lock index 5e959d6..2a05e86 100644 --- a/uv.lock +++ b/uv.lock @@ -1400,7 +1400,7 @@ wheels = [ [[package]] name = "uipath-dev" -version = "0.0.59" +version = "0.0.60" source = { editable = "." } dependencies = [ { name = "fastapi" },