2022-11-01 11:28:43 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
"extends": [
|
|
|
|
"config:base"
|
|
|
|
],
|
2023-01-05 21:31:12 +00:00
|
|
|
"major": {
|
2023-01-05 21:33:41 +00:00
|
|
|
"stabilityDays": 30,
|
2023-01-05 21:31:12 +00:00
|
|
|
},
|
|
|
|
"minor": {
|
2023-01-05 21:33:41 +00:00
|
|
|
"stabilityDays": 20,
|
2023-01-05 21:31:12 +00:00
|
|
|
},
|
|
|
|
"patch": {
|
2023-01-05 21:33:41 +00:00
|
|
|
"stabilityDays": 10,
|
|
|
|
},
|
2022-11-15 17:47:57 +00:00
|
|
|
"prConcurrentLimit": 5,
|
2022-11-08 18:15:25 +00:00
|
|
|
"prHourlyLimit": 0,
|
2022-11-01 11:28:43 +00:00
|
|
|
"ignorePaths": [
|
|
|
|
"**/bower_components/**",
|
2022-11-12 13:50:10 +00:00
|
|
|
"**/node_modules/**",
|
|
|
|
"Assets/**",
|
2022-11-01 11:28:43 +00:00
|
|
|
"packages/app-cli/tests/**",
|
2022-11-12 13:50:10 +00:00
|
|
|
"packages/app-clipper/popup",
|
2022-11-15 09:22:00 +00:00
|
|
|
"packages/app-mobile/android/app/build.gradle",
|
|
|
|
"packages/plugins/**",
|
2022-11-02 13:22:04 +00:00
|
|
|
],
|
|
|
|
"ignoreDeps": [
|
2022-11-02 15:22:48 +00:00
|
|
|
"@babel/core",
|
2022-11-07 10:11:59 +00:00
|
|
|
"@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",
|
2022-11-02 15:22:48 +00:00
|
|
|
"babel-eslint",
|
2022-11-03 20:10:34 +00:00
|
|
|
"babel-loader",
|
2022-11-08 20:55:30 +00:00
|
|
|
"babel-preset-react-app",
|
|
|
|
"browserify",
|
2022-11-08 18:27:29 +00:00
|
|
|
"codemirror",
|
|
|
|
"cspell",
|
2022-11-08 20:55:30 +00:00
|
|
|
"electron",
|
2022-11-10 07:54:06 +00:00
|
|
|
"file-loader",
|
|
|
|
"gradle",
|
|
|
|
"html-webpack-plugin",
|
2022-11-11 16:25:38 +00:00
|
|
|
"husky",
|
2022-11-12 10:27:06 +00:00
|
|
|
"lerna",
|
2022-11-15 09:11:11 +00:00
|
|
|
"metro-react-native-babel-preset",
|
|
|
|
"mini-css-extract-plugin",
|
|
|
|
"rollup-plugin-commonjs",
|
|
|
|
"rollup-plugin-node-resolve",
|
|
|
|
"rollup",
|
|
|
|
"ruby",
|
|
|
|
"stripe",
|
|
|
|
"typedoc",
|
2022-11-17 16:04:05 +00:00
|
|
|
"webpack-cli",
|
2022-11-15 09:11:11 +00:00
|
|
|
"webpack",
|
|
|
|
|
2022-11-17 13:53:29 +00:00
|
|
|
// pdfjs-dist requires the canvas package, which cannot be built in
|
|
|
|
// Windows.
|
2022-11-17 11:25:11 +00:00
|
|
|
//
|
2022-11-17 13:53:29 +00:00
|
|
|
// An unhandled error occurred inside electron-rebuild node-gyp failed
|
|
|
|
// to rebuild
|
|
|
|
// 'D:\a\joplin\joplin\packages\pdf-viewer\node_modules\canvas'.
|
2022-11-17 11:25:11 +00:00
|
|
|
//
|
|
|
|
// https://github.com/mozilla/pdf.js/issues/15112
|
|
|
|
//
|
2022-11-17 13:53:29 +00:00
|
|
|
// Maybe need to install Canvas separately and follow the instruction
|
|
|
|
// here to setup the build properly on Windows:
|
2022-11-17 11:25:11 +00:00
|
|
|
// https://github.com/Automattic/node-canvas#compiling
|
|
|
|
"pdfjs-dist",
|
|
|
|
|
2022-11-16 09:37:30 +00:00
|
|
|
// Too complex to upgrade past TinyMCE 5
|
|
|
|
// https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/
|
|
|
|
"tinymce",
|
|
|
|
|
2022-11-15 09:11:11 +00:00
|
|
|
// React Native stuff should be updated only when
|
|
|
|
// upgrading React Native.
|
2023-01-21 12:20:12 +00:00
|
|
|
"@babel/runtime",
|
2022-11-15 09:11:11 +00:00
|
|
|
"@types/react-native",
|
2023-01-21 12:20:12 +00:00
|
|
|
"androidx.appcompat:appcompat",
|
2023-02-09 01:33:52 +00:00
|
|
|
"babel-plugin-module-resolver",
|
2022-11-15 09:11:11 +00:00
|
|
|
"com.android.tools.build:gradle",
|
2022-11-11 10:04:03 +00:00
|
|
|
"com.facebook.flipper:flipper-fresco-plugin",
|
|
|
|
"com.facebook.flipper:flipper-network-plugin",
|
2022-11-15 09:11:11 +00:00
|
|
|
"com.facebook.flipper:flipper",
|
2023-02-05 12:26:55 +00:00
|
|
|
"com.google.code.gson:gson",
|
2023-01-21 12:20:12 +00:00
|
|
|
"com.google.code.gson",
|
|
|
|
"de.undercouch:gradle-download-task",
|
2022-11-15 09:11:11 +00:00
|
|
|
"jsc-android",
|
2023-01-21 12:20:12 +00:00
|
|
|
"org.robolectric:robolectric",
|
2022-11-15 09:11:11 +00:00
|
|
|
"react-native",
|
|
|
|
|
|
|
|
// Need special processing when upgrading
|
|
|
|
"katex",
|
|
|
|
"mermaid",
|
|
|
|
|
|
|
|
// Cannot upgrade further due to ESM support
|
|
|
|
"node-fetch",
|
2023-03-14 01:29:44 +00:00
|
|
|
"execa"
|
2022-11-07 10:04:42 +00:00
|
|
|
],
|
|
|
|
"packageRules": [
|
|
|
|
{
|
|
|
|
"matchUpdateTypes": ["patch"],
|
2022-12-10 08:45:56 +00:00
|
|
|
"automerge": true,
|
2022-12-09 12:22:13 +00:00
|
|
|
"labels": ["automerge"],
|
2022-11-15 08:06:41 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-05 11:05:59 +00:00
|
|
|
"matchUpdateTypes": ["major", "minor", "patch"],
|
2022-11-29 23:16:33 +00:00
|
|
|
"automerge": true,
|
2023-02-05 11:05:59 +00:00
|
|
|
"groupName": "buildTools",
|
2022-12-09 12:22:13 +00:00
|
|
|
"labels": ["automerge"],
|
2023-01-10 12:08:13 +00:00
|
|
|
"extends": ["schedule:monthly"],
|
2023-02-05 12:26:55 +00:00
|
|
|
"matchPackagePatterns": [
|
2022-11-17 13:53:29 +00:00
|
|
|
// 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.
|
2022-11-20 10:11:20 +00:00
|
|
|
"eslint",
|
2023-02-05 11:05:59 +00:00
|
|
|
"eslint-*",
|
2023-03-26 16:58:17 +01:00
|
|
|
"jest",
|
|
|
|
"jest-*",
|
2023-02-05 11:05:59 +00:00
|
|
|
"@typescript-eslint/*",
|
2022-11-17 13:53:29 +00:00
|
|
|
"yarn",
|
|
|
|
"typescript",
|
2022-11-23 23:09:01 +00:00
|
|
|
"prettier",
|
2022-11-29 23:16:33 +00:00
|
|
|
|
|
|
|
// If it builds, it should be safe to merge @types/* packages
|
|
|
|
"@types/*",
|
2022-11-17 13:53:29 +00:00
|
|
|
],
|
2023-02-05 11:05:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"automerge": true,
|
|
|
|
"groupName": "aws",
|
|
|
|
"labels": ["automerge"],
|
|
|
|
"extends": ["schedule:monthly"],
|
2023-02-05 12:26:55 +00:00
|
|
|
"matchPackagePatterns": [
|
2023-02-05 11:05:59 +00:00
|
|
|
// AWS packages are updated too frequently and we can assume minor
|
|
|
|
// updates are stable.
|
2023-02-05 12:26:55 +00:00
|
|
|
"@aws-sdk/*",
|
2023-02-05 11:05:59 +00:00
|
|
|
"aws-sdk",
|
|
|
|
],
|
|
|
|
},
|
2022-11-01 11:28:43 +00:00
|
|
|
]
|
|
|
|
}
|