From 52ec232ce405768c1cd464d62858e85095e8b5b6 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Sat, 17 Jan 2026 16:40:43 +0000 Subject: [PATCH] Fix deno npm run-p problem that was preventing TypeScript builds on Deno, by using build-only instead. --- template/scripts/fastapi-vue/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/scripts/fastapi-vue/util.py b/template/scripts/fastapi-vue/util.py index 76324b4..a2f0ec9 100644 --- a/template/scripts/fastapi-vue/util.py +++ b/template/scripts/fastapi-vue/util.py @@ -51,8 +51,10 @@ def find_build_tool(): "npm": ("install",), "bun": ("--bun", "install"), } + # Use build-only for deno to avoid npm-run-all2 issues with run-p + # (run-p tries to spawn npm which doesn't exist in deno) build = { - "deno": ("task", "build"), + "deno": ("task", "build-only"), "npm": ("run", "build"), "bun": ("--bun", "run", "build"), }