Skip to content

Commit

Permalink
chore(renovate): no major bumps of ESM-only pkgs
Browse files Browse the repository at this point in the history
This creates a list in the Renovate config which exempts ESM-only packages from major upgrades.

Such packages will _mostly_ fail as long as we are _mostly_ a CJS codebase; we can upgrade majors manually otherwise.
  • Loading branch information
boneskull authored and legobeat committed Jan 29, 2024
1 parent e3e31f7 commit 37a1cc0
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/renovate.json5
Expand Up @@ -9,5 +9,43 @@
':semanticCommits', // use semantic commits
'group:linters', // group lint-related packages together
],
packageRules: [
{
// as long as we use CJS, everything owned by @sindresorhus should be in this list
matchPackageNames: [
'@types/wrap-ansi',
'chalk',
'conf',
'del',
'delay',
'env-paths',
'execa',
'figures',
'find-up',
'get-port',
'get-stream',
'globby',
'got',
'inquirer',
'log-symbols',
'open',
'ora',
'p-ify',
'p-limit',
'p-retry',
'pkg-dir',
'read-pkg',
'strip-ansi',
'supports-color',
'term-size',
'terminal-link',
'vinyl-paths',
'wrap-ansi',
'write-pkg',
],
matchUpdateTypes: ['major'],
enabled: false,
},
],
transitiveRemediation: true,
}

0 comments on commit 37a1cc0

Please sign in to comment.