Skip to content

Commit 19c1770

Browse files
committed
Configure renovate to always create Jest PR and exclude other dependencies
1 parent cb6a241 commit 19c1770

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

backend/catalog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "tsc",
1010
"test": "jest",
1111
"setup": "./scripts/setup.sh",
12-
"renovate:jest": "echo 'Creating Jest v30 pull request...' && cd /workspaces/gitpodflix-demo && RENOVATE_TOKEN=$GH_CLI_TOKEN renovate --platform=github gitpod-samples/gitpodflix-demo"
12+
"renovate:jest": "echo 'Creating Jest v30 pull request...' && cd /workspaces/gitpodflix-demo && RENOVATE_TOKEN=$GH_CLI_TOKEN renovate --platform=github --recreate-when=always gitpod-samples/gitpodflix-demo"
1313
},
1414
"dependencies": {
1515
"express": "^4.18.2",

renovate.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@
66
"packageRules": [
77
{
88
"matchPackageNames": ["jest", "@types/jest"],
9-
"enabled": true
9+
"enabled": true,
10+
"recreateWhen": "always"
11+
},
12+
{
13+
"matchPackageNames": ["*"],
14+
"excludePackageNames": ["jest", "@types/jest"],
15+
"enabled": false
1016
}
1117
],
1218
"prConcurrentLimit": 0,
1319
"prHourlyLimit": 0,
14-
"branchConcurrentLimit": 0
20+
"branchConcurrentLimit": 0,
21+
"recreateWhen": "always"
1522
}

0 commit comments

Comments
 (0)