mirror of https://github.com/renovatebot/renovate
14 lines
511 B
TypeScript
14 lines
511 B
TypeScript
import { logger } from '../../../logger';
|
|
import { GithubReleasesDatasource } from '../../datasource/github-releases';
|
|
import type { PackageDependency, PackageFileContent } from '../types';
|
|
|
|
export function extractPackageFile(content: string): PackageFileContent {
|
|
logger.trace('terragrunt-version.extractPackageFile()');
|
|
const dep: PackageDependency = {
|
|
depName: 'gruntwork-io/terragrunt',
|
|
currentValue: content.trim(),
|
|
datasource: GithubReleasesDatasource.id,
|
|
};
|
|
return { deps: [dep] };
|
|
}
|