Skip to content

Commit 29b9bda

Browse files
committed
chore: type-check docs
1 parent 60f15ff commit 29b9bda

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"test:coverage": "vitest --coverage",
2020
"test:typecheck": "vitest --typecheck",
2121
"test:ui": "vitest --ui",
22-
"typecheck": "nr typecheck:isolated && nr typecheck:non-isolated",
22+
"typecheck": "nr typecheck:isolated && nr typecheck:non-isolated && nr typecheck:docs",
23+
"typecheck:docs": "tsgo -p tsconfig.docs.json",
2324
"typecheck:isolated": "tsgo -p tsconfig.isolated.json",
2425
"typecheck:non-isolated": "tsc -p tsconfig.non-isolated.json",
2526
"watch": "tsdown --watch"

tsconfig.docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"module": "ESNext",
66
"types": ["vitepress/client"]
77
},
8-
"include": ["docs/.vitepress/**/*.ts"]
8+
"include": ["docs/.vitepress/**/*.ts", "uno.config.ts"]
99
}

tsconfig.non-isolated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"allowImportingTsExtensions": true
55
},
66
"include": [
7-
"uno.config.ts",
87
"examples",
98
"test",
109
"packages/*/test",

0 commit comments

Comments
 (0)