From a5d98cd2b350beea12ef286f217797dc033ffd9f Mon Sep 17 00:00:00 2001 From: Adam Morington <123621952+morington@users.noreply.github.com> Date: Sun, 12 Apr 2026 11:37:26 +0300 Subject: [PATCH] fix: api script cross-platform Updated the dev:api script to use `uv run` instead of a hardcoded virtual environment path. Changes: - replaced `.venv/bin/uvicorn` with `uv run uvicorn` Reason: The previous implementation relied on a POSIX-specific path, which breaks on Windows (where executables are located in `.venv/Scripts`). Using `uv run` ensures the command works consistently across different operating systems by resolving the environment automatically. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d29cffc4..62d1bbca 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dev": "turbo run dev //#dev:api", "build": "turbo run build", "start": "turbo run start", - "dev:api": ".venv/bin/uvicorn api:app --host 0.0.0.0 --port 8000 --reload" + "dev:api": "uv run uvicorn api:app --host 0.0.0.0 --port 8000 --reload" }, "workspaces": [ "frontend"