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

30 lines
1.1 KiB
TypeScript

import type { Category } from '../../../constants/index.ts';
import { BazelDatasource } from '../../datasource/bazel/index.ts';
import { CrateDatasource } from '../../datasource/crate/index.ts';
import { DockerDatasource } from '../../datasource/docker/index.ts';
import { GithubTagsDatasource } from '../../datasource/github-tags/index.ts';
import { MavenDatasource } from '../../datasource/maven/index.ts';
export { updateArtifacts } from './artifacts.ts';
export { knownDepTypes } from './dep-types.ts';
export { extractPackageFile } from './extract.ts';
export const url = 'https://bazel.build/external/module';
export const categories: Category[] = ['bazel'];
export const defaultConfig = {
managerFilePatterns: ['/(^|/|\\.)MODULE\\.bazel$/'],
};
export const supportedDatasources = [
BazelDatasource.id,
CrateDatasource.id,
DockerDatasource.id,
GithubTagsDatasource.id,
MavenDatasource.id,
];
export const supportsLockFileMaintenance = true;
export const lockFileNames = ['MODULE.bazel.lock'];
export const lockFileMaintenanceIsDelegatedToPackageManager = true;