hunk.code_window: import updateShrinkwrap from './updateShrinkwrap'
   import {Shrinkwrap, shortIdToFullId, DependencyShrinkwrap} from '../fs/shrinkwrap'
   import removeOrphanPkgs from '../api/removeOrphanPkgs'
   export default async function (
     topPkgs: InstalledPackage[],
     rootNodeIds: string[],
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit: import ncpCB = require('ncp')
   import thenify = require('thenify')
   const ncp = thenify(ncpCB)
  
hunk.file_path: src/link/index.ts
hunk.type: add
file: import {PnpmOptions} from '../types'
  import {install, installPkgs} from '../api/install'
  
  export default function (input: string[], opts: PnpmOptions) {
    opts = Object.assign({update: true}, opts)
  
    if (!input || !input.length) {
      return install(opts)
    }
    return installPkgs(input, opts)
  }
  