mirror of https://github.com/renovatebot/renovate
32 lines
941 B
TypeScript
32 lines
941 B
TypeScript
import type { Category } from '../../../constants';
|
|
import { BitbucketTagsDatasource } from '../../datasource/bitbucket-tags';
|
|
import { GitTagsDatasource } from '../../datasource/git-tags';
|
|
import { PackagistDatasource } from '../../datasource/packagist';
|
|
import { updateArtifacts } from './artifacts';
|
|
import { extractPackageFile } from './extract';
|
|
import { getRangeStrategy } from './range';
|
|
import { updateLockedDependency } from './update-locked';
|
|
import { composerVersioningId } from './utils';
|
|
|
|
export const supportsLockFileMaintenance = true;
|
|
|
|
export {
|
|
extractPackageFile,
|
|
updateArtifacts,
|
|
getRangeStrategy,
|
|
updateLockedDependency,
|
|
};
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: ['(^|/)([\\w-]*)composer\\.json$'],
|
|
versioning: composerVersioningId,
|
|
};
|
|
|
|
export const categories: Category[] = ['php'];
|
|
|
|
export const supportedDatasources = [
|
|
BitbucketTagsDatasource.id,
|
|
GitTagsDatasource.id,
|
|
PackagistDatasource.id,
|
|
];
|