miridev-cli
Version:
Official CLI tool for deploying static sites to miri.dev - Deploy your websites in seconds
142 lines (114 loc) • 3.87 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Initial release preparation
- Complete testing suite
- Advanced CI/CD examples
## [1.0.0] - 2024-07-01
### Added
- 🚀 **Initial release** of @miridev/cli
- **Core Commands**
- `miridev deploy` - Deploy static sites to miri.dev
- `miridev login` - Authenticate with Supabase-based auth
- `miridev logout` - Sign out from account
- `miridev init` - Initialize project configuration
- `miridev status` - Check deployment status
- `miridev sites` - List deployed sites
- `miridev export` - Export configurations for other platforms
- **Smart File Management**
- Automatic file detection and filtering
- Support for `.miriignore` patterns
- Built-in ignore patterns for common files
- File size validation and limits
- Unicode filename sanitization
- **Authentication System**
- Supabase-based user authentication
- Token-based authentication for CI/CD
- Fallback authentication for development
- Secure credential storage
- **Configuration Support**
- `miri.config.js` project configuration
- Environment variable support
- Build process integration
- Custom domain configuration
- **Developer Experience**
- Colorful CLI output with chalk
- Progress indicators with ora
- Debug mode for troubleshooting
- Comprehensive error messages
- Interactive prompts with inquirer
- **Deployment Features**
- Guest deployment (1-hour hosting)
- Authenticated user deployment (extended hosting)
- Site updates for existing deployments
- Custom site naming
- Automatic browser opening
- **File Processing**
- MIME type detection
- File compression for text files
- Chunked upload for large files
- Path normalization for cross-platform compatibility
### Technical
- **Dependencies**
- Node.js 16+ support
- Supabase client integration
- Form-data for file uploads
- Glob for file pattern matching
- Commander.js for CLI interface
- **Quality Assurance**
- ESLint configuration for code quality
- Jest testing framework setup
- Comprehensive error handling
- Debug logging system
### Security
- Secure environment variable handling
- No hardcoded credentials in source
- Safe file path handling
- Input validation and sanitization
### Documentation
- Comprehensive README with examples
- Command documentation
- Configuration guide
- Troubleshooting section
- CI/CD integration examples
## [0.9.0] - 2024-06-15 (Beta)
### Added
- Beta testing release
- Core deployment functionality
- Basic authentication
- File upload system
### Changed
- Improved error handling
- Enhanced file detection
- Better progress indicators
### Fixed
- File path resolution issues
- Authentication token handling
- Upload progress reporting
## [0.5.0] - 2024-06-01 (Alpha)
### Added
- Initial alpha release
- Basic deploy command
- Simple file uploading
- Guest deployment support
### Known Issues
- Limited error handling
- Basic authentication only
- No configuration system
---
### Legend
- 🚀 **Major Features** - Significant new functionality
- ✨ **Minor Features** - Small improvements and additions
- 🐛 **Bug Fixes** - Bug fixes and error corrections
- 🔧 **Technical** - Internal improvements and refactoring
- 📖 **Documentation** - Documentation updates
- 🔒 **Security** - Security-related changes
- ⚠️ **Breaking Changes** - Changes that break backward compatibility
### Links
- [npm package](https://www.npmjs.com/package/@miridev/cli)
- [GitHub repository](https://github.com/miridev-team/miri.dev)
- [Documentation](https://www.miri.dev/docs/cli)
- [Support](mailto:support@miri.dev)