renovate/lib/config/presets/internal/config.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

50 lines
1.4 KiB
TypeScript

import { Preset } from '../common';
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',
'helpers:disableTypesNodeMajor',
],
},
'base-js': {
description: 'Base configuration for Javascript (deprecated)',
extends: ['config:base'],
},
'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',
},
},
};