refactor(scripts): fold check:fixtures into check:type

A single top-level `vp run check:type` should fan out (-r) and fully type-check
every package, fixtures included — no separate top-level check:fixtures step.
runtime-tests' check:type now runs its main tsc then its fixtures tsc
(check:fixtures stays as a runnable sub-script). Drop the root check:fixtures
entry and its standalone step in ready.
This commit is contained in:
Yunfei He
2026-05-29 01:05:48 +08:00
parent 40d89bdf47
commit 4335cbbc64
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -8,10 +8,9 @@
"check:fmt": "vp fmt --check",
"check:lint": "vp lint",
"check:type": "vp run -r check:type",
"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:type && 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 test",
"prepare": "vp config"
},
"devDependencies": {
+1 -1
View File
@@ -7,7 +7,7 @@
"test": "vp run test:integration && vp run test:pty",
"test:integration": "vp test",
"test:pty": "vp test run --config vitest.pty.config.ts --passWithNoTests",
"check:type": "tsc --noEmit",
"check:type": "tsc --noEmit && vp run check:fixtures",
"check:fixtures": "tsc -p integration/pty/fixtures/tsconfig.json --noEmit"
},
"devDependencies": {