hunk.code_window:   '@types/camelcase': ^4.1.0
     '@types/node': ^9.4.6 || 10
     '@types/tape': ^4.2.32
     '@types/which': ^1.3.1
     '@zkochan/npm-conf': ^1.0.0
     camelcase: ^5.0.0
     mos: ^2.0.0-alpha.3
     mos-plugin-readme: ^1.0.4
     package-preview: ^1.0.1
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:   '@zkochan/npm-conf': ^1.1.0
  
hunk.file_path: packages/config/shrinkwrap.yaml
hunk.type: replace
file: import {
    install,
    installPkgs,
  } from 'supi'
  import createStoreController from '../createStoreController'
  import requireHooks from '../requireHooks'
  import {PnpmOptions} from '../types'
  
  export default async function (
    input: string[],
    opts: PnpmOptions,
  ) {
    const store = await createStoreController(opts)
    const updateOpts = Object.assign(opts, {
      allowNew: false,
      hooks: !opts.ignorePnpmfile && requireHooks(opts.prefix, opts),
      store: store.path,
      storeController: store.ctrl,
      update: true,
    })
  
    if (!input || !input.length) {
      return install(updateOpts)
    }
    return installPkgs(input, updateOpts)
  }
  