node-library.json
A TypeScript library: format, lint, typecheck, tests, build; 3 checks at once, since none shares outputs. Copy it to verifika.config.json in your project root, adjust the script names and globs, then check the result with npx vfk plan.
json
{
"$schema": "../schemas/verifika.schema.json",
"version": 1,
"defaults": {
"concurrency": 3
},
"changes": {
"invalidateAll": ["package.json", "package-lock.json", "tsconfig*.json", "eslint.config.*"]
},
"checks": {
"format": {
"command": "npm run format:check"
},
"lint": {
"command": "npm run lint",
"paths": ["src/**/*.ts", "test/**/*.ts"]
},
"typecheck": {
"command": "npm run typecheck",
"paths": ["src/**/*.ts", "test/**/*.ts"]
},
"test": {
"command": "npm test",
"paths": ["src/**", "test/**"]
},
"build": {
"command": "npm run build",
"paths": ["src/**"]
}
}
}Every option is described in the configuration options.