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.
19 lines
404 B
JSON
19 lines
404 B
JSON
{
|
|
"name": "omnivoice-studio-monorepo",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"packageManager": "bun@1.3.11",
|
|
"scripts": {
|
|
"dev": "turbo run dev //#dev:api",
|
|
"build": "turbo run build",
|
|
"start": "turbo run start",
|
|
"dev:api": "uv run uvicorn api:app --host 0.0.0.0 --port 8000 --reload"
|
|
},
|
|
"workspaces": [
|
|
"frontend"
|
|
],
|
|
"devDependencies": {
|
|
"turbo": "^2.9.5"
|
|
}
|
|
}
|