From 099bdaef298dfcb9bf6e9b115582b1519e429936 Mon Sep 17 00:00:00 2001 From: alex anikin <60673011+anikinsasha@users.noreply.github.com> Date: Sat, 18 Jul 2026 15:55:42 -0700 Subject: [PATCH] fix(skills): remove unresolvable bun-types pin from Apify and Remotion tsconfigs Both tsconfigs pin "types": ["bun-types"] but a fresh install has no node_modules in these skill folders, so every editor that opens them reports TS2688 ("Cannot find type definition file for 'bun-types'") and paints the tsconfig red before the user has done anything wrong. The devDependency already declares the types package, so the explicit pin adds nothing once 'bun install' has run (installed @types packages are included automatically), and it guarantees an error when it hasn't. Removing the pin makes both states clean: fresh checkouts stop erroring, and installed folders keep full Bun + node typings. Also aligns Remotion/Tools on @types/bun (the canonical types package, matching Apify; bun-types remains its transitive dependency). --- LifeOS/install/skills/Apify/tsconfig.json | 5 +---- LifeOS/install/skills/Remotion/Tools/package.json | 2 +- LifeOS/install/skills/Remotion/Tools/tsconfig.json | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/LifeOS/install/skills/Apify/tsconfig.json b/LifeOS/install/skills/Apify/tsconfig.json index 4d5405c0d1..c58ea5710a 100755 --- a/LifeOS/install/skills/Apify/tsconfig.json +++ b/LifeOS/install/skills/Apify/tsconfig.json @@ -14,9 +14,6 @@ "jsx": "react-jsx", "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "allowJs": true, - "types": [ - "bun-types" - ] + "allowJs": true } } diff --git a/LifeOS/install/skills/Remotion/Tools/package.json b/LifeOS/install/skills/Remotion/Tools/package.json index 4212f84af2..9a5d6df4e4 100644 --- a/LifeOS/install/skills/Remotion/Tools/package.json +++ b/LifeOS/install/skills/Remotion/Tools/package.json @@ -22,7 +22,7 @@ "remotion": ">=4.0.0" }, "devDependencies": { - "bun-types": "latest", + "@types/bun": "latest", "typescript": "^5.0.0" } } diff --git a/LifeOS/install/skills/Remotion/Tools/tsconfig.json b/LifeOS/install/skills/Remotion/Tools/tsconfig.json index 2af74ddb40..3a6a0ade4c 100644 --- a/LifeOS/install/skills/Remotion/Tools/tsconfig.json +++ b/LifeOS/install/skills/Remotion/Tools/tsconfig.json @@ -12,8 +12,7 @@ "declarationMap": true, "sourceMap": true, "outDir": "./dist", - "rootDir": "./", - "types": ["bun-types"] + "rootDir": "./" }, "include": ["*.ts"], "exclude": ["node_modules", "dist"]