mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 01:37:24 +00:00
5ffc308673
As found with recent changes to the Terraform manager, although we generally have `lockFileMaintenance` being executed by an external package manager being invoked by `exec(...)`, there are a few package managers that do not do so. To make it very clear how this happens, we can add a new field to the Manager API, which will provide a means to document this. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
40 lines
1.6 KiB
TypeScript
40 lines
1.6 KiB
TypeScript
import type { Category } from '../../../constants/index.ts';
|
|
import { BitbucketTagsDatasource } from '../../datasource/bitbucket-tags/index.ts';
|
|
import { DockerDatasource } from '../../datasource/docker/index.ts';
|
|
import { GitTagsDatasource } from '../../datasource/git-tags/index.ts';
|
|
import { GithubReleasesDatasource } from '../../datasource/github-releases/index.ts';
|
|
import { GithubTagsDatasource } from '../../datasource/github-tags/index.ts';
|
|
import { HelmDatasource } from '../../datasource/helm/index.ts';
|
|
import { TerraformModuleDatasource } from '../../datasource/terraform-module/index.ts';
|
|
import { TerraformProviderDatasource } from '../../datasource/terraform-provider/index.ts';
|
|
|
|
export { extractPackageFile } from './extract.ts';
|
|
export { updateArtifacts } from './lockfile/index.ts';
|
|
export { updateLockedDependency } from './lockfile/update-locked.ts';
|
|
|
|
export const supportsLockFileMaintenance = true;
|
|
export const lockFileNames = ['.terraform.lock.hcl'];
|
|
export const lockFileMaintenanceIsDelegatedToPackageManager = false;
|
|
|
|
export const url = 'https://developer.hashicorp.com/terraform/docs';
|
|
export const categories: Category[] = ['iac', 'terraform'];
|
|
|
|
export const defaultConfig = {
|
|
commitMessageTopic: 'Terraform {{depName}}',
|
|
managerFilePatterns: ['**/*.tf', '**/*.tofu'],
|
|
pinDigests: false,
|
|
};
|
|
|
|
export const supportedDatasources = [
|
|
BitbucketTagsDatasource.id,
|
|
DockerDatasource.id,
|
|
GitTagsDatasource.id,
|
|
GithubTagsDatasource.id,
|
|
GithubReleasesDatasource.id,
|
|
HelmDatasource.id,
|
|
TerraformModuleDatasource.id,
|
|
TerraformProviderDatasource.id,
|
|
];
|
|
|
|
export { knownDepTypes } from './dep-types.ts';
|