function getPackageManagerConfig(rootDirectory, package_) {
	const config = configFromPackageManagerField(package_);
	return config || configFromLockfile(rootDirectory) || configs.npmConfig;
}
@param {string} rootDirectory
@param {import('read-pkg').NormalizedPackageJson} package_