refactor(scripts): restructure workspace scripts into check:* / test:* families
Replace the opaque `vp check` bundling and the ad-hoc `ready` chain (which shelled out via `cd ... && pnpm ...`) with explicit, composable named scripts. Root delegates; category splits live in the package that owns them: root: check:fmt / check:lint / check:fixtures / test / build / ready runtime-tests: test = test:integration + test:pty; check:fixtures `ready` now composes the named scripts in dependency order (fmt, lint, build, fixtures, test) — build runs before check:fixtures and test:pty, which need the built dist. Drop the broken root `dev` (referenced a non-existent website package) and the redundant per-package `check` scripts (fmt/lint already run workspace-wide from root). Renames: pty-test -> test:pty, typecheck:fixtures -> check:fixtures.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
"build": "vp pack",
|
||||
"dev": "vp pack --watch",
|
||||
"test": "vp test",
|
||||
"check": "vp check",
|
||||
"prepublishOnly": "vp run build"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user