-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
config.ts
52 lines (50 loc) · 1.45 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type { Preset } from '../types';
/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
export const presets: Record<string, Preset> = {
'best-practices': {
configMigration: true,
description: 'Preset with best practices from the Renovate maintainers.',
extends: [
'config:base',
'docker:pinDigests',
'helpers:pinGitHubActionDigests',
':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,
},
};