Skip to content

Commit fe463fa

Browse files
authoredMar 2, 2025··
Revert "fix(src/default.json5): set datasourceTemplate for mise tools shorthands (#276)" (#279)
This reverts commit 26590bc.
1 parent 13bc775 commit fe463fa

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed
 

‎default.json

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/default.json5

+6-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@
3434
customType: "regex",
3535
description: "Updates mise tools (shorthands)",
3636
fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"],
37-
// if not set or set to undefined, Renovate does not update the version
38-
datasourceTemplate: "github-releases",
37+
// to avoid renovate config validator error
38+
// Renovate throws "Missing datasource!" warnings but still works
39+
datasourceTemplate: "undefined",
3940
matchStrings: [
4041
// test: https://regex101.com/r/8grHta
4142
"^['\"]?(?<depName>[^_:\\s]+?)['\"]? *= *['\"](?<currentValue>\\d.+?)['\"]",
@@ -120,18 +121,21 @@
120121
{
121122
matchManagers: ["custom.regex"],
122123
matchDepNames: ["taplo"],
124+
overrideDatasource: "github-releases",
123125
// cspell:ignore tamasfe
124126
overridePackageName: "tamasfe/taplo",
125127
},
126128
{
127129
matchManagers: ["custom.regex"],
128130
matchDepNames: ["biome"],
131+
overrideDatasource: "github-releases",
129132
overridePackageName: "biomejs/biome",
130133
extractVersion: "^cli/v(?<version>.+)",
131134
},
132135
{
133136
matchManagers: ["custom.regex"],
134137
matchDepNames: ["lychee"],
138+
overrideDatasource: "github-releases",
135139
// cspell:ignore lycheeverse
136140
overridePackageName: "lycheeverse/lychee",
137141
extractVersion: "^lychee-v(?<version>.+)",

0 commit comments

Comments
 (0)
Please sign in to comment.