renovate/lib/manager/nvm/extract.ts
2020-05-01 18:03:48 +02:00

12 lines
393 B
TypeScript

import * as datasourceGithubTags from '../../datasource/github-tags';
import { PackageDependency, PackageFile } from '../common';
export function extractPackageFile(content: string): PackageFile {
const dep: PackageDependency = {
depName: 'node',
currentValue: content.trim(),
datasource: datasourceGithubTags.id,
lookupName: 'nodejs/node',
};
return { deps: [dep] };
}