refactor: move type-checking from vp lint to tsc-based check:type
Set lint.options.typeCheck=false so vp lint/check no longer runs the tsgolint full type-check (typeAware stays on, keeping type-aware lint rules). Type-checking is now owned by check:type, which runs the real tsc and honors each tsconfig's project semantics — unlike tsgolint, which ignored tsconfig exclude/nested configs. Wire check:type into ready after build (it needs the built dist for cross-package type resolution): fmt, lint, build, check:type, check:fixtures, test. Verified: with typeCheck off, vp lint no longer reports a TS2322 type error (but keeps its type-aware warnings); check:type catches it via tsc.
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
"check:fixtures": "vp run -r check:fixtures",
|
||||
"test": "vp run -r test",
|
||||
"build": "vp run -r build",
|
||||
"ready": "vp run check:fmt && vp run check:lint && vp run build && vp run check:fixtures && vp run test",
|
||||
"ready": "vp run check:fmt && vp run check:lint && vp run build && vp run check:type && vp run check:fixtures && vp run test",
|
||||
"prepare": "vp config"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user