mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
2a07e91be6
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
28 lines
851 B
TypeScript
28 lines
851 B
TypeScript
import type { ProgrammingLanguage } from '../../../constants';
|
|
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 language: ProgrammingLanguage = 'php';
|
|
export const supportsLockFileMaintenance = true;
|
|
|
|
export {
|
|
extractPackageFile,
|
|
updateArtifacts,
|
|
getRangeStrategy,
|
|
updateLockedDependency,
|
|
};
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: ['(^|/)([\\w-]*)composer\\.json$'],
|
|
versioning: composerVersioningId,
|
|
};
|
|
|
|
export const supportedDatasources = [
|
|
GitTagsDatasource.id,
|
|
PackagistDatasource.id,
|
|
];
|