From 492a08a079b1b81964530427e6a14afff52bda49 Mon Sep 17 00:00:00 2001 From: Julian Cuni Date: Mon, 22 Jun 2026 20:17:17 +0200 Subject: [PATCH] fix(ci): lint must depend on ^build (resolve workspace dep types) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `@parking/server#lint` (tsc --noEmit) failed in CI with "Cannot find module '@parking/db' / '@parking/shared'" + a cascade of implicit-any errors. Root cause: the root turbo `lint` task had no dependsOn, but those packages expose their types via "./dist/index.d.ts" — only present after their `build` runs. In a clean CI tree lint ran before the deps were built, so tsc couldn't resolve them. Locally it passed only because a prior `dist/` happened to exist. Make `lint` depend on `^build`, exactly like `typecheck` and `test`. Verified from a fully clean tree (rm dist + .turbo + *.tsbuildinfo): `turbo run build lint` → 14/14, 0 cached. Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V --- turbo.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/turbo.json b/turbo.json index bf9dd9f..267c280 100644 --- a/turbo.json +++ b/turbo.json @@ -9,7 +9,9 @@ "cache": false, "persistent": true }, - "lint": {}, + "lint": { + "dependsOn": ["^build"] + }, "typecheck": { "dependsOn": ["^build"] },