generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): split package rules out by language (#137)
* Break out JS/TS into own config * Break out Java into own config * Break out Python into own config * Break out GH Actions into own config * Rename Javascript rules file
- Loading branch information
1 parent
47ce935
commit 30a938f
Showing
5 changed files
with
160 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"groupName": "github actions all dependencies", | ||
"groupSlug": "github actions all", | ||
"matchManagers": [ | ||
"github-actions" | ||
], | ||
"matchUpdateTypes": [ | ||
"major", | ||
"minor", | ||
"patch", | ||
"pin", | ||
"pinDigest", | ||
"digest", | ||
"lockFileMaintenance", | ||
"rollback", | ||
"bump", | ||
"replacement" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"groupName": "maven all non-major dependencies", | ||
"groupSlug": "maven all-minor-patch", | ||
"matchManagers": [ | ||
"maven" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch", | ||
"lockFileMaintenance" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": "Group vite", | ||
"groupName": "vite", | ||
"matchPackagePatterns": [ | ||
"^vite$", | ||
"^@vitejs\\/" | ||
] | ||
}, | ||
{ | ||
"description": "Group linters", | ||
"groupName": "linters", | ||
"matchPackagePatterns": [ | ||
"eslint", | ||
"^@prettier\\/", | ||
"^prettier-plugin-" | ||
] | ||
}, | ||
{ | ||
"description": "Group @angular", | ||
"groupName": "angular", | ||
"matchPackagePatterns": [ | ||
"^@angular\\/", | ||
"^@angular-" | ||
] | ||
}, | ||
{ | ||
"description": "Group aws-amplify", | ||
"groupName": "aws-amplify", | ||
"matchPackagePatterns": [ | ||
"^@aws-amplify\\/", | ||
"^aws-amplify" | ||
] | ||
}, | ||
{ | ||
"description": "Group @testing-library", | ||
"groupName": "testing-library", | ||
"matchPackagePatterns": [ | ||
"^@testing-library\\/" | ||
] | ||
}, | ||
{ | ||
"description": "Group @nestjs", | ||
"groupName": "nestjs", | ||
"matchPackagePatterns": [ | ||
"^@nestjs\\/", | ||
"nestjs-", | ||
"nest-winston", | ||
"reflect-metadata" | ||
] | ||
}, | ||
{ | ||
"description": "Group @mui", | ||
"groupName": "mui", | ||
"matchPackagePatterns": [ | ||
"^@mui\\/" | ||
] | ||
}, | ||
{ | ||
"description": "Group redux", | ||
"groupName": "redux", | ||
"matchPackagePatterns": [ | ||
"^@redux-devtools\\/", | ||
"redux", | ||
"react-redux", | ||
"redux-thunk" | ||
] | ||
}, | ||
{ | ||
"description": "JS - block eslint9", | ||
"enabled": false, | ||
"groupName": "eslint9", | ||
"matchManagers": [ | ||
"npm" | ||
], | ||
"matchPackagePatterns": [ | ||
"eslint" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": "Group boto", | ||
"groupName": "boto", | ||
"matchPackagePatterns": [ | ||
"^boto3$", | ||
"^botocore$" | ||
] | ||
}, | ||
{ | ||
"description": "Group pytest", | ||
"groupName": "pytest", | ||
"matchPackagePatterns": [ | ||
"^pytest$", | ||
"^pytest-" | ||
] | ||
}, | ||
{ | ||
"description": "Group sqlalchemy", | ||
"groupName": "sqlalchemy", | ||
"matchPackagePatterns": [ | ||
"^sqlalchemy$", | ||
"^sqlmodel$", | ||
"^sqlacodegen$", | ||
"^mock-alchemy$" | ||
] | ||
} | ||
] | ||
} |