0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/config/presets/internal/config.ts

54 lines
1.5 KiB
TypeScript

import type { Preset } from '../types';
/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
export const presets: Record<string, Preset> = {
'best-practices': {
description:
'Preset with best practices from the Renovate maintainers. Recommended for advanced users, who want to follow our best practices.',
extends: [
'config:recommended',
'docker:pinDigests',
'helpers:pinGitHubActionDigests',
':configMigration',
':pinDevDependencies',
],
},
'js-app': {
description: 'Default configuration for webapps.',
extends: ['config:recommended', ':pinAllExceptPeerDependencies'],
},
'js-lib': {
description: 'Default configuration for libraries.',
extends: ['config:recommended', ':pinOnlyDevDependencies'],
},
recommended: {
description:
'Recommended configuration for most users. It does not matter what programming language you use.',
extends: [
':dependencyDashboard',
':semanticPrefixFixDepsChoreOthers',
':ignoreModulesAndTests',
'group:monorepos',
'group:recommended',
'replacements:all',
'workarounds:all',
],
},
semverAllMonthly: {
description:
'Preserve SemVer ranges and update everything together once a month.',
extends: [
':preserveSemverRanges',
'group:all',
'schedule:monthly',
':maintainLockFilesMonthly',
],
lockFileMaintenance: {
commitMessageAction: 'Update',
extends: ['group:all'],
},
separateMajorMinor: false,
},
};