Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(config): migrate renovate config #31

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 51 additions & 51 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -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',
},
],
}