Skip to content

Commit

Permalink
chore(renovate): add comments back
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Sep 28, 2023
1 parent 8532d2b commit 4a07550
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
// 👇 Defined in https://github.com/renovatebot/renovate/blob/37.0.2/lib/config/presets/internal/config.ts
extends: [
'config:recommended',
'config:best-practices',
Expand All @@ -8,13 +9,19 @@
prHourlyLimit: 0,
prConcurrentLimit: 5,
schedule: [
// Validate using https://codepen.io/rationaltiger24/full/ZExQEgK
// Though even if that says is valid, maybe invalid 🙃 as it wants 0 errors despite compiling
// So to be sure, `npm i later` on a tmp dir, `var later = require('later')' and check
// `later.parse.text('whatever schedule')` returns no errors (-1)
'at 9:00 am on the 1-7 day of the month on Saturday',
],
timezone: 'Europe/Madrid',
labels: [
'dependencies',
],
packageRules: [
// Commit messages. Mock @dependabot ones:
// build(deps) for production dependencies, build(deps-dev) for dev dependencies
{
matchPackagePatterns: [
'dependencies',
Expand All @@ -29,6 +36,7 @@
semanticCommitType: 'build',
semanticCommitScope: 'deps-dev',
},
// Tagging
{
matchManagers: [
'github-actions',
Expand All @@ -53,6 +61,7 @@
'node',
],
},
// Automerge minor/patch production ones & dev dependencies
{
matchUpdateTypes: [
'minor',
Expand All @@ -68,6 +77,9 @@
],
automerge: true,
},
// We cannot upgrade to latest Typescript until Angular supports it
// Otherwise, we'll get an error
// https://angular.io/guide/versions
{
matchPackageNames: [
'typescript',
Expand Down

0 comments on commit 4a07550

Please sign in to comment.