Skip to content

@kekkai/blueprint / runImpact

Function: runImpact() ​

runImpact(root, options?): Promise<ImpactResult>

Defined in: src/impact/impact.ts:111

Run blueprint impact in root. Read-only; requires an authored config. Compiles the blueprint with emitLint, lints the layer files with only that config through the project's own ESLint, and reports what wiring would flag today — per rule, with the heaviest files named.

Parameters ​

root ​

string

options? ​

ImpactOptions = {}

Returns ​

Promise<ImpactResult>

Example ​

ts
const { impacts, total } = await runImpact(process.cwd());