forked from laurent22/joplin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
152 lines (146 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"major": {
"stabilityDays": 30,
},
"minor": {
"stabilityDays": 20,
},
"patch": {
"stabilityDays": 10,
},
"prConcurrentLimit": 5,
"prHourlyLimit": 0,
"ignorePaths": [
"**/bower_components/**",
"**/node_modules/**",
"Assets/**",
"packages/app-cli/tests/**",
"packages/app-clipper/popup",
"packages/app-mobile/android/app/build.gradle",
"packages/plugins/**",
],
"ignoreDeps": [
"@babel/core",
"@codemirror/commands",
"@codemirror/lang-cpp",
"@codemirror/lang-html",
"@codemirror/lang-java",
"@codemirror/lang-javascript",
"@codemirror/lang-markdown",
"@codemirror/lang-php",
"@codemirror/lang-rust",
"@codemirror/language",
"@codemirror/legacy-modes",
"@codemirror/search",
"@codemirror/state",
"@codemirror/view",
"@fortawesome/fontawesome-svg-core",
"@fortawesome/free-solid-svg-icons",
"@svgr/webpack",
"actions/stale",
"babel-eslint",
"babel-loader",
"babel-preset-react-app",
"browserify",
"codemirror",
"cspell",
"electron",
"file-loader",
"gradle",
"html-webpack-plugin",
"husky",
"lerna",
"metro-react-native-babel-preset",
"mini-css-extract-plugin",
"rollup-plugin-commonjs",
"rollup-plugin-node-resolve",
"rollup",
"ruby",
"stripe",
"typedoc",
"webpack-cli",
"webpack",
// pdfjs-dist requires the canvas package, which cannot be built in
// Windows.
//
// An unhandled error occurred inside electron-rebuild node-gyp failed
// to rebuild
// 'D:\a\joplin\joplin\packages\pdf-viewer\node_modules\canvas'.
//
// https://github.com/mozilla/pdf.js/issues/15112
//
// Maybe need to install Canvas separately and follow the instruction
// here to setup the build properly on Windows:
// https://github.com/Automattic/node-canvas#compiling
"pdfjs-dist",
// Too complex to upgrade past TinyMCE 5
// https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/
"tinymce",
// React Native stuff should be updated only when
// upgrading React Native.
"@babel/runtime",
"@types/react-native",
"androidx.appcompat:appcompat",
"babel-plugin-module-resolver",
"com.android.tools.build:gradle",
"com.facebook.flipper:flipper-fresco-plugin",
"com.facebook.flipper:flipper-network-plugin",
"com.facebook.flipper:flipper",
"com.google.code.gson:gson",
"com.google.code.gson",
"de.undercouch:gradle-download-task",
"jsc-android",
"org.robolectric:robolectric",
"react-native",
// Need special processing when upgrading
"katex",
"mermaid",
// Cannot upgrade further due to ESM support
"node-fetch",
"execa"
],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true,
"labels": ["automerge"],
},
{
"matchUpdateTypes": ["major", "minor", "patch"],
"automerge": true,
"groupName": "buildTools",
"labels": ["automerge"],
"extends": ["schedule:monthly"],
"matchPackagePatterns": [
// If the apps build and all tests pass, we can assume that Yarn
// and TypeScript are safe to upgrade. They are frequently
// updated so having them here reduces noise.
"eslint",
"eslint-*",
"@typescript-eslint/*",
"yarn",
"typescript",
"prettier",
// If it builds, it should be safe to merge @types/* packages
"@types/*",
],
},
{
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"groupName": "aws",
"labels": ["automerge"],
"extends": ["schedule:monthly"],
"matchPackagePatterns": [
// AWS packages are updated too frequently and we can assume minor
// updates are stable.
"@aws-sdk/*",
"aws-sdk",
],
},
]
}