static pkgToString(name, version) {
    return version ? `${bold(name)}${gray('@')}${version}` : bold(name)
  }
Format a package name (with optional version) for display

@param {string} name
@param {string} [version]
@returns {string}
@internal