Skip to content

Commit

Permalink
feat(preset/regex): add biome $schema (#28537)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Apr 19, 2024
1 parent 20d7611 commit bfa53be
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/config/presets/internal/regex-managers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down

0 comments on commit bfa53be

Please sign in to comment.