Skip to content

Commit

Permalink
chore(repo): Group all recommended monorepo upgrades (#4865)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekradko authored Jan 10, 2025
1 parent d5c4841 commit b18307c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 27 deletions.
24 changes: 8 additions & 16 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
// This file is automatically generated. Do not edit directly but run the "renovate-config-generator.mjs" script.
{
"extends": [
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":disablePeerDependencies",
":maintainLockFilesDisabled",
":label(dependencies)",
":dependencyDashboard",
":disablePeerDependencies",
":enableVulnerabilityAlerts",
":ignoreModulesAndTests",
":ignoreUnstable",
":label(dependencies)",
":maintainLockFilesDisabled",
":prImmediately",
":semanticPrefixFixDepsChoreOthers"
":semanticPrefixFixDepsChoreOthers",
":separateMajorReleases",
"group:monorepos",
"group:recommended"
],
"includePaths": [
"package.json",
Expand Down Expand Up @@ -1727,16 +1729,6 @@
],
"rangeStrategy": "bump"
},
{
"groupName": "React",
"matchPackageNames": [
"@types/react",
"@types/react-dom",
"react",
"react-dom"
],
"rangeStrategy": "bump"
},
{
"extends": [
"monorepo:remix"
Expand Down
19 changes: 8 additions & 11 deletions scripts/renovate-config-generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ const defaultRules = [
},
{
groupName: 'common TypeScript types',
matchPackageNames: ['@types/node', '@types/react', '@types/react-dom'],
rangeStrategy: 'bump',
},
{
groupName: 'React',
matchPackageNames: ['react', 'react-dom'],
matchPackageNames: ['@types/node'],
rangeStrategy: 'bump',
},
{
Expand Down Expand Up @@ -158,17 +153,19 @@ for (const pkg of packageNames) {

const renovateConfig = {
extends: [
':separateMajorReleases',
':combinePatchMinorReleases',
':ignoreUnstable',
':disablePeerDependencies',
':maintainLockFilesDisabled',
':label(dependencies)',
':dependencyDashboard',
':disablePeerDependencies',
':enableVulnerabilityAlerts',
':ignoreModulesAndTests',
':ignoreUnstable',
':label(dependencies)',
':maintainLockFilesDisabled',
':prImmediately',
':semanticPrefixFixDepsChoreOthers',
':separateMajorReleases',
'group:monorepos',
'group:recommended',
],
includePaths: ['package.json', 'packages/**', 'integration/templates/**'],
ignorePaths: ['**/node_modules/**', '.nvmrc'],
Expand Down

0 comments on commit b18307c

Please sign in to comment.