Skip to content

Commit

Permalink
chore: improve renovate config (#2504)
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 committed Aug 12, 2024
1 parent 9340815 commit 7737f80
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 33 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@vue/apollo-util": "4.0.0-beta.6",
"@vueuse/core": "10.11.0",
"@yaireo/tagify": "4.27.0",
"autoprefixer": "10.4.19",
"body-scroll-lock": "4.0.0-beta.0",
"cross-fetch": "4.0.0",
"graphql": "16.9.0",
Expand Down
29 changes: 13 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 21 additions & 16 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
'config:best-practices',
':semanticCommitTypeAll(chore)',
'schedule:monthly',
// Update lock files: https://docs.renovatebot.com/presets-default/#maintainlockfilesmonthly
':maintainLockFilesMonthly',
],
// Pin all dependencies: https://docs.renovatebot.com/dependency-pinning/
rangeStrategy: 'pin',
packageRules: [
{ matchPackagePatterns: ['*'], matchManagers: ['npm'] },
{ matchPackagePatterns: ['@types/**'], groupName: 'types' },
{
matchPackagePatterns: [
'graphql',
'@apollo/*',
'@graphql-tools/*',
'@apollo/**',
'@graphql-tools/**',
'@as-integrations/h3',
'graphql-*',
'@graphql-*',
'graphql-**',
'@graphql-**',
],
groupName: 'graphql',
},
{
matchPackagePatterns: ['@typescript-eslint/*', 'eslint', 'eslint-*'],
matchPackagePatterns: ['@typescript-eslint/**', 'eslint', 'eslint-**'],
groupName: 'eslint',
},
{
Expand All @@ -31,14 +34,15 @@
matchPackagePatterns: [
'nuxt',
'vite',
'nuxt-*',
'@nuxt/*',
'@nuxtjs/*',
'nuxt-**',
'@nuxt/**',
'@nuxtjs/**',
'pinia',
'@pinia/nuxt',
'@bg-dev/nuxt-naiveui',
'vee-validate',
'@vee-validate/nuxt',
'typescript',
'@vee-validate/zod',
'zod',
'ufo',
Expand All @@ -48,26 +52,27 @@
{
matchPackagePatterns: [
'vue',
'@vue/*',
'vue-*',
'@vue/**',
'vue-**',
'unplugin-vue-components',
'@vueuse/core',
'@he-tree/vue',
'@tailwindcss/forms',
'@tailwindcss/typography',
'tailwindcss',
'@yaireo/tagify',
],
groupName: 'vue',
},
{ matchPackagePatterns: ['prisma', '@prisma/*'], groupName: 'prisma' },
{ matchPackagePatterns: ['@types/*'], groupName: 'types' },
{ matchPackagePatterns: ['@azure/*'], groupName: 'azure' },
{ matchPackagePatterns: ['lucia', '@lucia-auth/*'], groupName: 'lucia' },
{ matchPackagePatterns: ['prisma', '@prisma/**'], groupName: 'prisma' },
{ matchPackagePatterns: ['@azure/**'], groupName: 'azure' },
{ matchPackagePatterns: ['lucia', '@lucia-auth/**'], groupName: 'lucia' },
{
matchPackagePatterns: ['@vitest*', 'vitest', 'vitest-*'],
matchPackagePatterns: ['@vitest**', 'vitest', 'vitest-**'],
groupName: 'vitest',
},
{
matchPackagePatterns: ['storybook', '@storybook/*', 'chromatic'],
matchPackagePatterns: ['storybook', '@storybook/**', 'chromatic'],
groupName: 'storybook',
},
],
Expand Down

0 comments on commit 7737f80

Please sign in to comment.