diff --git a/lib/config/presets/internal/config.ts b/lib/config/presets/internal/config.ts index 973954bb621bb63b655d8041d1d2797a759d1aee..d3f829422fa237c1e5d8bf3e7bd764f17d190294 100644 --- a/lib/config/presets/internal/config.ts +++ b/lib/config/presets/internal/config.ts @@ -17,7 +17,6 @@ export const presets: Record<string, Preset> = { ':prConcurrentLimit20', 'group:monorepos', 'group:recommended', - 'helpers:disableTypesNodeMajor', 'workarounds:all', ], }, diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index 64f276438d7e93b9734ea57af45bee2a5f9589a0..7b7bf2a87d7d597910fa47d415f0fec3bc2fafc9 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -9,6 +9,7 @@ export const presets: Record<string, Preset> = { 'workarounds:mavenCommonsAncientVersion', 'workarounds:ignoreSpringCloudNumeric', 'workarounds:ignoreHttp4sDigestMilestones', + 'workarounds:typesNodeVersioning', ], }, mavenCommonsAncientVersion: { @@ -42,4 +43,14 @@ export const presets: Record<string, Preset> = { }, ], }, + typesNodeVersioning: { + description: 'Use node versioning for @types/node', + packageRules: [ + { + matchManagers: ['npm'], + matchPackageNames: ['@types/node'], + versioning: `node`, + }, + ], + }, };