renovate/lib/config/presets/internal/helpers.ts
Rhys Arkins fbc485fc33
feat(presets): internalize presets (#6090)
Moves Renovate's currently external renovatebot/presets data into this repo.
2020-04-29 14:45:51 +02:00

31 lines
849 B
TypeScript

import { Preset } from '../common';
export const presets: Record<string, Preset> = {
disableTypesNodeMajor: {
packageRules: [
{
packageNames: ['@types/node'],
major: {
enabled: false,
},
},
],
},
oddIsUnstable: {
description: 'DEPRECATED: Odd version numbers are classified as unstable',
},
oddIsUnstablePackages: {
description:
'DEPRECATED: Preconfigure dependencies where an odd major version indicates unstable (Docker-only)',
},
followTypescriptNext: {
description:
'Keep <typescript> version in sync with the <code>next</code> tag',
extends: [':followTag(typescript, next)'],
},
followTypescriptRc: {
description:
'Keep <typescript> version in sync with the <code>rc</code> tag',
extends: [':followTag(typescript, rc)'],
},
};