hunk.code_window:   const nodeModulesPath = path.join(ctx.root, 'node_modules')
     const client = new RegClient(adaptConfig(opts))
     const resolvedDependencies: ResolvedDependencies | undefined = installType !== 'general'
       ? undefined
       : getResolutions(
         packagesToInstall,
         ctx.shrinkwrap.dependencies
       )
     const installOpts = {
       root: ctx.root,
       storePath: ctx.storePath,
       localRegistry: opts.localRegistry,
       registry: ctx.shrinkwrap.registry,
  
hunk.labels: keep keep keep replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:   const parts = R.partition(spec => newPkgs.indexOf(spec.name) === -1, packagesToInstall)
     const oldSpecs = parts[0]
     const newSpecs = parts[1]
     const resolvedDependencies: ResolvedDependencies = getResolutions(
       oldSpecs,
       ctx.shrinkwrap.dependencies
     )
  
hunk.file_path: src/api/install.ts
hunk.type: replace
file: environment:
    matrix:
      - nodejs_version: 4
      - nodejs_version: 6
      - nodejs_version: 7
  install:
    - ps: Install-Product node $env:nodejs_version
    - npm set fetch-retry-maxtimeout 180000
    - npm install -g pnpm
    - pnpm install
  matrix:
    fast_finish: true
  build: off
  version: '{build}'
  test_script:
    - node --version
    - npm --version
    - npm test
  cache:
    - '%USERPROFILE%\.pnpm-store'
  