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 path = require('path')
  
  const LAYOUT_VERSION = '1'
  
  export default async function (
    args: string[],
    opts: {
      prefix: string,
      global: boolean,
      independentLeaves: boolean,
    },
    command: string,
  ) {
    let prefix: string
    if (opts.global) {
      prefix = path.join(opts.prefix, LAYOUT_VERSION)
      if (opts.independentLeaves) {
        prefix += '_independent_leaves'
      }
    } else {
      prefix = opts.prefix
    }
  
    console.log(path.join(prefix, 'node_modules'))
  }
  