diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..0c12c78 --- /dev/null +++ b/renovate.json @@ -0,0 +1,129 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "ignorePaths": [ + "generated/**", + "**/node_modules/**", + "**/target/**" + ], + "packageRules": [ + { + "description": [ + "Local reactor parent is built from ../pom.xml; its version is maintained with this repository, not looked up in a registry" + ], + "matchManagers": [ + "maven" + ], + "matchDepTypes": [ + "parent", + "parent-root" + ], + "matchPackageNames": [ + "nl.agilecc.agiledancers:agiledancers" + ], + "enabled": false + }, + { + "matchPackageNames": [ + "@angular/**", + "angular-eslint", + "@angular-eslint/**" + ], + "allowedVersions": ">=22.0.0 <23.0.0" + }, + { + "description": [ + "Angular runtime and compiler must use the same release" + ], + "matchPackageNames": [ + "@angular/common", + "@angular/compiler", + "@angular/core", + "@angular/forms", + "@angular/platform-browser", + "@angular/router", + "@angular/compiler-cli" + ], + "groupName": "Angular framework", + "allowedVersions": ">=22.0.0 <23.0.0" + }, + { + "matchPackageNames": [ + "@angular/build", + "@angular/cli" + ], + "groupName": "Angular CLI", + "allowedVersions": ">=22.0.0 <23.0.0" + }, + { + "matchPackageNames": [ + "angular-eslint", + "@angular-eslint/**" + ], + "allowedVersions": ">=22.0.0 <23.0.0" + }, + { + "matchPackageNames": [ + "typescript" + ], + "allowedVersions": ">=6.0.0 <6.1.0" + }, + { + "matchPackageNames": [ + "rxjs" + ], + "allowedVersions": "^6.5.3 || ^7.4.0" + }, + { + "matchPackageNames": [ + "node" + ], + "allowedVersions": "^22.22.3 || ^24.15.0 || ^26.0.0" + }, + { + "matchPackageNames": [ + "@types/node" + ], + "allowedVersions": "^22.0.0 || ^24.0.0 || ^26.0.0" + }, + { + "description": [ + "The browser package and its separately published CI image are inseparable" + ], + "matchPackageNames": [ + "@playwright/test", + "playwright", + "mcr.microsoft.com/playwright" + ], + "groupName": "Playwright" + } + ], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/^renovate\\/Dockerfile$/" + ], + "matchStrings": [ + "ARG NPM_VERSION=(?[^\\s]+)" + ], + "datasourceTemplate": "npm", + "depNameTemplate": "npm" + }, + { + "customType": "regex", + "managerFilePatterns": [ + "/^engineering\\.properties$/" + ], + "matchStrings": [ + "PLAYWRIGHT_IMAGE=(?mcr\\.microsoft\\.com/playwright):v(?[^\\s-]+)-noble" + ], + "datasourceTemplate": "docker", + "versioningTemplate": "semver", + "extractVersionTemplate": "^v(?.+)-noble$", + "autoReplaceStringTemplate": "PLAYWRIGHT_IMAGE={{{depName}}}:v{{{newValue}}}-noble" + } + ] +}