diff --git a/renovate.json5 b/renovate.json5 index f07bd575..615daa5b 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,90 +1,90 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base", - // https://github.com/renovatebot/renovate/blob/37.0.2/lib/config/presets/internal/config.ts - "config:best-practices", - "config:js-app", + $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', + 'config:js-app', ], - "prHourlyLimit": 0, - "prConcurrentLimit": 5, - "schedule": [ + 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" + 'at 9:00 am on the 1-7 day of the month on Saturday', ], - "timezone": "Europe/Madrid", - "labels": [ - "dependencies", + timezone: 'Europe/Madrid', + labels: [ + 'dependencies', ], - "packageRules": [ + packageRules: [ // Commit messages. Mock @dependabot ones: // build(deps) for production dependencies, build(deps-dev) for dev dependencies { - "matchPackagePatterns": [ - "dependencies" + matchPackagePatterns: [ + 'dependencies', ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" + semanticCommitType: 'build', + semanticCommitScope: 'deps', }, { - "matchDepTypes": [ - "devDependencies" + matchDepTypes: [ + 'devDependencies', ], - "semanticCommitType": "build", - "semanticCommitScope": "deps-dev" + semanticCommitType: 'build', + semanticCommitScope: 'deps-dev', }, // Tagging { - "matchManagers": [ - "github-actions" + matchManagers: [ + 'github-actions', + ], + addLabels: [ + 'github-actions', ], - "addLabels": [ - "github-actions" - ] }, { - "matchCategories": [ - "js" + matchCategories: [ + 'js', + ], + addLabels: [ + 'javascript', ], - "addLabels": [ - "javascript" - ] }, { - "matchCategories": [ - "node" + matchCategories: [ + 'node', + ], + addLabels: [ + 'node', ], - "addLabels": [ - "node" - ] }, // Automerge minor/patch production ones & dev dependencies { - "matchUpdateTypes": [ - "minor", - "patch", - "pin", - "digest" + matchUpdateTypes: [ + 'minor', + 'patch', + 'pin', + 'digest', ], - "automerge": "true" + automerge: true, }, { - "matchDepTypes": [ - "devDependencies" + matchDepTypes: [ + 'devDependencies', ], - "automerge": "true" + 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" + matchPackageNames: [ + 'typescript', ], - "allowedVersions": ">=4.9.3 <5.2.0" - } - ] + allowedVersions: '>=4.9.3 <5.2.0', + }, + ], }