const name = resolutions.hasOwnProperty(pkg.name)
      ? resolutions[pkg.name]
      : path.join(pkg.name, 'package.json')