mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 07:50:47 +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>
37 lines
1.2 KiB
TypeScript
37 lines
1.2 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 { PackagistDatasource } from '../../datasource/packagist/index.ts';
|
|
import { updateArtifacts } from './artifacts.ts';
|
|
import { extractPackageFile } from './extract.ts';
|
|
import { getRangeStrategy } from './range.ts';
|
|
import { updateLockedDependency } from './update-locked.ts';
|
|
import { composerVersioningId } from './utils.ts';
|
|
|
|
export const supportsLockFileMaintenance = true;
|
|
export const lockFileNames = ['composer.lock'];
|
|
export const lockFileMaintenanceIsDelegatedToPackageManager = true;
|
|
|
|
export {
|
|
extractPackageFile,
|
|
getRangeStrategy,
|
|
updateArtifacts,
|
|
updateLockedDependency,
|
|
};
|
|
|
|
export const url = 'https://getcomposer.org/doc';
|
|
export const categories: Category[] = ['php'];
|
|
|
|
export const defaultConfig = {
|
|
managerFilePatterns: ['/(^|/)([\\w-]*)composer\\.json$/'],
|
|
versioning: composerVersioningId,
|
|
};
|
|
|
|
export const supportedDatasources = [
|
|
BitbucketTagsDatasource.id,
|
|
GitTagsDatasource.id,
|
|
PackagistDatasource.id,
|
|
];
|
|
|
|
export { knownDepTypes } from './dep-types.ts';
|