diff --git a/default.json b/default.json index 4f68ef4..9e7faff 100644 --- a/default.json +++ b/default.json @@ -1 +1 @@ -{"$schema":"https://docs.renovatebot.com/renovate-schema.json","extends":["config:best-practices",":pinVersions",":automergeMinor",":automergeDigest",":prHourlyLimitNone",":prConcurrentLimitNone","customManagers:biomeVersions"],"labels":["dependencies","{{#unless (equals manager 'regex')}}{{manager}}{{/unless}}"],"customManagers":[{"customType":"regex","description":"Updates mise tools (shorthands)","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"undefined","matchStrings":["^['\"]?(?[^_:\\s]+?)['\"]? *= *['\"](?\\d.+?)['\"]"]},{"customType":"regex","description":"Updates mise tools (full)","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"{{#if (equals datasource 'cargo')}}crate{{else}}{{#if (or (equals datasource 'ubi') (equals datasource 'aqua'))}}github-releases{{else}}{{datasource}}{{/if}}{{/if}}","currentValueTemplate":"{{{replace '^v(.+)$' '$1' currentValue}}}","matchStrings":["['\"](?(?.+?):(?.+?))['\"] *= *['\"](?.+?)['\"]"]},{"customType":"regex","description":"Updates min_version in mise config","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"github-releases","depNameTemplate":"mise","packageNameTemplate":"jdx/mise","matchStrings":["min_version = \"(?.+)\""]},{"customType":"regex","description":"Updates mise versions in GitHub Actions","fileMatch":["^\\.github/workflows/.+\\.yml$"],"datasourceTemplate":"github-releases","depNameTemplate":"mise","packageNameTemplate":"jdx/mise","matchStrings":["version: (?.+)"]},{"customType":"regex","fileMatch":["^\\.github/renovate\\.json5$"],"matchStrings":["github>risu729/renovate-config#(?[0-9.]+)"],"datasourceTemplate":"github-releases","depNameTemplate":"risu729/renovate-config"}],"packageRules":[{"matchDepNames":["node"],"ignoreUnstable":false},{"matchDepNames":["mise"],"automerge":true},{"matchCategories":["ci"],"semanticCommitType":"ci"},{"matchFileNames":["mise.toml"],"addLabels":["mise"]},{"matchManagers":["custom.regex"],"matchDepNames":["cargo-binstall"],"overrideDatasource":"crate"},{"matchManagers":["custom.regex"],"matchDepNames":["taplo"],"overrideDatasource":"github-releases","overridePackageName":"tamasfe/taplo"},{"matchManagers":["custom.regex"],"matchDepNames":["aqua:biomejs/biome"],"extractVersion":"^cli-v(?.+)"}]} \ No newline at end of file +{"$schema":"https://docs.renovatebot.com/renovate-schema.json","extends":["config:best-practices",":pinVersions",":automergeMinor",":automergeDigest",":prHourlyLimitNone",":prConcurrentLimitNone","customManagers:biomeVersions"],"labels":["dependencies","{{#unless (equals manager 'regex')}}{{manager}}{{/unless}}"],"customManagers":[{"customType":"regex","description":"Updates mise tools (shorthands)","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"undefined","matchStrings":["^['\"]?(?[^_:\\s]+?)['\"]? *= *['\"](?\\d.+?)['\"]"]},{"customType":"regex","description":"Updates mise tools (full)","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"{{#if (equals datasource 'cargo')}}crate{{else}}{{#if (or (equals datasource 'ubi') (equals datasource 'aqua'))}}github-releases{{else}}{{datasource}}{{/if}}{{/if}}","currentValueTemplate":"{{{replace '^v(.+)$' '$1' currentValue}}}","matchStrings":["['\"](?(?.+?):(?.+?))['\"] *= *['\"](?.+?)['\"]"]},{"customType":"regex","description":"Updates min_version in mise config","fileMatch":["(^|/)\\.?mise\\.toml$","(^|/)\\.?mise/config\\.toml$"],"datasourceTemplate":"github-releases","depNameTemplate":"mise","packageNameTemplate":"jdx/mise","matchStrings":["min_version = \"(?.+)\""]},{"customType":"regex","description":"Updates mise versions in GitHub Actions","fileMatch":["^\\.github/workflows/.+\\.yml$"],"datasourceTemplate":"github-releases","depNameTemplate":"mise","packageNameTemplate":"jdx/mise","matchStrings":["version: (?.+)"]},{"customType":"regex","fileMatch":["^\\.github/renovate\\.json5$"],"matchStrings":["github>risu729/renovate-config#(?[0-9.]+)"],"datasourceTemplate":"github-releases","depNameTemplate":"risu729/renovate-config"}],"packageRules":[{"matchDepNames":["node"],"ignoreUnstable":false},{"matchDepNames":["mise"],"automerge":true},{"matchCategories":["ci"],"semanticCommitType":"ci"},{"matchFileNames":["mise.toml"],"addLabels":["mise"]},{"matchManagers":["custom.regex"],"matchDepNames":["cargo-binstall"],"overrideDatasource":"crate"},{"matchManagers":["custom.regex"],"matchDepNames":["taplo"],"overrideDatasource":"github-releases","overridePackageName":"tamasfe/taplo"},{"matchManagers":["custom.regex"],"matchDepNames":["aqua:biomejs/biome"],"extractVersion":"^cli/v(?.+)"}]} \ No newline at end of file diff --git a/src/default.json5 b/src/default.json5 index 9566ac3..39d3096 100644 --- a/src/default.json5 +++ b/src/default.json5 @@ -116,7 +116,7 @@ { matchManagers: ["custom.regex"], matchDepNames: ["aqua:biomejs/biome"], - extractVersion: "^cli-v(?.+)", + extractVersion: "^cli/v(?.+)", }, ], }