Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show only versions newer than NVM_MIN if set #3277

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    be4f15d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b57613 View commit details
    Browse the repository at this point in the history
  3. add test for NVM_MIN_VER support

    show only versions newer than NVM_MIN_VER if set
    ryenus committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    f4c2477 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c67ced View commit details
    Browse the repository at this point in the history
  5. rename NVM_MIN_VER to NVM_MIN

    since nvm is all about versions, so no need for the explicit suffix.
    ryenus committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a2996f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    646e3bb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cb267d6 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. always show updates for installed versions

    even if they're older than $NVM_MIN
    ryenus committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2749487 View commit details
    Browse the repository at this point in the history
  2. ls-remote: add CLI option --min=<version>

    When omitted, fallback to the environment variable "NVM_MIN" if set.
    And the CLI option --min=<version> takes precedence over the environment
    variable "NVM_MIN" if both are present.
    ryenus committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e77828a View commit details
    Browse the repository at this point in the history
  3. avoid inline initialization for ksh compatibility

    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    ryenus and ljharb committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    686d33b View commit details
    Browse the repository at this point in the history
  4. ls-remote: introduce temp var for env inheritance

    This is to inherit $NVM_MIN from env when defined, meanwhile avoiding
    inline local variable initialization for ksh compatibility.
    
    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    ryenus and ljharb committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    1f3af43 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08f28ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    060adbd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3e15282 View commit details
    Browse the repository at this point in the history