From 328d40dc4a73b5448ca21a99ae9098cecbfcb1da Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 28 Jan 2026 17:54:02 +0000 Subject: [PATCH] fix: resolve CI errors for docs migration - Add apps/docs/** to knip ignore list (Docusaurus theme files are dynamically loaded) - Add ^build dependency to check-types, test, and build tasks in turbo.json to ensure @roo-code/types is built first --- knip.json | 1 + turbo.json | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/knip.json b/knip.json index e15c62bda1..9597061771 100644 --- a/knip.json +++ b/knip.json @@ -3,6 +3,7 @@ "ignore": [ "**/__tests__/**", "apps/vscode-e2e/**", + "apps/docs/**", "src/extension/api.ts", "src/activate/**", "src/workers/countTokens.ts", diff --git a/turbo.json b/turbo.json index ce8b1d3f5f..f6cc9ec37f 100644 --- a/turbo.json +++ b/turbo.json @@ -2,15 +2,18 @@ "$schema": "https://turbo.build/schema.json", "tasks": { "lint": {}, - "check-types": {}, + "check-types": { + "dependsOn": ["^build"] + }, "test": { - "dependsOn": ["@roo-code/types#build"] + "dependsOn": ["^build"] }, "format": {}, "clean": { "cache": false }, "build": { + "dependsOn": ["^build"], "outputs": ["dist/**", "build/**", ".docusaurus/**"], "inputs": [ "src/**",