mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 17:16:25 +00:00
45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import type { Preset } from '../types';
|
|
|
|
export const presets: Record<string, Preset> = {
|
|
all: {
|
|
description: [
|
|
'A collection of workarounds for known problems with packages',
|
|
],
|
|
extends: [
|
|
'workarounds:mavenCommonsAncientVersion',
|
|
'workarounds:ignoreSpringCloudNumeric',
|
|
'workarounds:ignoreHttp4sDigestMilestones',
|
|
],
|
|
},
|
|
mavenCommonsAncientVersion: {
|
|
packageRules: [
|
|
{
|
|
matchDatasources: ['maven', 'sbt-package'],
|
|
matchPackagePrefixes: ['commons-'],
|
|
allowedVersions: '!/^200\\d{5}(\\.\\d+)?/',
|
|
},
|
|
],
|
|
},
|
|
ignoreSpringCloudNumeric: {
|
|
description: 'Ignore spring cloud 1.x releases',
|
|
packageRules: [
|
|
{
|
|
matchDatasources: ['maven'],
|
|
matchPackageNames: [
|
|
'org.springframework.cloud:spring-cloud-starter-parent',
|
|
],
|
|
allowedVersions: '/^[A-Z]/',
|
|
},
|
|
],
|
|
},
|
|
ignoreHttp4sDigestMilestones: {
|
|
description: 'Ignore http4s digest-based 1.x milestones',
|
|
packageRules: [
|
|
{
|
|
matchManagers: ['sbt'],
|
|
matchPackagePrefixes: ['org.http4s:'],
|
|
allowedVersions: `!/^1\\.0-\\d+-[a-fA-F0-9]{7}$/`,
|
|
},
|
|
],
|
|
},
|
|
};
|