Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

feat: add option to gently create bin links/shims #7

Closed
wants to merge 4 commits into from

Commits on Dec 11, 2019

  1. add a test for index file

    isaacs committed Dec 11, 2019
    Copy the full SHA
    b1d0536 View commit details
    Browse the repository at this point in the history
  2. add cmd-shim dep

    isaacs committed Dec 11, 2019
    Copy the full SHA
    16f9d41 View commit details
    Browse the repository at this point in the history
  3. feat: add option to gently create bin links/shims

    This adds the top level `binLink(from, to, opts, cb)` method.
    
    If `opts.gently` is a string, and `opts.clobberLinkGently` is set to
    true, and `opts.force` is not set to true, then it will only create the
    link or cmd shim if the current target either does not exist, or is a
    link/shim into the path specified by `opts.gently`.
    
    This will be used by the `bin-links` package to prevent top-level global
    packages from overwriting bins that are not related to the package being
    installed.
    
    Paired with @mikemimik
    isaacs committed Dec 11, 2019
    Copy the full SHA
    a929196 View commit details
    Browse the repository at this point in the history
  4. update travis config

    isaacs committed Dec 11, 2019
    Copy the full SHA
    e6fe75e View commit details
    Browse the repository at this point in the history