Files
renovate/lib/modules/manager/pub/index.ts
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

28 lines
958 B
TypeScript

import type { Category } from '../../../constants/index.ts';
import { DartDatasource } from '../../datasource/dart/index.ts';
import { DartVersionDatasource } from '../../datasource/dart-version/index.ts';
import { FlutterVersionDatasource } from '../../datasource/flutter-version/index.ts';
export { updateArtifacts } from './artifacts.ts';
export { extractPackageFile } from './extract.ts';
export const supportsLockFileMaintenance = true;
export const lockFileNames = ['pubspec.lock'];
export const lockFileMaintenanceIsDelegatedToPackageManager = true;
export const displayName = 'pub';
export const url = 'https://dart.dev/tools/pub/packages';
export const categories: Category[] = ['dart'];
export const defaultConfig = {
managerFilePatterns: ['/(^|/)pubspec\\.ya?ml$/'],
};
export const supportedDatasources = [
DartDatasource.id,
DartVersionDatasource.id,
FlutterVersionDatasource.id,
];
export { knownDepTypes } from './dep-types.ts';