Skip to content

flash-install v1.7.2

Choose a tag to compare

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

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!