code: function updateConfigs (args, newVersion) {
    const dotgit = DotGitignore()
    Bump.pkgFiles.concat(Bump.lockFiles).forEach(function (filename) {
      let configPath = path.resolve(process.cwd(), filename)
      try {
        if (dotgit.ignore(configPath)) return
        let stat = fs.lstatSync(configPath)
        if (stat.isFile()) {
          let data = fs.readFileSync(configPath, 'utf8')
          let indent = detectIndent(data).indent
          let newline = detectNewline(data)
          let config = JSON.parse(data)
          checkpoint(args, 'bumping version in ' + filename + ' from %s to %s', [config.version, newVersion])
          config.version = newVersion
          writeFile(args, configPath, stringifyPackage(config, indent, newline))
          // flag any config files that we modify the version # for
          // as having been updated.
          configsToUpdate[filename] = true
        }
      } catch (err) {
        if (err.code !== 'ENOENT') console.warn(err.message)
      }
    })
  }
docs: attempt to update the version # in a collection of common config
  files, e.g., package.json, bower.json.
  
  @param args config object
  @param newVersion version # to update to.
  @return {string}