mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
feat(preset/regex): add biome $schema (#28537)
This commit is contained in:
parent
20d76117dc
commit
bfa53be26a
1 changed files with 15 additions and 0 deletions
|
@ -3,6 +3,21 @@ import type { Preset } from '../types';
|
|||
/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
|
||||
|
||||
export const presets: Record<string, Preset> = {
|
||||
biomeVersions: {
|
||||
customManagers: [
|
||||
{
|
||||
customType: 'regex',
|
||||
datasourceTemplate: 'npm',
|
||||
depNameTemplate: '@biomejs/biome',
|
||||
fileMatch: ['^biome.json$'],
|
||||
matchStrings: [
|
||||
'https://biomejs.dev/schemas/(?<currentValue>.*)/schema.json',
|
||||
],
|
||||
},
|
||||
],
|
||||
description:
|
||||
'Update `$schema` version in `biome.json` configuration files.',
|
||||
},
|
||||
dockerfileVersions: {
|
||||
customManagers: [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue