Skip to content

v2.1.0 - Enhanced CLI and Comprehensive Test Suite

Latest

Choose a tag to compare

@roeintheglasses roeintheglasses released this 28 Aug 15:21
· 3 commits to main since this release

What's New in v2.1.0

New Features

  • Comprehensive Help Command: Added detailed re-script help command with extensive usage instructions, examples, and troubleshooting tips
  • Complete Test Suite: Added 200+ unit tests covering all core components with 97%+ pass rate

Improvements

  • Better User Experience: Interactive help system with organized sections for different user needs
  • Enhanced Documentation: In-CLI documentation for all commands, options, and use cases
  • Provider Information: Detailed information about supported providers (OpenAI, Anthropic, Ollama)
  • Troubleshooting Guide: Common issues and solutions built into the CLI

Test Coverage Added

  • Provider factory and base provider tests
  • Transformer tests (Prettier, Babel, LLM, Webcrack)
  • Utility tests (caching, performance, streaming)
  • CLI command tests
  • Core processor tests
  • Error handling and edge case coverage

Installation

npm install -g @roeintheglasses/re-script

Getting Started

# Interactive setup (recommended for first-time users)
re-script init

# Get comprehensive help
re-script help

# Process a file
re-script app.min.js

Technical Details

  • New Files: 8 files added (2,643 lines of code)
  • Test Suite: 200+ comprehensive test cases
  • Coverage: Provider system, transformers, utilities, CLI commands
  • Documentation: Enhanced CLI help system

Bug Fixes

  • Improved error handling and recovery
  • Better validation for provider configurations
  • Enhanced type safety throughout the codebase

Full Changelog: v2.0.4...v2.1.0