Documentation menu

Commands

flog checkEXPERIMENTAL

Experimental: The check commands may change before stabilization. They remain read-only and fail closed when a check is incomplete.

Run supported project checks without changing project state.

Usage#

flog check
flog check all --workspace <selector> [--json]
flog check deps --workspace <selector> [--json]
flog check imports --workspace <selector> [--json]
flog check peers [options]
flog check types <file.ts> [--json]
flog check types --workspace <selector> [--json]

Examples#

flog check peers
flog check peers --json

Subcommands#

flog check all runs the peers, types, imports, and dependency checks for one selected workspace, retaining every component result.

flog check deps conservatively finds unused dependencies and devDependencies in one selected workspace.

flog check imports checks static package import declarations in one selected workspace against its declared dependencies.

flog check peers audits direct dependencies used as required peer providers.

flog check types runs Stick's bounded type checker on one explicitly named executable .ts file or every applicable .ts file in one selected workspace. Workspace checking remains independent per file, not cross-file project resolution.

Running flog check without a subcommand prints the current check list and exits successfully. Unknown checks and invalid options are usage errors.

Run flog help check for complete current help.

Peer-provider auditing