Skip to content

commit-date-changer v1.0.0

Latest

Choose a tag to compare

@arbaev arbaev released this 28 Oct 22:21

commit-date-changer v1.0.0 πŸŽ‰

First stable release!

commit-date-changer is now available on npm! Install it globally:

npm install -g commit-date-changer

✨ Features

Interactive Mode

  • 🎨 User-friendly CLI - Colored interactive prompts with step-by-step guidance
  • πŸ”’ Safe by default - Works only with unpushed commits to prevent team disruption
  • βœ… Smart validation - Automatic chronological order checking
  • πŸ“… Editable date input - Pre-filled with current date for easy editing
  • πŸ”„ Batch processing - Change multiple commits in one session

CLI Mode (for automation)

  • πŸ’» Non-interactive mode - Change commits directly from command line
  • πŸ“Š JSON output - Structured output for scripting and automation
  • πŸ€– Scriptable - Perfect for CI/CD and automated workflows

Multilingual Support

  • 🌍 English and Russian - Full i18n support
  • πŸ”„ Auto-detection - Uses system language by default
  • βš™οΈ Configurable - --lang flag to choose language

Safety Features

  • ⚠️ Multiple warnings - When working with pushed commits
  • πŸ›‘οΈ Confirmation prompts - Before applying dangerous operations
  • πŸ“‹ Change preview - See what will change before applying

πŸ“¦ Installation

Global installation (recommended)

npm install -g commit-date-changer

Local installation

npm install --save-dev commit-date-changer

πŸš€ Quick Start

Interactive mode

commit-date

CLI mode

# Change local commit
commit-date --hash abc1234 --date "2025-10-28T18:30"

# Get JSON output
commit-date --hash abc1234 --date "2025-10-28T18:30" --json

# Change pushed commit (dangerous!)
commit-date --hash abc1234 --date "2025-10-28T18:30" --allow-pushed --no-confirm

πŸ“š Documentation

πŸ› οΈ Technical Details

  • TypeScript 5.3.3 - Fully typed codebase
  • Node.js >= 18.0.0 - Modern JavaScript features
  • ESM modules - Native ES modules support
  • Comprehensive tests - Vitest test suite
  • MIT License - Free and open source

πŸ“Š Package Stats

  • Package size: 12.9 KB (unpacked: 45.8 KB)
  • Dependencies: 6 production dependencies
  • TypeScript: Full TypeScript definitions included

πŸ™ Acknowledgments

Built with modern tools:


Full Changelog: Initial release πŸš€