Skip to content

Releases: Sehnya/peezy-cli

v1.0.3

18 Sep 17:00

Choose a tag to compare

Changelog - v1.0.3

[1.0.3] - 2024-12-19

🚀 Added

Enhanced Testing Infrastructure

  • Universal Testing Command: New npm run check command that runs linting, tests, and build in one step
  • Comprehensive PR Validation: Added 6 specialized GitHub Actions jobs for thorough pull request validation
    • pr-validation: Core checks, CLI testing, and comprehensive validation
    • template-integrity: Complete template structure validation for all templates
    • version-consistency: Automated version alignment checks across files
    • registry-validation: Template registry loading and validation tests
    • size-impact: Bundle size impact analysis for PRs
    • dependency-check: Enhanced security and dependency validation
  • Template Integrity Validation: Comprehensive structure validation for all 10 templates
  • Version Consistency Checks: Automated validation to ensure version alignment between package.json and CLI
  • Registry Validation: Template registry loading and validation tests
  • Workflow Validation Script: New npm run validate:workflows command to validate GitHub Actions configurations

Developer Experience Improvements

  • Better Error Messages: Improved error reporting and validation feedback throughout the system
  • Enhanced Documentation: Added comprehensive testing strategy documentation and migration guides
  • Workflow Validation: Added script to validate all GitHub Actions workflows for syntax and structure

Distribution Setup

  • Homebrew Distribution: Complete setup for Homebrew tap distribution
  • Automated Setup Script: scripts/setup-homebrew-tap.sh for easy Homebrew tap creation
  • Distribution Documentation: Comprehensive guides for Homebrew setup and maintenance

🔧 Changed

Testing Strategy Overhaul

  • Replaced: Release-specific npm run pre-flight command with universal npm run check
  • Enhanced: PR validation workflows with more comprehensive checks and better error reporting
  • Improved: CI pipeline with enhanced template validation and cross-platform testing
  • Updated: Branch protection rules to include new validation job requirements

GitHub Workflows

  • PR Checks: Completely rewritten with 6 specialized validation jobs
  • CI Pipeline: Enhanced with better error reporting and template structure validation
  • Branch Protection: Updated to require new validation checks before merge

Documentation Updates

  • Testing Strategy: Complete documentation of new universal testing approach
  • Migration Guides: Detailed guides for transitioning from old to new testing commands
  • Command References: Updated all documentation to use new npm run check command
  • Distribution Guides: Added comprehensive Homebrew setup documentation

🛠️ Breaking Changes

Command Changes

# Old command (removed)
npm run pre-flight

# New command (universal)
npm run check

Workflow Requirements

  • Enhanced PR Validation: Pull requests now require passing 6 specialized validation jobs
  • Version Consistency: Automatic validation that package.json and CLI versions match
  • Template Integrity: All templates must pass comprehensive structure validation

🗑️ Removed

  • Preflight Script: Removed scripts/pre-flight-check.js (release-specific with hardcoded versions)
  • Release-Specific Validation: Removed hardcoded version checks and release-specific logic

🐛 Fixed

  • GitHub Workflows: Fixed YAML syntax errors in branch protection workflow
  • JSON Output Tests: Fixed path resolution issues in test suite
  • Template Validation: Enhanced validation to catch more structural issues
  • Version Consistency: Automated checks prevent version mismatches

📦 Dependencies

  • Added: js-yaml for workflow validation
  • Updated: All existing dependencies remain compatible

🧪 Testing

Test Suite Improvements

  • All Tests Passing: 148/148 tests pass with enhanced validation
  • JSON Output Validation: Fixed and enhanced CLI JSON output testing
  • Template Testing: Comprehensive validation for all template structures
  • Cross-Platform Testing: Enhanced compatibility testing across macOS, Linux, Windows

Quality Assurance

  • TypeScript: Strict compilation with no errors
  • Linting: Enhanced TypeScript validation
  • CLI Testing: Comprehensive command functionality validation
  • Template Integrity: All 10 templates validated for proper structure

📋 Migration Guide

For Developers

# Replace old command
# Before:
npm run pre-flight

# After:
npm run check

For CI/CD

  • All existing functionality preserved and enhanced
  • New validation capabilities provide better error detection
  • Consistent behavior across all environments

🎯 Quality Metrics

Validation Results

  • 148/148 tests passing
  • TypeScript build successful
  • All GitHub workflows validated
  • CLI functionality verified
  • All templates structure validated
  • Version consistency confirmed
  • Registry validation passed

Template Validation

  • nextjs-fullstack: Complete structure validation
  • express-fullstack: Client/server architecture validated
  • react-spa-advanced: SPA structure and Vite config validated
  • nextjs-app-router: App Router structure validated
  • express-typescript: TypeScript configuration validated
  • bun-react-tailwind: Bun and Vite setup validated
  • vite-vue-tailwind: Vue and Vite configuration validated
  • flask: Python Flask structure validated
  • fastapi: FastAPI structure validated
  • flask-bun-hybrid: Full-stack hybrid validated

🚀 What's Next

Planned for v1.1.0

  • Performance Testing: Bundle size and execution time tracking
  • Visual Regression Testing: Template UI consistency validation
  • End-to-End Testing: Full workflow validation
  • Enhanced Template Features: More customization options
  • Plugin System Expansion: Additional plugin capabilities

📞 Support

  • Documentation: Enhanced with new testing strategy guides
  • Migration Support: Comprehensive migration documentation provided
  • GitHub Issues: For bug reports and feature requests
  • GitHub Discussions: For questions and community support

🙏 Contributors

This release focuses on infrastructure improvements to ensure consistent quality and reliability across all development workflows. The new universal testing approach provides better validation while improving the developer experience for all contributors.


Full Changelog: v1.0.2...v1.0.3