diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c028f79..b5c2cdc 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,28 +1,28 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "description": "https://www.augmentedmind.de/2021/07/25/renovate-bot-cheat-sheet/#11-keep-up-to-date-with-renovate-bots-development", - "configMigration": true, - "packageRules": [ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + description: "https://www.augmentedmind.de/2021/07/25/renovate-bot-cheat-sheet/#11-keep-up-to-date-with-renovate-bots-development", + configMigration: true, + packageRules: [ { - "groupName": "renovate", - "description": "Causes the bot to create a PR (and thus, an email notification), whenever there is a new major Renovate version.", - "matchPackageNames": [ + groupName: "renovate", + description: "Causes the bot to create a PR (and thus, an email notification), whenever there is a new major Renovate version.", + matchPackageNames: [ "renovate/renovate", - "renovate" + "renovate", ], - "matchUpdateTypes": ["major"], - "automerge": true, - "prCreation": "immediate" + matchUpdateTypes: ["major"], + automerge: true, + prCreation: "immediate", }, { - "groupName": "renovate", - "description": "Disables the creation of branches/PRs for any non-major updates of Renovate bot.", - "matchPackageNames": [ + groupName: "renovate", + description: "Disables the creation of branches/PRs for any non-major updates of Renovate bot.", + matchPackageNames: [ "renovate/renovate", - "renovate" + "renovate", ], - "matchUpdateTypes": ["minor", "patch", "pin", "digest", "rollback"], - "enabled": false - } - ] + matchUpdateTypes: ["minor", "patch", "pin", "digest", "rollback"], + enabled: false, + }, + ], } diff --git a/default.json5 b/default.json5 index 47253db..cc7bf56 100644 --- a/default.json5 +++ b/default.json5 @@ -1,66 +1,66 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "onboardingConfigFileName": ".github/renovate.json5", - "extends": [ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + onboardingConfigFileName: ".github/renovate.json5", + extends: [ "config:recommended", ":disableRateLimiting", "local>TWiStErRob/renovate-config:group.json5/all", "local>TWiStErRob/renovate-config:replacement.json5/all", ], - "semanticCommits": "disabled", - "configMigration": true, - "commitMessageExtra": "from {{{currentValue}}} to {{{newValue}}}{{#if isMajor}} (major v{{{newMajor}}}){{else}}{{/if}}", - "labels": ["in:dependencies"], - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true, - "minimumReleaseAge": "8 hours", - "internalChecksFilter": "strict", - "ignorePaths": [ - "do-not-ignore-anything" + semanticCommits: "disabled", + configMigration: true, + commitMessageExtra: "from {{{currentValue}}} to {{{newValue}}}{{#if isMajor}} (major v{{{newMajor}}}){{else}}{{/if}}", + labels: ["in:dependencies"], + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, + minimumReleaseAge: "8 hours", + internalChecksFilter: "strict", + ignorePaths: [ + "do-not-ignore-anything", ], - "packageRules": [ + packageRules: [ { - "description": "Auto-merge all small changes, except for unstable versions.", - "matchUpdateTypes": ["minor", "patch"], - "matchCurrentVersion": "!/^0/", - "automerge": true + description: "Auto-merge all small changes, except for unstable versions.", + matchUpdateTypes: ["minor", "patch"], + matchCurrentVersion: "!/^0/", + automerge: true, }, { - "description": "Auto-merge all updates of specific dependencies, their 0.x versions are stable and well-controlled.", - "matchUpdateTypes": ["minor", "patch"], - "matchCurrentVersion": "/^0/", - "matchPackageNames": [ - "org.gradle.toolchains.foojay-resolver-convention" + description: "Auto-merge all updates of specific dependencies, their 0.x versions are stable and well-controlled.", + matchUpdateTypes: ["minor", "patch"], + matchCurrentVersion: "/^0/", + matchPackageNames: [ + "org.gradle.toolchains.foojay-resolver-convention", ], - "automerge": true + automerge: true, }, { - "description": "Auto-merge all digest updates, TODO why?", - "matchUpdateTypes": ["digest"], - "automerge": true + description: "Auto-merge all digest updates, TODO why?", + matchUpdateTypes: ["digest"], + automerge: true, }, { - "description": "Wait for npm dependencies, they often have small patch releases in quick succession.", - "matchDatasources": ["npm"], - "minimumReleaseAge": "3 days" + description: "Wait for npm dependencies, they often have small patch releases in quick succession.", + matchDatasources: ["npm"], + minimumReleaseAge: "3 days", }, { - "description": "Merge my packages as soon as possible.", - "matchPackagePrefixes": ["net.twisterrob"], - "minimumReleaseAge": "0 minutes" + description: "Merge my packages as soon as possible.", + matchPackagePrefixes: ["net.twisterrob"], + minimumReleaseAge: "0 minutes", }, { - "description": "Pin my reusable workflows, semver might not be true.", - "matchDepTypes": ["action"], - "matchPackageNames": [ - "TWiStErRob/github-workflows" + description: "Pin my reusable workflows, semver might not be true.", + matchDepTypes: ["action"], + matchPackageNames: [ + "TWiStErRob/github-workflows", ], - "pinDigests": true - } + pinDigests: true, + }, ], "gradle-wrapper": { - "description": "Update Gradle wrapper to non-stable versions", - "ignoreUnstable": false - } + description: "Update Gradle wrapper to non-stable versions", + ignoreUnstable: false, + }, } diff --git a/group.json5 b/group.json5 index 06adb41..2f5ff16 100644 --- a/group.json5 +++ b/group.json5 @@ -1,7 +1,7 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", + $schema: "https://docs.renovatebot.com/renovate-schema.json", "all": { - "extends": [ + extends: [ "group:monorepos", "group:recommended", "local>TWiStErRob/renovate-config:group.json5/twisterrob-gradle", @@ -18,60 +18,60 @@ "local>TWiStErRob/renovate-config:group.json5/neo4j", "local>TWiStErRob/renovate-config:group.json5/log4j2", "local>TWiStErRob/renovate-config:group.json5/jackson", - "local>TWiStErRob/renovate-config:group.json5/notion" - ] + "local>TWiStErRob/renovate-config:group.json5/notion", + ], }, "twisterrob-gradle": { - "packageRules": [ + packageRules: [ { - "groupName": "TWiStErRob Gradle", - "description": "Group together all dependencies from the net.twisterrob.gradle monorepo.", - "matchPackagePrefixes": [ + groupName: "TWiStErRob Gradle", + description: "Group together all dependencies from the net.twisterrob.gradle monorepo.", + matchPackagePrefixes: [ "net.twisterrob.gradle:", - "net.twisterrob.gradle.plugin." - ] - } - ] + "net.twisterrob.gradle.plugin.", + ], + }, + ], }, "github-artifacts": { - "packageRules": [ + packageRules: [ { - "groupName": "actions/upload-artifact and actions/download-artifact", - "description": "Artifact management is coupled in GitHub Actions. https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/", - "matchManagers": ["github-actions"], - "matchPackageNames": [ + groupName: "actions/upload-artifact and actions/download-artifact", + description: "Artifact management is coupled in GitHub Actions. https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/", + matchManagers: ["github-actions"], + matchPackageNames: [ "actions/upload-artifact", - "actions/download-artifact" + "actions/download-artifact", ], - "separateMultipleMajor": false - } - ] + separateMultipleMajor: false, + }, + ], }, "github-pages": { - "packageRules": [ + packageRules: [ { - "groupName": "actions/github-pages", - "description": "GitHub Pages actions are coupled in GitHub Actions.", - "matchManagers": ["github-actions"], - "matchPackageNames": [ + groupName: "actions/github-pages", + description: "GitHub Pages actions are coupled in GitHub Actions.", + matchManagers: ["github-actions"], + matchPackageNames: [ "actions/configure-pages", "actions/upload-pages-artifact", - "actions/deploy-pages" + "actions/deploy-pages", ], - "separateMultipleMajor": false - } - ] + separateMultipleMajor: false, + }, + ], }, "kotlin": { - "packageRules": [ + packageRules: [ { - "groupName": "Kotlin", - "description": "Group together all dependencies from Kotlin, Dokka and KotlinX, including coroutines. See https://github.com/renovatebot/renovate/discussions/14919 and https://regex101.com/r/XTbJ6B/1", - "matchPackagePatterns": [ + groupName: "Kotlin", + description: "Group together all dependencies from Kotlin, Dokka and KotlinX, including coroutines. See https://github.com/renovatebot/renovate/discussions/14919 and https://regex101.com/r/XTbJ6B/1", + matchPackagePatterns: [ "^org\\.jetbrains\\.kotlin:kotlin-.*$", - "^org\\.jetbrains\\.kotlin\\.(.+):org\\.jetbrains\\.kotlin\\.(\\$1)\\.gradle\\.plugin$" + "^org\\.jetbrains\\.kotlin\\.(.+):org\\.jetbrains\\.kotlin\\.(\\$1)\\.gradle\\.plugin$", ], - "matchPackageNames": [ + matchPackageNames: [ "org.jetbrains.kotlin:kotlin-gradle-plugin", "org.jetbrains.kotlin.js", "kotlin", @@ -101,66 +101,66 @@ "kotlin-scripting,", "org.jetbrains.kotlin.plugin.scripting", "kotlin2js", - "kotlin-dce-js" + "kotlin-dce-js", ], - "versioning": "regex:^1\\.(?\\d+)\\.(?\\d)-?(?\\d)?(?(?:-(?:RC\\d*|M\\d+))?(?:-(?:rc|beta|dev|release|space))?(?:-(?\\d+(?:-\\d+)?))?)?$", - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true + versioning: "regex:^1\\.(?\\d+)\\.(?\\d)-?(?\\d)?(?(?:-(?:RC\\d*|M\\d+))?(?:-(?:rc|beta|dev|release|space))?(?:-(?\\d+(?:-\\d+)?))?)?$", + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, }, { - "groupName": "Kotlin", - "description": "Group together all dependencies from Kotlin, Dokka and KotlinX, including coroutines. See https://github.com/renovatebot/renovate/discussions/14919 and https://regex101.com/r/XTbJ6B/1", - "matchSourceUrlPrefixes": [ - "https://github.com/JetBrains/kotlin" + groupName: "Kotlin", + description: "Group together all dependencies from Kotlin, Dokka and KotlinX, including coroutines. See https://github.com/renovatebot/renovate/discussions/14919 and https://regex101.com/r/XTbJ6B/1", + matchSourceUrlPrefixes: [ + "https://github.com/JetBrains/kotlin", ], - "versioning": "regex:^1\\.(?\\d+)\\.(?\\d)-?(?\\d)?(?(?:-(?:RC\\d*|M\\d+))?(?:-(?:rc|beta|dev|release|space))?(?:-(?\\d+(?:-\\d+)?))?)?$", - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true - } - ] + versioning: "regex:^1\\.(?\\d+)\\.(?\\d)-?(?\\d)?(?(?:-(?:RC\\d*|M\\d+))?(?:-(?:rc|beta|dev|release|space))?(?:-(?\\d+(?:-\\d+)?))?)?$", + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, + }, + ], }, "ktor": { - "packageRules": [ + packageRules: [ { - "groupName": "ktor.io monorepo", - "description": "Group together all dependencies of ktor.", - "matchSourceUrlPrefixes": [ - "https://github.com/ktorio/ktor" - ] - } - ] + groupName: "ktor.io monorepo", + description: "Group together all dependencies of ktor.", + matchSourceUrlPrefixes: [ + "https://github.com/ktorio/ktor", + ], + }, + ], }, "detekt": { - "packageRules": [ + packageRules: [ { - "groupName": "Detekt monorepo", - "description": "Group together all dependencies of Detekt.", - "matchPackagePrefixes": [ - "io.gitlab.arturbosch.detekt:" + groupName: "Detekt monorepo", + description: "Group together all dependencies of Detekt.", + matchPackagePrefixes: [ + "io.gitlab.arturbosch.detekt:", ], - "matchPackageNames": [ + matchPackageNames: [ "io.gitlab.arturbosch.detekt", "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", - "io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin" - ] + "io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin", + ], }, { - "groupName": "Detekt monorepo", - "description": "Group together all dependencies of Detekt.", - "matchSourceUrlPrefixes": [ - "https://github.com/detekt/detekt" - ] - } - ] + groupName: "Detekt monorepo", + description: "Group together all dependencies of Detekt.", + matchSourceUrlPrefixes: [ + "https://github.com/detekt/detekt", + ], + }, + ], }, "agp": { - "packageRules": [ + packageRules: [ { - "groupName": "Android Gradle Plugin", - "description": "Group together all dependencies and plugin aliases from AGP.", - "matchPackageNames": [ + groupName: "Android Gradle Plugin", + description: "Group together all dependencies and plugin aliases from AGP.", + matchPackageNames: [ "com.android.tools.build:gradle", "android", "com.android.application", @@ -183,137 +183,137 @@ "com.android.lint", "android-reporting", "com.android.reporting", - "com.android.test" + "com.android.test", ], - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true - } - ] + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, + }, + ], }, "agp-lint": { - "packageRules": [ + packageRules: [ { - "groupName": "Android Gradle Plugin", - "description": "Group together all related dependencies from AGP.", - "matchPackagePrefixes": [ + groupName: "Android Gradle Plugin", + description: "Group together all related dependencies from AGP.", + matchPackagePrefixes: [ "com.android.tools:", "com.android.tools.build:", "com.android.tools.lint:", - "com.android.tools.ddms:" + "com.android.tools.ddms:", ], - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true - } - ] + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, + }, + ], }, "androidx": { - "packageRules": [ + packageRules: [ { - "groupName": "AndroidX Monorepo", - "description": "Group together all dependencies from AndroidX.", - "matchPackagePrefixes": [ - "androidx." - ] - } - ] + groupName: "AndroidX Monorepo", + description: "Group together all dependencies from AndroidX.", + matchPackagePrefixes: [ + "androidx.", + ], + }, + ], }, "androidx-test": { - "packageRules": [ + packageRules: [ { - "groupName": "AndroidX Test Monorepo", - "description": "Group together all dependencies from AndroidX Test (Espresso).", - "matchPackagePrefixes": [ + groupName: "AndroidX Test Monorepo", + description: "Group together all dependencies from AndroidX Test (Espresso).", + matchPackagePrefixes: [ "androidx.test:", - "androidx.test.espresso:" - ] - } - ] + "androidx.test.espresso:", + ], + }, + ], }, "mockito": { - "packageRules": [ + packageRules: [ { - "groupName": "mockito monorepo", - "description": "Add nhaarman dependency to builtin 'mockito monorepo' group.", - "matchPackageNames": [ + groupName: "mockito monorepo", + description: "Add nhaarman dependency to builtin 'mockito monorepo' group.", + matchPackageNames: [ "com.nhaarman.mockitokotlin2:mockito-kotlin", - "com.nhaarman:mockito-kotlin" - ] - } - ] + "com.nhaarman:mockito-kotlin", + ], + }, + ], }, "neo4j": { - "packageRules": [ + packageRules: [ { - "groupName": "Neo4J monorepo", - "description": "Group together all dependencies from Neo4J and OGM", - "matchPackagePatterns": [ + groupName: "Neo4J monorepo", + description: "Group together all dependencies from Neo4J and OGM", + matchPackagePatterns: [ "^org\\.neo4j:neo4j$", "^org\\.neo4j:neo4j-ogm-.+$", - "^org\\.neo4j\\..+:neo4j-.+$" + "^org\\.neo4j\\..+:neo4j-.+$", ], - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, }, { - "groupName": "Neo4J monorepo", - "description": "Group together all dependencies from Neo4J and OGM", - "matchSourceUrlPrefixes": [ - "https://github.com/neo4j" + groupName: "Neo4J monorepo", + description: "Group together all dependencies from Neo4J and OGM", + matchSourceUrlPrefixes: [ + "https://github.com/neo4j", ], - "separateMajorMinor": true, - "separateMultipleMajor": true, - "separateMinorPatch": true - } - ] + separateMajorMinor: true, + separateMultipleMajor: true, + separateMinorPatch: true, + }, + ], }, "log4j2": { - "packageRules": [ + packageRules: [ { - "groupName": "Log4j 2 monorepo", - "description": "Group together all dependencies from Log4J 2", - "matchPackagePrefixes": [ - "org.apache.logging.log4j:" - ] - } - ] + groupName: "Log4j 2 monorepo", + description: "Group together all dependencies from Log4J 2", + matchPackagePrefixes: [ + "org.apache.logging.log4j:", + ], + }, + ], }, "jackson": { - "packageRules": [ + packageRules: [ { - "groupName": "Jackson monorepo", - "description": "Group together all dependencies of Jackson.", - "matchPackagePrefixes": [ - "com.fasterxml.jackson." - ] + groupName: "Jackson monorepo", + description: "Group together all dependencies of Jackson.", + matchPackagePrefixes: [ + "com.fasterxml.jackson.", + ], }, { - "groupName": "Jackson monorepo", - "description": "Group together all dependencies of Jackson.", - "matchSourceUrlPrefixes": [ - "https://github.com/FasterXML/jackson-" - ] - } - ] + groupName: "Jackson monorepo", + description: "Group together all dependencies of Jackson.", + matchSourceUrlPrefixes: [ + "https://github.com/FasterXML/jackson-", + ], + }, + ], }, "notion": { - "packageRules": [ + packageRules: [ { - "groupName": "Notion SDK JVM", - "description": "Group together all dependencies of Seratch's Notion SDK.", - "matchPackagePrefixes": [ - "com.github.seratch:notion-sdk-jvm-" - ] + groupName: "Notion SDK JVM", + description: "Group together all dependencies of Seratch's Notion SDK.", + matchPackagePrefixes: [ + "com.github.seratch:notion-sdk-jvm-", + ], }, { - "groupName": "Notion SDK JVM", - "description": "Group together all dependencies of Seratch's Notion SDK.", - "matchSourceUrlPrefixes": [ - "https://github.com/seratch/notion-sdk-jvm" - ] - } - ] - } + groupName: "Notion SDK JVM", + description: "Group together all dependencies of Seratch's Notion SDK.", + matchSourceUrlPrefixes: [ + "https://github.com/seratch/notion-sdk-jvm", + ], + }, + ], + }, }