feat(scripts): add check:type running real tsc per package
Each package gets check:type = `tsc --noEmit` (under its own tsconfig); root check:type = `vp run -r check:type` fans out across the workspace. Unlike vp's tsgolint-based type-aware path, this is the standard TypeScript compiler, so it honors each tsconfig's real project semantics. Additive only here — vp lint still carries typeCheck; the switch-over and ready rewiring land in the next commit. Note: testing and runtime-tests resolve @vue-tui/runtime types from its built dist, so check:type requires a prior build.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"build": "vp pack",
|
||||
"dev": "vp pack --watch",
|
||||
"test": "vp test",
|
||||
"check:type": "tsc --noEmit",
|
||||
"prepublishOnly": "vp run build"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user