Skip to content

Commit

Permalink
ci(renovate.json): revamp dep logic, move file under .github
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Nov 3, 2023
1 parent 4b86a1c commit 3a3923f
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 29 deletions.
72 changes: 72 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"baseBranches": ["main"],
"branchPrefix": "deps/",
"dependencyDashboard": false,
"schedule": ["after 10pm every weekday"],
"packageRules": [
{
"groupSlug": "github-actions",
"matchPackagePatterns": ["^actions"]
},
{
"groupSlug": "monorepo-root",
"matchFileNames": ["package.json"]
},
{
"groupSlug": "eslint-config",
"matchPackageNames": ["@typescript-eslint/eslint-plugin", "@typescript-eslint/parser"],
"matchPackagePatterns": ["^eslint"]
},
{
"groupSlug": "testing-library",
"matchPackageNames": ["@types/testing-library__jest-dom"],
"matchPackagePatterns": ["^@testing-library/"]
},
{
"groupSlug": "jest",
"matchPackageNames": ["@types/jest", "eslint-plugin-jest-dom", "jest"],
"matchPackagePatterns": ["^jest/", "^jest-/"]
},
{
"groupSlug": "types",
"excludePackageNames": ["@types/jest", "@types/node", "@types/react", "@types/testing-library__jest-dom"],
"matchPackageNames": ["@types/*"]
},
{
"groupSlug": "storybook",
"matchPackageNames": ["storybook"],
"matchPackagePatterns": ["^@storybook/"]
},
{
"groupSlug": "react",
"matchPackageNames": ["@types/react", "@types/react-dom", "react", "react-dom"]
},
{
"groupSlug": "vite",
"matchPackageNames": ["vite"],
"matchPackagePatterns": ["^@vitejs/", "^@rollup/", "^vite"]
},
{
"groupSlug": "dependencies",
"matchDepTypes": ["dependencies"]
},
{
"groupSlug": "peer-dependencies",
"matchDepTypes": ["peerDependencies"]
},
{
"groupSlug": "dev-dependencies",
"matchDepTypes": ["devDependencies"]
},
{
"assignees": ["waldronmatt"],
"matchUpdateTypes": ["major"],
"reviewers": ["waldronmatt"]
}
],
"prHourlyLimit": 10,
"rangeStrategy": "pin",
"transitiveRemediation": true
}
29 changes: 0 additions & 29 deletions renovate.json

This file was deleted.

0 comments on commit 3a3923f

Please sign in to comment.