mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 00:56:26 +00:00
12 lines
393 B
TypeScript
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] };
|
|
}
|