From 37f4d1d74202073d560d31bcd88df51df577fc82 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 14 Dec 2018 08:56:41 +0100 Subject: [PATCH] ci: add renovate configuration Since we have a lot of pin dependencies renovate will help us automate dependency updates. `source-map` is listed as ignored as at the moment we cannot update this since their API changed to async and and this repos Code Coverage is sync. `webpack-subresource-integrity` - the newer version requires peerDependencies that we don't want to include. --- renovate.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..24ddeca3c4 --- /dev/null +++ b/renovate.json @@ -0,0 +1,47 @@ +{ + "pinVersions": false, + "semanticCommits": true, + "semanticPrefix": "build", + "commitMessage": "{{semanticPrefix}} update {{depName}} to version {{newVersion}}", + "separateMajorMinor": false, + "prHourlyLimit": 2, + "timezone": "America/Tijuana", + "schedule": [ + "after 10pm every weekday", + "before 4am every weekday", + "every weekend" + ], + "baseBranches": [ + "master" + ], + "ignoreDeps": [ + "source-map", + "webpack-subresource-integrity" + ], + "packageFiles": [ + "package.json", + "packages/**/package.json" + ], + "packageRules": [ + { + "packagePatterns": [ + "^@angular\/.*" + ], + "groupName": "angular", + "pinVersions": false + }, + { + "packagePatterns": [ + "^@bazel\/.*" + ], + "groupName": "bazel", + "pinVersions": false + }, + { + "packageNames": [ + "typescript" + ], + "updateTypes": "patch" + } + ] +}