renovate/lib/modules/manager/terraform-version/index.ts

17 lines
573 B
TypeScript

import type { Category } from '../../../constants';
import { GithubReleasesDatasource } from '../../datasource/github-releases';
import * as hashicorpVersioning from '../../versioning/hashicorp';
export { extractPackageFile } from './extract';
export const displayName = '.terraform-version';
export const categories: Category[] = ['terraform'];
export const defaultConfig = {
fileMatch: ['(^|/)\\.terraform-version$'],
versioning: hashicorpVersioning.id,
extractVersion: '^v(?<version>.*)$',
};
export const supportedDatasources = [GithubReleasesDatasource.id];