mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 07:50:47 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
13 lines
459 B
TypeScript
13 lines
459 B
TypeScript
import { GithubReleasesDatasource } from '../../datasource/github-releases/index.ts';
|
|
import type { PackageDependency, PackageFileContent } from '../types.ts';
|
|
|
|
export function extractPackageFile(content: string): PackageFileContent {
|
|
const dep: PackageDependency = {
|
|
depName: 'bazel',
|
|
currentValue: content.split('\n', 2)[0].trim(),
|
|
datasource: GithubReleasesDatasource.id,
|
|
packageName: 'bazelbuild/bazel',
|
|
};
|
|
return { deps: [dep] };
|
|
}
|