Skip to content

Commit

Permalink
chore(config): migrate config renovate.json5
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Mar 9, 2024
1 parent b6f6ec3 commit 23224a7
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions renovate.json5
@@ -1,27 +1,32 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>Kesin11/renovate-config:oss",
":prConcurrentLimit10",
"schedule:weekends"
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'github>Kesin11/renovate-config:oss',
':prConcurrentLimit10',
'schedule:weekends',
],
"regexManagers": [
// ref: https://blog.s2n.tech/articles/renovate-deno
customManagers: [
{
"fileMatch": ["\\.tsx?$"],
"matchStrings": [
"(?:im|ex)port(?:.|\\s)+?from\\s*['\"](?<depName>https://deno.land/.+?)@v?(?<currentValue>[\\.\\d]+).*?['\"]",
"(?:@deno-types=)['\"](?<depName>https://deno.land/.+?)@v?(?<currentValue>[\\.\\d]+).*?['\"]",
customType: 'regex',
fileMatch: [
'\\.tsx?$',
],
"datasourceTemplate": "deno"
matchStrings: [
'(?:im|ex)port(?:.|\\s)+?from\\s*[\'"](?<depName>https://deno.land/.+?)@v?(?<currentValue>[\\.\\d]+).*?[\'"]',
'(?:@deno-types=)[\'"](?<depName>https://deno.land/.+?)@v?(?<currentValue>[\\.\\d]+).*?[\'"]',
],
datasourceTemplate: 'deno',
},
{
"fileMatch": ["\\.tsx?$"],
"matchStrings": [
"(?:im|ex)port(?:.|\\s)+?from\\s*['\"]npm:(?<depName>.+?)@.*?(?<currentValue>[\\.\\d]+).*?['\"]",
"(?:@deno-types=)['\"]npm:(?<depName>.+?)@.*?(?<currentValue>[\\.\\d]+).*?['\"]",
customType: 'regex',
fileMatch: [
'\\.tsx?$',
],
matchStrings: [
'(?:im|ex)port(?:.|\\s)+?from\\s*[\'"]npm:(?<depName>.+?)@.*?(?<currentValue>[\\.\\d]+).*?[\'"]',
'(?:@deno-types=)[\'"]npm:(?<depName>.+?)@.*?(?<currentValue>[\\.\\d]+).*?[\'"]',
],
"datasourceTemplate": "npm"
}
]
datasourceTemplate: 'npm',
},
],
}

0 comments on commit 23224a7

Please sign in to comment.