mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
143c9a6751
Renames `lookupName` to be `packageName`. BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
12 lines
397 B
TypeScript
12 lines
397 B
TypeScript
import { GithubTagsDatasource } from '../../datasource/github-tags';
|
|
import type { PackageDependency, PackageFile } from '../types';
|
|
|
|
export function extractPackageFile(content: string): PackageFile {
|
|
const dep: PackageDependency = {
|
|
depName: 'node',
|
|
currentValue: content.trim(),
|
|
datasource: GithubTagsDatasource.id,
|
|
packageName: 'nodejs/node',
|
|
};
|
|
return { deps: [dep] };
|
|
}
|