diff --git a/Makefile b/Makefile index 52105e76e7e..a6ea857de03 100644 --- a/Makefile +++ b/Makefile @@ -75,14 +75,7 @@ install-dev: bootstrap: $(UV) sync --inexact --frozen --extra proxy --group proxy-dev --group e2e-dev $(UV_RUN) python scripts/prisma_generate_if_needed.py - @cd ui/litellm-dashboard && \ - dep_hash=$$(git hash-object package.json package-lock.json); \ - stamp=node_modules/.bootstrap-stamp; \ - if [ "$$(cat "$$stamp" 2>/dev/null)" = "$$dep_hash" ]; then \ - echo "bootstrap: ui deps up to date, skipping npm ci"; \ - else \ - npm ci --no-audit --no-fund && echo "$$dep_hash" > "$$stamp"; \ - fi + cd ui/litellm-dashboard && npm install --no-audit --no-fund @main_root=$$(git worktree list --porcelain | head -1 | sed 's/^worktree //'); \ if [ "$$main_root" != "$$(git rev-parse --show-toplevel)" ] && [ -f "$$main_root/.env" ] && [ ! -f .env ]; then \ cp "$$main_root/.env" .env && echo "bootstrap: copied .env from $$main_root"; \