Skip to content

Commit

Permalink
chore: renovate group config
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Sep 25, 2024
1 parent 1242834 commit d997ada
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .changeset/violet-islands-sniff.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@modern-js/runtime': minor
'@modern-js/server-core': minor
'@modern-js/runtime': patch
'@modern-js/server-core': patch
---

feat: support <NoSSRCache> Component, only use ssr.mode='string'
Expand Down
98 changes: 68 additions & 30 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,83 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "schedule:weekly"],
"ignorePaths": ["**/tests/**", "**/node_modules/**"],
"packageRules": [
// Use chore as semantic commit type for commit messages
packageRules: [
// ignore all major update
{
"matchPackagePatterns": ["*"],
"semanticCommitType": "chore",
// always bump package.json
"rangeStrategy": "bump"
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"groupName": "rsbuild",
"matchPackageNames": ["@rsbuild/**"],
"groupSlug": "rsbuild"
"matchPackageNames": [
"@rspress/**",
],
"groupName": "rspress monorepo",
"groupSlug": "rspress",
},
{
"groupName": "rspress",
"matchPackageNames": ["@rspress/**"],
"groupSlug": "rspress"
"matchPackageNames": [
"@rsbuild/**",
],
"groupName": "rsbuild monorepo",
"groupSlug": "rsbuild",
},
{
"groupName": "codesmith",
"matchPackageNames": ["@modern-js/codesmith", "@modern-js/codesmith-**"],
"groupSlug": "codesmith"
"matchPackageNames": [
"@rsdoctor/**",
],
"groupName": "rsdoctor monorepo",
"groupSlug": "rsdoctor",
},
{
"groupName": "reduck",
"matchPackageNames": ["@modern-js-reduck/**"],
"groupSlug": "reduck"
"matchPackageNames": [
"@modern-js-reduck/**",
],
"groupName": "reduck monorepo",
"groupSlug": "reduck",
},
{
"groupName": "types",
"matchPackageNames": ["^@types/**"],
"groupSlug": "types"
"matchPackageNames": [
"@modern-js/codesmith",
"@modern-js/codesmith-**",
],
"groupName": "codesmith monorepo",
"groupSlug": "codesmith",
},
{
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["patch"]
"matchPackageNames": [
"@remix-run/**",
],
"groupName": "remix monorepo",
"groupSlug": "remix",
},
// manually update peer dependencies
{
"depTypeList": ["peerDependencies"],
"enabled": false
}
"matchPackageNames": [
"@changesets/**",
],
"groupName": "changesets monorepo",
"groupSlug": "changesets",
},
{
"matchPackageNames": [
"@loadable/**",
],
"groupName": "loadable monorepo",
"groupSlug": "loadable",
},
{
"groupName": "types",
"matchPackageNames": [
"@types/**",
],
"groupSlug": "types",
},
{
"matchPackageNames": [
"actions/**",
],
"groupName": "actions",
"groupSlug": "actions",
},
],
"ignoreDeps": [
// manually update some packages
Expand All @@ -62,6 +95,11 @@
"@types/node",
"node",
// server core hono dependency can not bump
"hono"
"hono",
"@types/history",
"history",
"@types/lru-cache",
"@types/testing-library__jest-dom",
"pkg-up"
]
}

0 comments on commit d997ada

Please sign in to comment.