Skip to content

Commit

Permalink
Merge pull request #60 from Adslot/package-rules
Browse files Browse the repository at this point in the history
chore: fix up package rules
  • Loading branch information
xiaofan2406 authored Sep 12, 2024
2 parents 38fefbb + 36eddc9 commit 92c9680
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 71 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: renovate-config-validator

on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: suzuki-shunsuke/[email protected]
with:
config_file_path: |
default.json
130 changes: 59 additions & 71 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,117 +27,105 @@
"enabled": false
},
{
"matchPackagePatterns": [
"eslint"
],
"groupName": "eslint",
"recreateClosed": false
},
{
"matchPackagePatterns": [
"stylelint"
],
"groupName": "stylelint",
"recreateClosed": false
},
{
"matchPackagePatterns": [
"redux"
"matchPackageNames": [
"@commitlint/**",
"chai",
"husky",
"lint-staged",
"mocha",
"nodemon",
"nyc",
"prettier",
"sinon",
"stylelint",
"supertest"
],
"groupName": "redux",
"recreateClosed": false
"groupName": "devDeps"
},
{
"matchPackagePatterns": [
"webpack"
"matchPackageNames": [
"@axe-core/**",
"@wdio/**",
"allure-commandline",
"axe-html-reporter",
"otpauth",
"webdriverio"
],
"groupName": "webpack",
"recreateClosed": false
"groupName": "e2e"
},
{
"matchPackagePatterns": [
"rollup"
"matchPackageNames": [
"axios"
],
"groupName": "rollup",
"recreateClosed": false
"groupName": "axios"
},
{
"matchPackagePatterns": [
"postcss"
"matchPackageNames": [
"draft-js",
"@draft-js/**"
],
"groupName": "postcss",
"recreateClosed": false
"groupName": "draft-js"
},
{
"matchPackagePatterns": [
"classnames"
"matchPackageNames": [
"eslint"
],
"groupName": "classnames",
"recreateClosed": false
"groupName": "eslint"
},
{
"matchPackagePatterns": [
"lodash"
"matchPackageNames": [
"jest"
],
"groupName": "lodash",
"recreateClosed": false
"groupName": "jest"
},
{
"matchPackagePatterns": [
"jest"
"matchPackageNames": [
"moment"
],
"groupName": "jest",
"recreateClosed": false
"groupName": "moment"
},
{
"matchPackagePatterns": [
"draft-js"
"matchPackageNames": [
"pino"
],
"groupName": "draft-js",
"recreateClosed": false
"groupName": "pino"
},
{
"matchPackagePatterns": [
"react-datepicker"
"matchPackageNames": [
"postcss"
],
"groupName": "react-datepicker",
"recreateClosed": false
"groupName": "postcss"
},
{
"matchPackagePatterns": [
"react-select"
"matchPackageNames": [
"redux"
],
"groupName": "react-select",
"recreateClosed": false
"groupName": "redux"
},
{
"matchPackagePatterns": [
"react-slick"
"matchPackageNames": [
"rollup"
],
"groupName": "react-slick",
"recreateClosed": false
"groupName": "rollup"
},
{
"matchPackagePatterns": [
"@testing-library"
"matchPackageNames": [
"@testing-library/**"
],
"groupName": "testing-library",
"recreateClosed": false
"groupName": "testing-library"
},
{
"matchPackagePatterns": [
"pino"
"matchPackageNames": [
"@types/**",
"typescript"
],
"groupName": "pino",
"recreateClosed": false
"groupName": "typescript"
},
{
"matchPackagePatterns": [
"@types",
"typescript"
"matchPackageNames": [
"webpack"
],
"groupName": "typescript",
"recreateClosed": false
"groupName": "webpack"
}
],
"prConcurrentLimit": 0,
Expand Down

0 comments on commit 92c9680

Please sign in to comment.