hunk.code_window:   const installCtx = await createInstallCmd(opts, ctx.shrinkwrap)
     const optionalDependencies = opts.saveOptional
       ? packagesToInstall.map(spec => spec.name)
       : []
     return lock(
       ctx.storePath,
  
hunk.labels: keep keep keep keep add keep keep
hunk.after_edit:   const currentSpecs = ctx.pkg ? specsToInstallFromPackage(ctx.pkg, {
       production: opts.production,
       prefix: opts.prefix,
     }) : []
  
hunk.file_path: src/api/install.ts
hunk.type: add
file: 'use strict'
  const localPkg = require('local-pkg')
  
  module.exports = () => localPkg()
  