mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
13 lines
493 B
TypeScript
13 lines
493 B
TypeScript
import * as datasourceGitHubRelease from '../../datasource/github-releases';
|
|
import { logger } from '../../logger';
|
|
import type { PackageDependency, PackageFile } from '../types';
|
|
|
|
export function extractPackageFile(content: string): PackageFile {
|
|
logger.trace('terragrunt-version.extractPackageFile()');
|
|
const dep: PackageDependency = {
|
|
depName: 'gruntwork-io/terragrunt',
|
|
currentValue: content.trim(),
|
|
datasource: datasourceGitHubRelease.id,
|
|
};
|
|
return { deps: [dep] };
|
|
}
|