Skip to content

Releases: flash-install-cli/flash-install

removed the flash-install

30 Apr 19:48

Choose a tag to compare

flash-install replaced by flash-install install for better reliability.

Fix issue with default command not running install

30 Apr 19:30

Choose a tag to compare

The package now works correctly when using the explicit flash-install install

command, but there still seems to be an issue with the default behavior (running install when no command is provided). This might require further investigation and a more complex fix.

Version 1.8.1: Fix critical error in flash-install command

30 Apr 19:11

Choose a tag to compare

Version 1.8.1 (2024-07-10)

Breaking Changes

  • Changed the flash-install command to use the direct CLI implementation for better reliability and performance
  • Removed the React-based terminal UI to avoid compatibility issues with React versions

Bug Fixes

  • Fixed critical error when running flash-install after downloading
  • Fixed React version compatibility issues by downgrading React from 19.1.0 to 18.3.1
  • Updated the postinstall script to make the direct CLI executable

Documentation

  • Updated README and documentation to reflect the new command usage
  • Clarified that flash-install install is the recommended command
  • Added more examples of command usage

flash-install v1.8.0 - New Organization Release

29 Apr 00:18

Choose a tag to compare

flash-install v1.8.0 - New Organization Release

Overview

This release marks the official move of flash-install to the new GitHub organization: flash-install-cli. This change provides a more professional home for the project and better supports future growth and collaboration.

What's New

  • New GitHub Organization: The project has moved to github.com/flash-install-cli/flash-install
  • Updated Repository URLs: All references to the repository have been updated to point to the new organization
  • Vercel Integration: Added proof-of-concept for Vercel integration
  • Performance Benchmarks: Added comprehensive benchmarks for Next.js projects and Vercel deployments

Key Features

  • Package Manager Integration: Support for npm, yarn, pnpm, and Bun
  • Cloud Cache: Team-wide cache sharing with S3, Azure, and GCP support
  • Interactive Mode: Beautiful terminal UI for managing dependencies
  • Plugin System: Extensible architecture with lifecycle hooks
  • CI/CD Integration: GitHub Action and VS Code extension

Installation

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

Upgrade from Previous Versions

npm update -g @flash-install/cli

What's Next?

We're continuing to work on:

  • Official Vercel integration
  • Enhanced cloud cache performance
  • Additional package manager optimizations
  • Improved monorepo support

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

flash-install v1.7.2

28 Apr 22:00

Choose a tag to compare

flash-install v1.7.2 - CI Compatibility Improvements

Overview

This release focuses on improving compatibility with CI/CD environments by adding a --no-interactive flag to disable the Text User Interface (TUI) mode. This addresses issues with React/Ink compatibility in CI environments.

Key Improvements

CI/CD Compatibility

  • Added --no-interactive flag: Disables the TUI mode, useful for CI/CD environments
  • GitHub Action improvements: Enhanced GitHub Action to handle React/Ink compatibility issues
  • Automatic fallback: If TUI fails, the system will automatically fall back to standard npm

GitHub Action

  • Improved error handling: Better handling of React/Ink errors in GitHub Actions
  • Fallback mechanism: Automatic fallback to npm if flash-install encounters TUI errors
  • CI-friendly defaults: Better default settings for CI environments

How to Use

In CI/CD Environments

- name: Install dependencies
  run: npx @flash-install/cli@1.7.2 --no-interactive

With GitHub Action

- name: Install dependencies with flash-install
  uses: Nom-nom-hub/flash-install/.github/actions/flash-install-action@main

Previously Added Features

  • Package Manager Integration: Support for npm, yarn, pnpm, and Bun
  • 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

Installation

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

Upgrade from Previous Versions

npm update -g @flash-install/cli

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

flash-install v1.7.1

28 Apr 21:54

Choose a tag to compare

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!

flash-install v1.7.0

28 Apr 21:09

Choose a tag to compare

flash-install v1.7.0 - Package Manager Integration

Overview

This release adds comprehensive support for multiple package managers, including the fast-growing Bun package manager. It enhances the integration with npm, yarn, and pnpm, and adds new commands for managing package managers in your projects.

Major New 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

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.0

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!

flash-install v1.6.0

28 Apr 20:53

Choose a tag to compare

flash-install v1.6.0 - Interactive CLI Mode

Overview

This release introduces a powerful new Interactive CLI Mode with a Text User Interface (TUI) that makes managing dependencies, snapshots, and exploring dependency trees more intuitive and user-friendly.

Major New Features

Interactive CLI Mode

  • Text User Interface (TUI): A beautiful, interactive terminal interface for managing your project dependencies
  • Dependency Manager: Add, remove, and update dependencies directly from the TUI
  • Snapshot Manager: Create, restore, and delete snapshots with a visual interface
  • Dependency Browser: Visualize and explore your dependency tree with an interactive browser

How to Use

Access the new interactive mode with:

flash-install interactive
# or use the alias
flash-install ui

Navigate through the interface using:

  • Arrow keys (↑/↓) to move between options
  • Enter to select an option
  • Specific keys for actions (shown in the interface footer)
  • Ctrl+C to exit

Previously Added Features

  • 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
  • Cloud Cache Features: Multiple provider support and team permissions
  • Dependency Analysis Tools: Visualization and duplicate detection

Installation

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

Upgrade from Previous Versions

npm update -g @flash-install/cli

What's Next?

We're now focusing on the remaining medium priority features:

  • Integration with Package Managers including Bun
  • Support for additional cloud providers and regions

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

flash-install v1.5.0

28 Apr 20:36

Choose a tag to compare

flash-install v1.5.0 - Stability and Performance Milestone

Overview

This major release marks the completion of all high-priority features planned for v1.5.x, with significant improvements to stability, performance, and error handling. flash-install is now more resilient, memory-efficient, and provides better feedback during operations.

Major Improvements

Stability and Performance Enhancements

  • Memory Optimization

    • Implemented adaptive batch processing that dynamically adjusts based on memory conditions
    • Added intelligent garbage collection with system-aware thresholds
    • Created detailed memory monitoring with trend analysis using linear regression
    • Reduced memory spikes during large package installations
  • Cloud Cache Optimization

    • Implemented chunked uploads and downloads for large packages
    • Added retry mechanisms with exponential backoff for resilient cloud operations
    • Enhanced progress reporting with detailed status updates
    • Created fallback mechanisms when optimal methods aren't available
  • Comprehensive Error Handling

    • Developed a robust error classification system with 25+ error categories
    • Implemented different recovery strategies based on error types
    • Added detailed context information to errors for better debugging
    • Improved error messages with helpful suggestions for resolution

Previously Completed Features

  • Enhanced Plugin System

    • Added additional lifecycle hooks for greater extensibility
    • Implemented plugin discovery and auto-loading
    • Created an official plugin registry
  • Enhanced Cloud Cache Features

    • Added support for multiple cloud providers (AWS S3, Azure, GCP)
    • Implemented team permissions and access controls
    • Added cache invalidation based on lockfile changes
    • Created a sync command for manual cache synchronization
  • Dependency Analysis Tools

    • Added visualization of dependency graphs
    • Implemented detection of duplicate dependencies
    • Created size analysis and reporting
    • Added support for multiple output formats
  • Enhanced Offline Mode

    • Improved detection of network availability
    • Added fallback strategies for partial offline scenarios
    • Implemented warning system for outdated dependencies
  • Improved Monorepo Support

    • Enhanced workspace detection
    • Added parallel installation across workspaces
    • Implemented intelligent dependency hoisting

Installation

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

Upgrade from Previous Versions

npm update -g @flash-install/cli

What's Next?

We're now focusing on the remaining medium and low priority features:

  • Interactive CLI Mode with TUI for managing dependencies
  • Deeper integration with package managers including Bun
  • Support for additional cloud providers and regions

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

flash-install v1.4.2

28 Apr 16:02

Choose a tag to compare

flash-install v1.4.2 - Command Accessibility Improvements

Overview

This release improves the accessibility of important commands by adding them to the main CLI interface and enhances documentation to clarify command availability.

New Features

Command Accessibility Improvements

  • Added clean-modules command to the main CLI interface
  • Added clean-snapshot command to the main CLI interface
  • Added flash-install-direct binary alias for consistent naming

Documentation Enhancements

  • Updated README with information about the direct CLI interface
  • Added notes about command availability in documentation
  • Improved getting-started guide with CLI interface details

Technical Improvements

  • Consistent command behavior between main and direct CLI interfaces
  • Better error handling for cleaning operations
  • Improved user feedback during command execution

Installation

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

Usage Examples

Clean Only Node Modules

flash-install clean-modules

Clean Only Snapshot

flash-install clean-snapshot

Using Direct CLI Interface

flash-install-direct clean-modules

What's Next?

Future development will continue to focus on:

  1. Stability improvements
  2. Performance optimizations
  3. Expanding the plugin ecosystem
  4. Additional cloud provider integrations
  5. Enhanced CI/CD integration capabilities

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