1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00
joplin/renovate.json5

168 lines
4.2 KiB
Plaintext
Raw Normal View History

2022-11-01 13:28:43 +02:00
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"major": {
"stabilityDays": 80,
},
"minor": {
"stabilityDays": 40,
},
"patch": {
"stabilityDays": 20,
},
2022-11-15 19:47:57 +02:00
"prConcurrentLimit": 5,
2022-11-08 20:15:25 +02:00
"prHourlyLimit": 0,
// It seems we need to delete the branches after merge or else it causes this problem:
// https://github.com/renovatebot/renovate/discussions/21256#discussioncomment-5898418
"pruneBranchAfterAutomerge": true,
2022-11-01 13:28:43 +02:00
"ignorePaths": [
"**/bower_components/**",
2022-11-12 15:50:10 +02:00
"**/node_modules/**",
"Assets/**",
2022-11-01 13:28:43 +02:00
"packages/app-cli/tests/**",
2022-11-12 15:50:10 +02:00
"packages/app-clipper/popup",
2022-11-15 11:22:00 +02:00
"packages/app-mobile/android/app/build.gradle",
"packages/plugins/**",
2023-05-07 19:58:56 +02:00
"packages/react-native-vosk",
],
"ignoreDeps": [
2022-11-02 17:22:48 +02:00
"@babel/core",
2022-11-07 12:11:59 +02: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",
"@lezer/highlight",
2022-11-07 12:11:59 +02:00
"@fortawesome/fontawesome-svg-core",
"@fortawesome/free-solid-svg-icons",
"@svgr/webpack",
"actions/stale",
2022-11-02 17:22:48 +02:00
"babel-eslint",
"babel-loader",
2022-11-08 22:55:30 +02:00
"babel-preset-react-app",
"browserify",
2022-11-08 20:27:29 +02:00
"codemirror",
"cspell",
2022-11-08 22:55:30 +02:00
"electron",
2022-11-10 09:54:06 +02:00
"file-loader",
"gradle",
"html-webpack-plugin",
2022-11-11 18:25:38 +02:00
"husky",
2022-11-12 12:27:06 +02:00
"lerna",
"metro-react-native-babel-preset",
"mini-css-extract-plugin",
"rollup-plugin-commonjs",
"rollup-plugin-node-resolve",
"rollup",
"ruby",
"stripe",
"typedoc",
2022-11-17 18:04:05 +02:00
"webpack-cli",
"webpack",
// pdfjs-dist requires the canvas package, which cannot be built in
// Windows.
2022-11-17 13:25:11 +02: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 13:25:11 +02:00
//
// 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:
2022-11-17 13:25:11 +02:00
// https://github.com/Automattic/node-canvas#compiling
"pdfjs-dist",
2022-11-16 11:37:30 +02:00
// 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.
2023-01-21 14:20:12 +02:00
"@babel/runtime",
"@types/react-native",
2023-01-21 14:20:12 +02:00
"androidx.appcompat:appcompat",
2023-02-09 03:33:52 +02:00
"babel-plugin-module-resolver",
"com.android.tools.build:gradle",
2022-11-11 12:04:03 +02:00
"com.facebook.flipper:flipper-fresco-plugin",
"com.facebook.flipper:flipper-network-plugin",
"com.facebook.flipper:flipper",
2023-02-05 14:26:55 +02:00
"com.google.code.gson:gson",
2023-01-21 14:20:12 +02:00
"com.google.code.gson",
"de.undercouch:gradle-download-task",
"jsc-android",
2023-01-21 14:20:12 +02:00
"org.robolectric:robolectric",
"react-native",
// Need special processing when upgrading
"katex",
"mermaid",
// Cannot upgrade further due to ESM support
"node-fetch",
2023-05-19 21:50:37 +02:00
"execa",
// Don't think we can trust this lib because they don't release a
// changelog and the latest version appears to have breaking changes
// (v0.5.0). Doesn't seem serious unfortunately.
// https://github.com/Leonidas-from-XIV/node-xml2js/issues/677
"xml2js",
],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
2022-12-10 10:45:56 +02:00
"automerge": true,
"labels": ["automerge"],
},
{
"matchUpdateTypes": ["major", "minor", "patch"],
2022-11-30 01:16:33 +02:00
"automerge": true,
"groupName": "buildTools",
"labels": ["automerge"],
"extends": ["schedule:monthly"],
2023-02-05 14:26:55 +02:00
"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.
2022-11-20 12:11:20 +02:00
"eslint",
"eslint-*",
2023-03-26 17:58:17 +02:00
"jest",
"jest-*",
"@typescript-eslint/*",
"yarn",
"typescript",
2022-11-24 01:09:01 +02:00
"prettier",
2022-11-30 01:16:33 +02:00
// If it builds, it should be safe to merge @types/* packages
"@types/*",
],
},
{
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"groupName": "aws",
"labels": ["automerge"],
"extends": ["schedule:monthly"],
2023-02-05 14:26:55 +02:00
"matchPackagePatterns": [
// AWS packages are updated too frequently and we can assume minor
// updates are stable.
2023-02-05 14:26:55 +02:00
"@aws-sdk/*",
"aws-sdk",
],
},
2022-11-01 13:28:43 +02:00
]
}