Skip to content

Changelog

v0.2.5

Bug Fixes & Clean Terminal Output

  • Node.js Typeless ESM Warning Suppression:
    • Filtered out Node.js v22+ MODULE_TYPELESS_PACKAGE_JSON warning during dynamic configuration module loading, ensuring a completely clean terminal experience across all project environments.

v0.2.4

Improvements & Fixes

  • Documentation & Homepage URLs:
    • Updated monorepo documentation links and repository homepage metadata to the new production URL: https://react-native-library-docs.vercel.app/.
  • Monorepo Configuration & Import Resolving:
    • Standardized defineConfig import resolution for TypeScript project configurations (tscheck.config.ts).

v0.2.3

Bug Fixes & Improvements

  • Default Report Server Behavior:
    • Changed default serve option to false. Running tscheck now executes the audit and exits cleanly without starting an HTTP background server or blocking the shell.
    • Report server is only launched when explicitly enabled via -s / --serve [port], -p / --port <number>, or -O / --open.
  • CLI Options & Configuration Precedence:
    • Fixed Commander option defaults so that configuration file values for editor and format are properly respected when CLI flags are omitted.
    • Added -p, --port <number> flag for configuring the local report server port.
    • Added clean terminal unmounting on non-interactive audit completion.

v0.2.2

New Features

  • Theme-Aligned Custom Dropdown Component in HTML Report:
    • Replaced native browser select elements with a custom-engineered, animated glassmorphism dropdown menu styled to seamlessly match the deep navy (#090d16) and slate (#0f172a) theme.
    • Features smooth rotate-chevron transitions, active option checkmarks, click-outside dismissal, and keyboard accessibility (Escape).
  • Full Theme Polish & Restored Original Aesthetic:
    • Restored classic theme tokens, metric cards left accent stripes, pill badge typography, and hover animations.

v0.2.1

New Features

  • AI-Optimized Token-Efficient Prompt Generator (--ai / --format ai):
    • Dense, structured markdown remediation format tailored for LLMs (Claude, ChatGPT, Gemini, Antigravity) with zero token waste.
    • Generates audit-report.ai.md alongside JSON, Markdown, and HTML reports.
    • Prominent ”🤖 Copy for AI” button in HTML report for instant 1-click clipboard prompt extraction.
  • Local HTTP Report Server & Auto Browser Launch (-s, --serve [port] & -O, --open):
    • Lightweight built-in HTTP server to host and inspect interactive HTML audit reports locally.
    • Custom port support (--serve 3000) with automatic increment fallback if port is occupied.
    • Cross-platform auto-browser opener (open / xdg-open / start).
  • Multi-IDE Deep Linking Scheme Selector:
    • Jump directly from HTML violation cards to the exact line and column in VS Code, Cursor, Antigravity IDE (antigravity://), Windsurf, Zed, WebStorm/IntelliJ, Sublime Text, or VS Code Insiders.
    • Persistent IDE selector in HTML header saved to localStorage.
  • AST Origin Library & Smart Suggested Fix Extraction:
    • Identifies origin packages (Built-in JS (lib.es5), zod, react, local monorepo, etc.).
    • Extracts and displays 💡 AI Suggested Fix callout cards (e.g. Use .slice() or .substring() for substr).
  • One-Click Copy Ignore Directive ([Copy Ignore Directive]):
    • Instant copy of // tscheck-ignore-next-line <rule> per violation card.
  • Group-By View Switcher in HTML Report:
    • Switch dynamically between Flat List, Group by File, Group by Rule, and Group by Package.
  • Same-Line AST Deprecation Deduplication:
    • Automatically deduplicates overlapping AST expressions on the same line to ensure clean single-card reporting.
  • Author & Community Profile Card in HTML Report:
    • Added creator badge with GitHub avatar, profile links, monorepo repository, and documentation portal links.

v0.2.0

New Features

  • 100% Green Test Suite & Code Coverage:
    • Authored comprehensive unit, UI, and integration test cases covering 100% of functions and lines.
    • Added CLI end-to-end tests verifying subprocess execution, flags, and pipelines.
    • Added Ink UI terminal component tests using ink-testing-library.
  • Circular Dependency Inspector:
    • Traces AST module dependency graphs to detect and report cross-file circular dependency cycles.
  • Inline Comment Suppression:
    • Directives supported: // tscheck-ignore-next-line <rule>, // tscheck-disable-next-line <rule>, and block comments /* tscheck-disable *//* tscheck-enable */.
  • Git Staged & Diff Filtering (--staged / --since <ref>):
    • Instant sub-second pre-commit audits with tscheck --staged.
  • Auto-Fixer Engine (--fix):
    • 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.

v0.1.0

Initial Release

  • Initial release of @masumdev/tscheck with Ink CLI, AST deprecation engine, unused variables check, and strict any detection.