From 6ba746c80b4a609278868beb6ad62d9e3f5fb865 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Wed, 5 Aug 2026 07:07:19 +0100 Subject: [PATCH] fix(dashboard): ensure @cio/ui output.css exists before build (#835) Co-authored-by: Cursor Agent Co-authored-by: Rotimi Best --- apps/dashboard/package.json | 1 + turbo.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 097cb5ff..852c7432 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -5,6 +5,7 @@ "main": "main.js", "scripts": { "dev": "vite dev --port 5173", + "prebuild": "pnpm --filter @cio/ui run build", "build": "vite build", "preview": "vite preview", "lint": "eslint ./src", diff --git a/turbo.json b/turbo.json index eb155914..fe56421c 100644 --- a/turbo.json +++ b/turbo.json @@ -2,6 +2,9 @@ "$schema": "https://turborepo.org/schema.json", "globalEnv": ["PUBLIC_IS_SELFHOSTED"], "pipeline": { + "@cio/ui#build": { + "outputs": ["src/output.css"] + }, "@cio/dashboard#build": { "dependsOn": ["@cio/api#build", "@cio/ui#build", "@cio/db#build", "@cio/analytics#build"], "outputs": [".svelte-kit/**", "build/**"]