Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

build(mobile): build deps before typecheck

Andrej58c7bc7fc56a
diff --git a/apps/mobile/vite.config.ts b/apps/mobile/vite.config.ts
index f4fd7fda8..1f5fdaf08 100644
--- a/apps/mobile/vite.config.ts
+++ b/apps/mobile/vite.config.ts
@@ -5,12 +5,18 @@ export default defineConfig({
tasks: {
"check:types": {
command: "tsc --noEmit -p tsconfig.json",
+ dependsOn: [
+ { task: "build", from: ["dependencies", "devDependencies"] },
+ ],
// Typechecks read sources across the workspace and `auto` can't trace
// tsc 7, so a cached result can be stale; always run them (like cli).
cache: false,
},
"test:run": {
command: "vp test run --config vitest.config.ts",
+ dependsOn: [
+ { task: "build", from: ["dependencies", "devDependencies"] },
+ ],
cache: false,
},
},