Skip to content

Commit

Permalink
chore: refine renovate groups (#2548)
Browse files Browse the repository at this point in the history
<!--
☝️ PR title should follow conventional commits
(https://conventionalcommits.org).
In particular, the title should start with one of the following types:

- docs: 📖 Documentation (updates to the documentation or readme)
- fix: 🐞 Bug fix (a non-breaking change that fixes an issue)
- feat: ✨ New feature/enhancement (a non-breaking change that adds
functionality or improves existing one)
- feat!/fix!: ⚠️ Breaking change (fix or feature that would cause
existing functionality to change)
- chore: 🧹 Chore (updates to the build process or auxiliary tools and
libraries)
-->

### 🔗 Linked issue

<!-- If it resolves an open issue, please link the issue here. For
example "Resolves #123" -->

### 📚 Description

<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
  • Loading branch information
tobiasdiez authored Oct 3, 2024
1 parent abbead6 commit f35ac19
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"Nuxt",
"nuxtjs",
"oxlint",
"pinia",
"scimago",
"transpiled",
"tsyringe",
"upsert"
"unstorage",
"upsert",
"vite",
"vitest"
],
"[jsonc]": {
"editor.formatOnSave": true
Expand Down
39 changes: 24 additions & 15 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
rangeStrategy: 'pin',
packageRules: [
{ matchPackageNames: ['*'], matchManagers: ['npm'] },
{ matchPackageNames: ['@types/**'], groupName: 'types' },
{ matchPackageNames: ['@types{/,}**'], groupName: 'types' },
{
matchPackageNames: [
'graphql',
'@apollo/**',
'@graphql-tools/**',
'@apollo{/,}**',
'@graphql-tools{/,}**',
'@as-integrations/h3',
'graphql-**',
'@graphql-**',
],
groupName: 'graphql',
},
{
matchPackageNames: ['@typescript-eslint/**', 'eslint', 'eslint-**'],
matchPackageNames: ['@typescript-eslint{/,}**', 'eslint', 'eslint-**'],
groupName: 'eslint',
},
{
Expand All @@ -42,8 +42,8 @@
'nuxt',
'vite',
'nuxt-**',
'@nuxt/**',
'@nuxtjs/**',
'@nuxt{/,}**',
'@nuxtjs{/,}**',
'pinia',
'@pinia/nuxt',
'@bg-dev/nuxt-naiveui',
Expand All @@ -53,35 +53,44 @@
'@vee-validate/zod',
'zod',
'ufo',
'unstorage',
],
groupName: 'nuxt',
},
{
matchPackageNames: [
'vue',
'@vue/**',
'@vue{/,}**',
'vue-**',
'unplugin-vue-components',
'@vueuse/core',
'@vueuse{/,}**',
'@he-tree/vue',
'@tailwindcss/forms',
'@tailwindcss/typography',
'@tailwindcss{/,}**',
'tailwindcss',
'@yaireo/tagify',
],
groupName: 'vue',
},
{ matchPackageNames: ['prisma', '@prisma/**'], groupName: 'prisma' },
{ matchPackageNames: ['@azure/**'], groupName: 'azure' },
{ matchPackageNames: ['lucia', '@lucia-auth/**'], groupName: 'lucia' },
{ matchPackageNames: ['prisma', '@prisma{/,}**'], groupName: 'prisma' },
{ matchPackageNames: ['@azure{/,}**'], groupName: 'azure' },
{ matchPackageNames: ['lucia', '@lucia-auth{/,}**'], groupName: 'lucia' },
{
matchPackageNames: ['@vitest**', 'vitest', 'vitest-**'],
matchPackageNames: ['@vitest{/,}**', 'vitest', 'vitest-**'],
groupName: 'vitest',
},
{
matchPackageNames: ['storybook', '@storybook/**', 'chromatic'],
matchPackageNames: [
'storybook',
'@storybook{/,}**',
'storybook-**',
'chromatic',
],
groupName: 'storybook',
},
{
matchPackageNames: ['concurrently', 'cross-env', 'npm-run-all', 'pnpm'],
groupName: 'tools',
},
{
matchManagers: ['docker-compose', 'dockerfile'],
groupName: 'docker',
Expand Down

0 comments on commit f35ac19

Please sign in to comment.