Skip to content

Commit

Permalink
chore(renovate): update package rules and simplify config
Browse files Browse the repository at this point in the history
- Simplify and reorganize package rules
- Adjust grouping and matching criteria for dependencies
- Add weekly schedule to recommended config
- Remove npm-specific configurations
  • Loading branch information
drichar committed Oct 19, 2024
1 parent 60961df commit 30ac891
Showing 1 changed file with 33 additions and 53 deletions.
86 changes: 33 additions & 53 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,70 +1,50 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"extends": ["config:recommended", "schedule:weekly"],
"dependencyDashboard": true,
"configMigration": true,
"timezone": "America/New_York",
"assignees": ["pbennett"],
"baseBranches": ["dev"],
"separateMultipleMajor": true,
"separateMajorMinor": true,
"separateMinorPatch": false,
"minimumReleaseAge": "3 days",
"ignorePaths": ["ui/.copier-answers.yml"],
"lockFileMaintenance": {
"enabled": true,
"schedule": "before 4am on Tuesday"
},
"packageRules": [
{
"groupName": "non-major dependencies",
"matchDepTypes": ["dependencies", "devDependencies"],
"matchUpdateTypes": ["patch", "minor"],
"matchPackageNames": ["!vitest", "!@vitest/**"]
},
{
"groupName": "Node Manager",
"matchFileNames": ["nodemgr/go.mod", "Dockerfile-nodemgr"],
"semanticCommitScope": "nodemgr"
},
{
"groupName": "UI",
"matchFileNames": ["ui/package.json"],
"matchDepTypes": ["dependencies", "devDependencies"],
"matchPackageNames": ["!vitest", "!@vitest/**"],
"assignees": ["drichar"],
"semanticCommitScope": "ui",
"rangeStrategy": "pin"
},
{
"groupName": "Vitest",
"matchPackageNames": ["vitest", "@vitest/**"]
},
{
"matchCategories": ["node"],
"enabled": false
},
{
"matchFileNames": ["nodemgr/go.mod", "Dockerfile-nodemgr"],
"groupName": "Node Manager",
"semanticCommitScope": "nodemgr",
"schedule": "before 4am on Monday"
"matchDepTypes": ["optionalDependencies", "peerDependencies", "engines"],
"enabled": false
}
],
"npm": {
"additionalBranchPrefix": "{{{parentDir}}}-",
"minimumReleaseAge": "3 days",
"lockFileMaintenance": {
"enabled": true,
"schedule": "on the 1st day of the month",
"semanticCommitScope": "deps",
"additionalBranchPrefix": ""
},
"packageRules": [
{
"matchDepTypes": ["dependencies", "devDependencies"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "non-major dependencies"
},
{
"matchDepTypes": ["devDependencies"],
"groupName": "ESLint/Prettier",
"matchPackageNames": ["/lint/", "/prettier/"]
},
{
"matchFileNames": ["contracts/bootstrap/package.json"],
"semanticCommitScope": "bootstrap"
},
{
"matchFileNames": ["ui/package.json"],
"assignees": ["drichar"],
"schedule": "on the 1st day of the month",
"semanticCommitScope": "ui",
"rangeStrategy": "pin"
},
{
"matchPackageNames": ["vitest", "@vitest/**"],
"groupName": "Vitest"
},
{
"matchDepTypes": [
"optionalDependencies",
"peerDependencies",
"engines"
],
"enabled": false
}
]
}
]
}

0 comments on commit 30ac891

Please sign in to comment.