Skip to content

Commit da349a6

Browse files
committed
Fixing the typecheck script in CI
1 parent 5c43e1f commit da349a6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

apps/demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
9-
"preview": "vite preview"
9+
"preview": "vite preview",
10+
"typecheck": "tsc --noEmit"
1011
},
1112
"dependencies": {
1213
"@heroicons/react": "^2.2.0",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build": "turbo run build",
1414
"lint": "turbo run lint",
1515
"test": "turbo run test",
16+
"typecheck": "turbo run typecheck",
1617
"format": "prettier --write ."
1718
},
1819
"prettier": {

turbo.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"outputs": ["dist/**", "build/**"]
99
},
1010
"lint": {},
11-
"test": {}
11+
"test": {},
12+
"typecheck": {
13+
"dependsOn": [
14+
"^build"
15+
]
16+
}
1217
}
1318
}

0 commit comments

Comments
 (0)