renovate/lib/config/presets/internal/config.ts
Rhys Arkins 5d647da0a3
fix: @types/node presets in config:base (#10085)
No longer disable @types/node major updates, instead use node versioning.
2021-05-20 14:02:46 -07:00

46 lines
1.2 KiB
TypeScript

import type { Preset } from '../types';
export const presets: Record<string, Preset> = {
base: {
description: 'Default base configuration for all languages',
extends: [
':separateMajorReleases',
':combinePatchMinorReleases',
':ignoreUnstable',
':prImmediately',
':semanticPrefixFixDepsChoreOthers',
':updateNotScheduled',
':automergeDisabled',
':ignoreModulesAndTests',
':autodetectPinVersions',
':prHourlyLimit2',
':prConcurrentLimit20',
'group:monorepos',
'group:recommended',
'workarounds:all',
],
},
'js-app': {
description: 'Default configuration for webapps',
extends: ['config:base', ':pinAllExceptPeerDependencies'],
},
'js-lib': {
description: 'Default configuration for libraries',
extends: ['config:base', ':pinOnlyDevDependencies'],
},
semverAllMonthly: {
description:
'Preserve semver ranges and update everything together once a month',
separateMajorMinor: false,
extends: [
':preserveSemverRanges',
'group:all',
'schedule:monthly',
':maintainLockFilesMonthly',
],
lockFileMaintenance: {
extends: ['group:all'],
commitMessageAction: 'Update',
},
},
};