Skip to content

Commit

Permalink
Making guesses
Browse files Browse the repository at this point in the history
  • Loading branch information
stanlemon committed Dec 19, 2024
1 parent a751c21 commit 5d6703f
Showing 1 changed file with 6 additions and 83 deletions.
89 changes: 6 additions & 83 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
extends: [
'config:recommended', // Core preset
':configMigration', // Migrate renovate configuration when necessary
':enablePreCommit', // Enable pre-commit hook updates
':combinePatchMinorReleases', // Combine patch and minor releases
':separateMultipleMajorReleases', // Handle major updates separately
'docker:pinDigests', // Pin Docker digests,
'group:monorepos', // Common monorepo groupings
'group:allNonMajor', // Group all non-major updates
'helpers:pinGitHubActionDigests',
],

// Set timezone to Indianapolis
Expand Down Expand Up @@ -103,99 +99,26 @@
// Special handling for major Node.js updates
groupName: 'nodejs updates',
matchPackageNames: [
'node',
'/(?:^|/)node$/',
],
matchDatasources: [
'docker',
'node-version',
'npm',
'nvm',
],
matchUpdateTypes: [
'major',
],
minimumReleaseAge: '9 months',
automerge: false,
},
{
// Disable non-major Node.js updates
groupName: 'nodejs updates',
matchPackageNames: [
'node',
],
matchDatasources: [
'docker',
'node-version',
'npm',
'nvm',
],
matchUpdateTypes: [
'minor',
'patch',
],
enabled: false,
},
{
// Update Node.js engines in package file
groupName: 'nodejs updates',
matchUpdateTypes: [
'major',
],
matchManagers: [
'npm',
],
matchDepTypes: [
'engines',
],
matchPackageNames: [
'node',
],
minimumReleaseAge: '9 months',
},
{
// Disable minor & patch updates for Node.js engines
matchUpdateTypes: [
'minor',
'patch',
],
matchManagers: [
'npm',
],
matchDepTypes: [
'dependencies',
'devDependencies',
'engines',
],
matchPackageNames: [
'node',
],
enabled: false,
},
{
// Update nodejs types
groupName: 'nodejs updates',
matchUpdateTypes: [
'major',
],
matchManagers: [
'npm',
],
matchPackageNames: [
'@types/node',
],
minimumReleaseAge: '9 months',
},
{
// Disable patch updates for nodejs types
matchUpdateTypes: [
'minor',
'patch',
],
matchManagers: [
'npm',
],
matchPackageNames: [
'@types/node',
],
enabled: false,
minimumReleaseAge: '9 months',
automerge: false,
},
],
}

0 comments on commit 5d6703f

Please sign in to comment.