mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
feat(presets): add Vite related packages and group rule (#26511)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
This commit is contained in:
parent
76a4d17631
commit
077c2db074
2 changed files with 14 additions and 0 deletions
|
@ -790,6 +790,15 @@ const staticGroups = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
vite: {
|
||||||
|
description: 'Group all Vite related packages together.',
|
||||||
|
packageRules: [
|
||||||
|
{
|
||||||
|
extends: 'packages:vite',
|
||||||
|
groupName: 'Vite packages',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const config: any = { ...staticGroups };
|
const config: any = { ...staticGroups };
|
||||||
|
|
|
@ -144,4 +144,9 @@ export const presets: Record<string, Preset> = {
|
||||||
description: 'All unit test packages.',
|
description: 'All unit test packages.',
|
||||||
extends: ['packages:jsUnitTest', 'packages:phpUnitTest'],
|
extends: ['packages:jsUnitTest', 'packages:phpUnitTest'],
|
||||||
},
|
},
|
||||||
|
vite: {
|
||||||
|
description: 'All Vite related packages',
|
||||||
|
matchDatasources: ['npm'],
|
||||||
|
matchPackagePatterns: ['^vite$', 'vite-plugin', '@vitejs'],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue