Files
Jamie Tanna 5ffc308673 docs(manager): indicate where lockFileMaintenance runs external commands (#44914)
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>
2026-07-28 11:44:22 +00:00

34 lines
1.6 KiB
TypeScript

import type { Category } from '../../../constants/index.ts';
import { BitbucketTagsDatasource } from '../../datasource/bitbucket-tags/index.ts';
import { GitTagsDatasource } from '../../datasource/git-tags/index.ts';
import { GiteaTagsDatasource } from '../../datasource/gitea-tags/index.ts';
import { GithubTagsDatasource } from '../../datasource/github-tags/index.ts';
import { GitlabTagsDatasource } from '../../datasource/gitlab-tags/index.ts';
import { TerraformModuleDatasource } from '../../datasource/terraform-module/index.ts';
export { updateArtifacts } from './artifacts.ts';
export { knownDepTypes } from './dep-types.ts';
export { extractPackageFile } from './extract.ts';
export const supportsLockFileMaintenance = true;
export const lockFileNames = ['.terraform.lock.hcl'];
export const lockFileMaintenanceIsDelegatedToPackageManager =
"Lock file maintenance is not implemented separately for Terragrunt. It reuses the [Terraform manager](../terraform/index.md)'s lock file logic in-process, so Renovate computes the updated `.terraform.lock.hcl` hashes directly instead of calling the `terragrunt` or `terraform` CLI.";
export const url = 'https://terragrunt.gruntwork.io/docs';
export const categories: Category[] = ['iac', 'terraform'];
export const defaultConfig = {
commitMessageTopic: 'Terragrunt dependency {{depName}}',
managerFilePatterns: ['/(^|/)terragrunt\\.hcl$/'],
};
export const supportedDatasources = [
GitTagsDatasource.id,
GithubTagsDatasource.id,
GitlabTagsDatasource.id,
BitbucketTagsDatasource.id,
GiteaTagsDatasource.id,
TerraformModuleDatasource.id,
];