mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 21:48:32 +00:00
84270beec4
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
43 lines
966 B
TypeScript
43 lines
966 B
TypeScript
import type { Preset } from '../types';
|
|
|
|
export const supportedDatasources = [
|
|
'go',
|
|
'maven',
|
|
'npm',
|
|
'nuget',
|
|
'packagist',
|
|
'pypi',
|
|
'rubygems',
|
|
];
|
|
|
|
export const presets: Record<string, Preset> = {
|
|
'all-badges': {
|
|
description: 'Show all Merge Confidence badges for pull requests.',
|
|
packageRules: [
|
|
{
|
|
matchDatasources: supportedDatasources,
|
|
matchUpdateTypes: ['patch', 'minor', 'major'],
|
|
prBodyColumns: [
|
|
'Package',
|
|
'Change',
|
|
'Age',
|
|
'Adoption',
|
|
'Passing',
|
|
'Confidence',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
'age-confidence-badges': {
|
|
description:
|
|
'Show only the Age and Confidence Merge Confidence badges for pull requests.',
|
|
packageRules: [
|
|
{
|
|
matchDatasources: supportedDatasources,
|
|
matchUpdateTypes: ['patch', 'minor', 'major'],
|
|
prBodyColumns: ['Package', 'Change', 'Age', 'Confidence'],
|
|
},
|
|
],
|
|
},
|
|
};
|