forked from SAP/open-ux-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
109 lines (103 loc) · 3.63 KB
/
renovate.json5
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// json5: https://json5.org/
// json5 VS Code extension: https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-json5
// renovate configuration: https://docs.renovatebot.com/configuration-options/
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:base',
':automergeDisabled',
':combinePatchMinorReleases',
':enableVulnerabilityAlerts',
':enableVulnerabilityAlertsWithLabel(security)',
':label(renovate)',
':rebaseStalePrs',
':semanticCommits',
':semanticPrefixChore',
':timezone(America/Los_Angeles)',
':updateNotScheduled',
'workarounds:typesNodeVersioning'
],
enabledManagers: ['npm', 'github-actions'],
branchPrefix: 'chore/renovate/',
platformCommit: true,
major: {
dependencyDashboardApproval: true
},
dependencyDashboardAutoclose: true,
dependencyDashboardLabels: ['renovate-dashboard'],
dependencyDashboardTitle: 'Renovate Dependency Dashboard',
assigneesFromCodeOwners: true,
ignorePaths: ['**/templates/**', '**/test-input/**', '**/test-output/**', '**/test/fixtures/**', '**/test/fixture/**', '**/test/test-data/**'],
packageRules: [
{
matchPackagePrefixes: ['react', 'react-dom', '@types/react', '@types/react-dom'],
groupName: 'dependencies [react]',
allowedVersions: '<17.0.0'
},
{
matchPackagePrefixes: ['@fluentui/'],
groupName: 'dependencies [fluentui]'
},
{
matchPackagePrefixes: ['@testing-library/', '@types/testing-library'],
groupName: 'dependencies [testing-library]',
matchDepTypes: ['devDependencies']
},
{
matchPackagePrefixes: ['eslint', '@typescript-eslint/', 'lint-staged'],
groupName: 'dev dependencies [eslint]',
matchDepTypes: ['devDependencies']
},
{
matchPackageNames: ['prettier', 'pretty-quick'],
groupName: 'dev dependencies [prettier]',
matchDepTypes: ['devDependencies']
},
{
matchPackagePrefixes: ['i18next'],
groupName: 'dependencies [i18next]'
},
{
matchPackagePrefixes: ['mem-fs', '@types/mem-fs'],
groupName: 'dependencies [mem-fs]'
},
{
matchPackagePrefixes: ['enzyme', '@types/enzyme'],
groupName: 'dev dependencies [enzyme]',
matchDepTypes: ['devDependencies']
},
{
matchPackagePrefixes: ['lodash', '@types/lodash'],
groupName: 'dependencies [lodash]'
},
{
matchPackagePrefixes: ['jest', 'ts-jest', '@types/jest', 'babel-jest'],
groupName: 'dev dependencies [jest]',
matchDepTypes: ['devDependencies']
},
{
matchPackagePrefixes: ['nx', '@nrwl/nx-cloud'],
groupName: 'dev dependencies [nx]',
matchDepTypes: ['devDependencies']
},
{
matchPackagePrefixes: ['@types/vscode'],
allowedVersions: '1.73.1'
},
{
matchPackagePrefixes: [
'webpack',
'ts-loader',
'style-loader',
'sass-loader',
'sass',
'css-loader',
'@storybook/manager-webpack5',
'@storybook/builder-webpack5',
'storybook-addon-turbo-build'
],
groupName: 'dev dependencies [webpack]',
matchDepTypes: ['devDependencies']
}
]
}