Skip to content

flash-install v1.7.1

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 28 Apr 21:54
· 56 commits to main since this release

flash-install v1.7.1 - Package Manager Integration & Test Improvements

Overview

This release builds on version 1.7.0 with improved test coverage and fixes for the package installation tests. It includes comprehensive support for multiple package managers, including the fast-growing Bun package manager.

Major Features

Package Manager Integration

  • Bun Support: Full support for the Bun package manager, including lockfile parsing and command integration
  • Package Manager Commands: New pm command group for managing package managers
    • flash-install pm use <manager>: Switch to a different package manager
    • flash-install pm info: Show information about available package managers
  • Enhanced Registry Support: Improved handling of custom registries for all package managers
  • Automatic Fallback: Graceful fallback to available package managers if the detected one isn't installed
  • Package Manager Detection: Better detection of the project's package manager based on lockfiles

Test Improvements

  • Fixed React/Ink Tests: Improved mocking of React and Ink components for tests
  • Package Installation Tests: Enhanced test coverage for package installation
  • Improved Test Stability: More reliable tests across different environments

How to Use

Switch Package Managers

# Switch to Bun
flash-install pm use bun

# Switch to npm
flash-install pm use npm

# Switch to yarn
flash-install pm use yarn

# Switch to pnpm
flash-install pm use pnpm

View Package Manager Information

flash-install pm info

Previously Added Features

  • Interactive CLI Mode: Text User Interface (TUI) for managing dependencies
  • Enhanced Error Handling: Comprehensive error categorization and recovery strategies
  • Memory Optimization: Adaptive batch processing and intelligent garbage collection
  • Cloud Cache Optimization: Chunked transfers and retry mechanisms
  • Enhanced Plugin System: Additional lifecycle hooks and plugin discovery

Installation

npm install -g @flash-install/cli@1.7.1

Upgrade from Previous Versions

npm update -g @flash-install/cli

What's Next?

We've now completed all the medium priority features in our development plan! The next steps will focus on the remaining low priority features:

  • Additional cloud providers and regions
  • Dependency visualization improvements
  • Performance optimizations for large monorepos

Thank you to all contributors and users who have provided feedback and support!