Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings reported by renovate-config-validator #55

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions groupAwsCdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
{
"extends": ["schedule:monthly"],
"groupName": "@aws-cdk packages",
"matchPackagePatterns": ["aws-cdk", "aws-cdk-lib", "aws-cdk-local"],
"minimumReleaseAge": "10 days"
"minimumReleaseAge": "10 days",
"matchPackageNames": [
"/aws-cdk/",
"/aws-cdk-lib/",
"/aws-cdk-local/"
]
}
]
}
4 changes: 2 additions & 2 deletions groupAwsSdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{
"extends": ["schedule:monthly"],
"groupName": "@aws-sdk packages",
"matchPackagePatterns": ["@aws-sdk", "@types/aws"],
"minimumReleaseAge": "10 days"
"minimumReleaseAge": "10 days",
"matchPackageNames": ["/@aws-sdk/", "/@types/aws/"]
}
]
}
4 changes: 2 additions & 2 deletions groupBoto3AwsCli.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{
"extends": ["schedule:monthly"],
"groupName": "boto3 / awscli",
"matchPackagePatterns": ["awscli", "boto3", "botocore"],
"minimumReleaseAge": "10 days"
"minimumReleaseAge": "10 days",
"matchPackageNames": ["/awscli/", "/boto3/", "/botocore/"]
}
]
}
20 changes: 10 additions & 10 deletions groupEslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
{
"extends": ["schedule:monthly"],
"groupName": "eslint packages",
"matchPackagePatterns": [
"@eslint/*",
"@typescript-eslint/*",
"eslint",
"eslint-*",
"prettier",
"prettier-*",
"typescript-eslint"
],
"minimumReleaseAge": "10 days"
"minimumReleaseAge": "10 days",
"matchPackageNames": [
"/@eslint/*/",
"/@typescript-eslint/*/",
"/eslint/",
"/eslint-*/",
"/prettier/",
"/prettier-*/",
"/typescript-eslint/"
]
}
]
}
9 changes: 5 additions & 4 deletions groupJest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
{
"extends": ["schedule:monthly"],
"groupName": "Jest packages",
"matchPackagePrefixes": ["@types/jest-", "jest-"],
"matchPackageNames": [
"@types/jest",
"ts-jest",
"@types/supertest",
"supertest"
],
"matchPackagePatterns": ["@cucumber/*"]
"supertest",
"@types/jest-{/,}**",
"jest-{/,}**",
"/@cucumber/*/"
]
}
]
}
2 changes: 1 addition & 1 deletion groupJsonwebtoken.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "jsonwebtoken packages",
"matchPackagePatterns": ["@types/jsonwebtoken", "jsonwebtoken"]
"matchPackageNames": ["/@types/jsonwebtoken/", "/jsonwebtoken/"]
}
]
}
2 changes: 1 addition & 1 deletion groupLodash.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "lodash packages",
"matchPackagePrefixes": ["lodash", "@types/lodash"]
"matchPackageNames": ["lodash{/,}**", "@types/lodash{/,}**"]
}
]
}
2 changes: 1 addition & 1 deletion groupMantine.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "@mantine packages",
"matchPackagePatterns": ["@mantine/*"]
"matchPackageNames": ["/@mantine/*/"]
}
]
}
4 changes: 2 additions & 2 deletions groupNodeFetch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"packageRules": [
{
"groupName": "node-fetch packages",
"matchPackagePatterns": ["@types/node-fetch", "node-fetch"],
"allowedVersions": "<3.0.0"
"allowedVersions": "<3.0.0",
"matchPackageNames": ["/@types/node-fetch/", "/node-fetch/"]
}
]
}
2 changes: 1 addition & 1 deletion groupPino.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "pino packages",
"matchPackagePrefixes": ["pino", "pino-"]
"matchPackageNames": ["pino{/,}**", "pino-{/,}**"]
}
]
}
7 changes: 5 additions & 2 deletions groupReact.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
"packageRules": [
{
"groupName": "React packages",
"matchPackagePrefixes": ["@types/react-", "react-"],
"matchPackageNames": ["@types/react"]
"matchPackageNames": [
"@types/react",
"@types/react-{/,}**",
"react-{/,}**"
]
}
]
}
2 changes: 1 addition & 1 deletion groupRollup.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "@rollup packages",
"matchPackagePrefixes": ["@rollup/"]
"matchPackageNames": ["@rollup/{/,}**"]
}
]
}
5 changes: 1 addition & 4 deletions groupSentry.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Group and schedule all sentry updates.",
"packageRules": [
{
"groupName": "@sentry",
"matchPackagePatterns": ["@sentry/*"]
}
{ "groupName": "@sentry", "matchPackageNames": ["/@sentry/*/"] }
]
}
3 changes: 1 addition & 2 deletions groupServerless.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Group and schedule all serverless related updates.",
"packageRules": [
{
"groupName": "serverless packages",
"matchPackagePatterns": ["serverless", "serverless-*"]
"matchPackageNames": ["/serverless/", "/serverless-*/"]
}
]
}
2 changes: 1 addition & 1 deletion groupSmithy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "smithy packages",
"matchPackagePrefixes": ["@smithy"]
"matchPackageNames": ["@smithy{/,}**"]
}
]
}
3 changes: 1 addition & 2 deletions groupStorybook.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"packageRules": [
{
"groupName": "Storybook packages",
"matchPackagePrefixes": ["@storybook/"],
"matchPackageNames": ["storybook"]
"matchPackageNames": ["storybook", "@storybook/{/,}**"]
}
]
}
2 changes: 1 addition & 1 deletion groupTestingLibrary.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageRules": [
{
"groupName": "@testing-library packages",
"matchPackagePrefixes": ["@testing-library/*"]
"matchPackageNames": ["@testing-library/*{/,}**"]
}
]
}
8 changes: 4 additions & 4 deletions groupVite.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"packageRules": [
{
"groupName": "vite packages",
"matchPackagePatterns": [
"@vitejs/plugin-react-swc",
"vite",
"vite-*"
"matchPackageNames": [
"/@vitejs/plugin-react-swc/",
"/vite/",
"/vite-*/"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"private": true,
"scripts": {
"lint": "prettier -c .",
"test": "renovate-config-validator group*.json default.json"
"test": "renovate-config-validator --strict group*.json default.json"
},
"devDependencies": {
"prettier": "3.3.3",
Expand Down