hunk.code_window:   }
     if (opts.dependencyAbsolutePath !== opts.id) {
       result['id'] = opts.id
     }
     if (pkg.peerDependencies) {
       result['peerDependencies'] = pkg.peerDependencies
     }
     if (pkg.engines) {
       // TODO: if node: '*' then don't include
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     const ownDeps = new Set(
         R.keys(pkg.dependencies).concat(R.keys(pkg.optionalDependencies))
       )
       for (let peer of R.keys(pkg.peerDependencies)) {
         if (ownDeps.has(peer)) continue
         result['peerDependencies'] = result['peerDependencies'] || {}
         result['peerDependencies'][peer] = pkg.peerDependencies[peer]
       }
  
hunk.file_path: src/link/updateShrinkwrap.ts
hunk.type: replace
file: language: node_js
  node_js:
    - 4
    - 6
    - 8
  
  sudo: false
  before_install:
    - git fetch --unshallow
    - curl -L https://unpkg.com/@pnpm/self-installer | node
  install:
    - pnpm install
  script:
    - /bin/bash lint-commits.sh
    - ./node_modules/.bin/commitlint --from=$TRAVIS_COMMIT
    - npm test
  env:
    global:
      - CC=clang CXX=clang++ npm_config_clang=1
      - GIT_NAME: Travis CI
      - GIT_EMAIL: nobody@nobody.org
      - GITHUB_REPO: pnpm/pnpm
  