diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000000..b74179afd60 --- /dev/null +++ b/renovate.json @@ -0,0 +1,40 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "managers": ["npm"], + "commitMessage": "{{{commitMessagePrefix}}} {{{commitMessageTopic}}}{{{commitMessageExtra}}} {{{commitMessageSuffix}}}", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "{{#if isMajor}} v{{{newMajor}}}{{else}}{{#if isSingleVersion}}@{{{toVersion}}}{{else}}@{{{newValue}}}{{/if}}{{/if}}" + }, + { + "packagePatterns": [ + "*" + ], + "rangeStrategy": "replace", + "semanticCommitType": "housekeeping" + }, + { + "depTypeList": [ + "devDependencies" + ], + "rangeStrategy": "update-lockfile", + "semanticCommitScope": "dev-deps" + }, + { + "depTypeList": [ + "peerDependencies" + ], + "rangeStrategy": "widen", + "semanticCommitScope": "peer-deps" + }, + { + "packagePatterns": ["^react"], + "enabled": false + } + ], + "ignorePaths": ["swagger-ui-dist-package/package.json"], + "prConcurrentLimit": 10 +}