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 -
--langflag 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-changerLocal installation
npm install --save-dev commit-date-changerπ Quick Start
Interactive mode
commit-dateCLI 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:
- commander - CLI framework
- inquirer - Interactive prompts
- chalk - Terminal colors
- simple-git - Git operations
- date-fns - Date manipulation
- i18next - Internationalization
Full Changelog: Initial release π