Changelog
v0.2.0
New Features
- 100% Green Test Suite & Code Coverage:
- Authored 56 comprehensive unit, UI, and integration test cases covering 100% of functions and 99.74% of lines across the entire codebase.
- Added CLI end-to-end tests verifying subprocess execution, flags (
--help,-V,--json), and stdout pipelines. - Added Ink UI terminal component tests using
ink-testing-librarycovering progress bars, cards, markdown summaries, and the interactive explorer.
- Circular Dependency & Package Boundary Inspector:
- Traces AST module dependency graphs to detect circular dependency cycles.
- Flags illegal deep internal package imports (e.g.
@masumdev/rn-ui/src/...) to enforce strict package boundary encapsulation.
- Inline Comment Suppression:
- Directives supported:
// tscheck-ignore-next-line <rule>,// tscheck-disable-next-line <rule>, and block comments/* tscheck-disable */…/* tscheck-enable */. - Supports rule-specific keywords:
deprecated,unused,any,circular,boundary,all.
- Directives supported:
- Git Staged & Diff Filtering (
--staged/--since <ref>):- Instant sub-second pre-commit audits with
tscheck --staged. - PR checks against branches with
tscheck --since main.
- Instant sub-second pre-commit audits with
- Auto-Fixer Engine (
--fix):- Safely auto-prefixes unused variables and parameters with
_to meet strict TypeScript standards without breaking runtime code.
- Safely auto-prefixes unused variables and parameters with
- GitHub Actions CI Annotations (
--format github):- Emits native workflow command annotations (
::warning,::error) directly on GitHub PR diffs.
- Emits native workflow command annotations (
- Rich Interactive HTML Report (
audit-report.html):- Self-contained single-file HTML report with dark/light mode toggle.
- Real-time search and filter tabs (
All,Deprecated,Unused,Explicit Any,Circular,Boundary). - Linkified JSDoc
@deprecatedmessages supporting raw URLs and Markdown links. - One-click copy buttons for code snippets and file paths (
file.ts:line:col).
- Enhanced JSON & YAML Multi-Format Configuration:
- Official draft-07 JSON Schema (
schema.json) with IDE autocompletion and hover tooltips. - Multi-format auto-discovery prioritizing
.tscheckrc.json,tscheck.config.json,tscheck.config.yaml, andtscheck.config.ts.
- Official draft-07 JSON Schema (
- Interactive Terminal Search Dashboard (
-i, --interactive):- Live query input powered by
ink-text-inputto filter audit issues interactively in the terminal.
- Live query input powered by
- Zero-Config Virtual TS Program Fallback:
- Automatically compiles and audits standalone folders and scripts even when no
tsconfig.jsonexists.
- Automatically compiles and audits standalone folders and scripts even when no
- Dynamic Package Versioning:
getTscheckVersion()dynamically reads version frompackage.jsonacross CLI, reports, and API.
v0.1.0 — Initial Release
- Standalone TypeScript AST Audit CLI: Complete AST scanner detecting deprecated API usages, unused variables/imports/parameters, and explicit
anytypes. - Interactive Terminal UI with Ink: Built using React & Ink with zero-emoji minimalism and real-time workspace scanning progress.
- Type-Safe Configuration: Added
defineConfig()helper with auto-discovery fromtscheck.config.ts,tscheck.config.js, and.tscheckrc.json. - Customizable Reporting: Automated output of
audit-report.jsonand clean formattedaudit-report.md. - Global & Local Executable: Added binary support via
npx tscheckor global installation.