Skip to content

Commit 34b395d

Browse files
authored
feat(manager): add several mise short tool names (renovatebot#36970)
1 parent 3601bd0 commit 34b395d

File tree

2 files changed

+115
-9
lines changed

2 files changed

+115
-9
lines changed

lib/modules/manager/mise/extract.spec.ts

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,32 @@ describe('modules/manager/mise/extract', () => {
5757
aws-vault = "6.6.1"
5858
buf = "1.27.0"
5959
ccache = "4.11.3"
60-
consul = "1.14.3"
6160
committed = "1.1.7"
61+
consul = "1.14.3"
62+
dotenv-linter = "3.3.0"
6263
hivemind = "1.1.0"
6364
hk = "1.1.2"
6465
jq = "1.7.1"
6566
kafka = "apache-3.9.0"
6667
lefthook = "1.11.13"
6768
localstack = "4.3.0"
69+
lychee = "0.19.1"
6870
opentofu = "1.6.1"
71+
pipx = "1.7.1"
72+
pkl = "0.28.2"
6973
protoc = "30.2"
7074
redis = "8.0.1"
7175
ruff = "0.11.12"
7276
shellcheck = "0.10.0"
7377
skeema = "1.12.3"
7478
sops = "3.10.2"
79+
sqlite = "3.50.1"
7580
stripe = "1.25.0"
81+
taplo = "0.10.0"
7682
terragrunt = "0.72.6"
7783
tilt = "0.34.0"
7884
tusd = "2.8.0"
85+
usage = "2.1.1"
7986
`;
8087
const result = extractPackageFile(content, miseFilename);
8188
expect(result).toMatchObject({
@@ -121,6 +128,13 @@ describe('modules/manager/mise/extract', () => {
121128
extractVersion: '^v(?<version>\\S+)',
122129
packageName: 'ccache/ccache',
123130
},
131+
{
132+
currentValue: '1.1.7',
133+
datasource: 'github-releases',
134+
depName: 'committed',
135+
extractVersion: '^v(?<version>\\S+)',
136+
packageName: 'crate-ci/committed',
137+
},
124138
{
125139
currentValue: '1.14.3',
126140
datasource: 'github-releases',
@@ -129,11 +143,11 @@ describe('modules/manager/mise/extract', () => {
129143
packageName: 'hashicorp/consul',
130144
},
131145
{
132-
currentValue: '1.1.7',
146+
currentValue: '3.3.0',
133147
datasource: 'github-releases',
134-
depName: 'committed',
148+
depName: 'dotenv-linter',
135149
extractVersion: '^v(?<version>\\S+)',
136-
packageName: 'crate-ci/committed',
150+
packageName: 'dotenv-linter/dotenv-linter',
137151
},
138152
{
139153
currentValue: '1.1.0',
@@ -176,13 +190,32 @@ describe('modules/manager/mise/extract', () => {
176190
extractVersion: '^v(?<version>\\S+)',
177191
packageName: 'localstack/localstack',
178192
},
193+
{
194+
currentValue: '0.19.1',
195+
datasource: 'github-releases',
196+
depName: 'lychee',
197+
extractVersion: '^lychee-v(?<version>\\S+)',
198+
packageName: 'lycheeverse/lychee',
199+
},
179200
{
180201
currentValue: '1.6.1',
181202
datasource: 'github-releases',
182203
depName: 'opentofu',
183204
extractVersion: '^v(?<version>\\S+)',
184205
packageName: 'opentofu/opentofu',
185206
},
207+
{
208+
currentValue: '1.7.1',
209+
datasource: 'github-releases',
210+
depName: 'pipx',
211+
packageName: 'pypa/pipx',
212+
},
213+
{
214+
currentValue: '0.28.2',
215+
datasource: 'github-releases',
216+
depName: 'pkl',
217+
packageName: 'apple/pkl',
218+
},
186219
{
187220
currentValue: '30.2',
188221
datasource: 'github-releases',
@@ -223,13 +256,26 @@ describe('modules/manager/mise/extract', () => {
223256
extractVersion: '^v(?<version>\\S+)',
224257
packageName: 'getsops/sops',
225258
},
259+
{
260+
currentValue: '3.50.1',
261+
datasource: 'github-tags',
262+
depName: 'sqlite',
263+
extractVersion: '^version-(?<version>\\S+)',
264+
packageName: 'sqlite/sqlite',
265+
},
226266
{
227267
currentValue: '1.25.0',
228268
datasource: 'github-releases',
229269
depName: 'stripe',
230270
extractVersion: '^v(?<version>\\S+)',
231271
packageName: 'stripe/stripe-cli',
232272
},
273+
{
274+
currentValue: '0.10.0',
275+
datasource: 'github-releases',
276+
depName: 'taplo',
277+
packageName: 'tamasfe/taplo',
278+
},
233279
{
234280
currentValue: '0.72.6',
235281
datasource: 'github-releases',
@@ -251,6 +297,13 @@ describe('modules/manager/mise/extract', () => {
251297
extractVersion: '^v(?<version>\\S+)',
252298
packageName: 'tus/tusd',
253299
},
300+
{
301+
currentValue: '2.1.1',
302+
datasource: 'github-releases',
303+
depName: 'usage',
304+
extractVersion: '^v(?<version>\\S+)',
305+
packageName: 'jdx/usage',
306+
},
254307
],
255308
});
256309
});

lib/modules/manager/mise/upgradeable-tooling.ts

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,20 +244,20 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
244244
extractVersion: '^v(?<version>\\S+)',
245245
},
246246
},
247-
hivemind: {
247+
'dotenv-linter': {
248248
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
249249
config: {
250-
packageName: 'DarthSim/hivemind',
250+
packageName: 'dotenv-linter/dotenv-linter',
251251
datasource: GithubReleasesDatasource.id,
252252
extractVersion: '^v(?<version>\\S+)',
253253
},
254254
},
255-
jq: {
255+
hivemind: {
256256
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
257257
config: {
258-
packageName: 'jqlang/jq',
258+
packageName: 'DarthSim/hivemind',
259259
datasource: GithubReleasesDatasource.id,
260-
extractVersion: '^jq-v(?<version>\\S+)',
260+
extractVersion: '^v(?<version>\\S+)',
261261
},
262262
},
263263
hk: {
@@ -268,6 +268,14 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
268268
extractVersion: '^v(?<version>\\S+)',
269269
},
270270
},
271+
jq: {
272+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
273+
config: {
274+
packageName: 'jqlang/jq',
275+
datasource: GithubReleasesDatasource.id,
276+
extractVersion: '^jq-v(?<version>\\S+)',
277+
},
278+
},
271279
kafka: {
272280
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
273281
config: (version) => {
@@ -299,6 +307,14 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
299307
extractVersion: '^v(?<version>\\S+)',
300308
},
301309
},
310+
lychee: {
311+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
312+
config: {
313+
packageName: 'lycheeverse/lychee',
314+
datasource: GithubReleasesDatasource.id,
315+
extractVersion: '^lychee-v(?<version>\\S+)',
316+
},
317+
},
302318
opentofu: {
303319
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
304320
config: {
@@ -307,6 +323,20 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
307323
extractVersion: '^v(?<version>\\S+)',
308324
},
309325
},
326+
pipx: {
327+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
328+
config: {
329+
packageName: 'pypa/pipx',
330+
datasource: GithubReleasesDatasource.id,
331+
},
332+
},
333+
pkl: {
334+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
335+
config: {
336+
packageName: 'apple/pkl',
337+
datasource: GithubReleasesDatasource.id,
338+
},
339+
},
310340
protoc: {
311341
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
312342
config: {
@@ -353,6 +383,14 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
353383
extractVersion: '^v(?<version>\\S+)',
354384
},
355385
},
386+
sqlite: {
387+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
388+
config: {
389+
packageName: 'sqlite/sqlite',
390+
datasource: GithubTagsDatasource.id,
391+
extractVersion: '^version-(?<version>\\S+)',
392+
},
393+
},
356394
stripe: {
357395
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
358396
config: {
@@ -361,6 +399,13 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
361399
extractVersion: '^v(?<version>\\S+)',
362400
},
363401
},
402+
taplo: {
403+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
404+
config: {
405+
packageName: 'tamasfe/taplo',
406+
datasource: GithubReleasesDatasource.id,
407+
},
408+
},
364409
terragrunt: {
365410
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
366411
config: {
@@ -385,6 +430,14 @@ const miseRegistryTooling: Record<string, ToolingDefinition> = {
385430
extractVersion: '^v(?<version>\\S+)',
386431
},
387432
},
433+
usage: {
434+
misePluginUrl: 'https://mise.jdx.dev/registry.html#tools',
435+
config: {
436+
packageName: 'jdx/usage',
437+
datasource: GithubReleasesDatasource.id,
438+
extractVersion: '^v(?<version>\\S+)',
439+
},
440+
},
388441
};
389442

390443
export const miseTooling: Record<string, ToolingDefinition> = {

0 commit comments

Comments
 (0)