Skip to content

Commit

Permalink
ci: Add renovate config (#35)
Browse files Browse the repository at this point in the history
Renovate is a popular tool in the JavaScript ecosystem that automates
dependency management and helps keep your project's dependencies up to
date. It is designed to work with package managers like npm, Yarn, and
others.

Renovate will open a PR when a package is updated, grouping them by the
rules defined in this PR.

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
  • Loading branch information
tylersmalley committed Jun 13, 2023
1 parent 2dd2047 commit 3eab8b5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:base'],
enabledManagers: ['npm'],
baseBranches: ['main'],
prConcurrentLimit: 0,
rangeStrategy: 'bump',
prHourlyLimit: 0,
packageRules: [
{
groupName: 'react',
matchPackagePatterns: ['^react', '.*react$'],
},
{
groupName: 'eslint',
matchPackagePatterns: ['^eslint', '^@typescript-eslint'],
},
{
groupName: 'typescript',
matchPackagePatterns: ['^typescript', '^@typescript'],
},
{
groupName: 'tailwindcss',
matchPackagePatterns: ['^tailwindcss', '^@tailwindcss', '.*tailwindcss$'],
},
{
groupName: 'webpack',
matchPackagePatterns: ['^webpack', '-loader$'],
},
{
groupName: 'vscode',
matchPackagePatterns: ['^@vscode', '^@types/vscode', '^vscode'],
},
],
}

0 comments on commit 3eab8b5

Please sign in to comment.