Make renovate ignore peer deps and have package to support all current majors

This commit is contained in:
Philipp Petzold 2024-04-30 13:00:17 +02:00
parent 21bfd99d7f
commit 57ea1a52da
2 changed files with 13 additions and 14 deletions

View File

@ -61,10 +61,10 @@
"lodash": "^4.17.21"
},
"peerDependencies": {
"@nestjs/common": "^10.3.8",
"@nestjs/swagger": "^7.3.0",
"express": "^4.19.2",
"fastify": "^4.26.2",
"@nestjs/common": "^10.0.0",
"@nestjs/swagger": "^7.0.0",
"express": "^4.0.0",
"fastify": "^4.0.0",
"typeorm": "^0.3.17"
},
"jest": {
@ -80,7 +80,9 @@
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"setupFiles": ["<rootDir>/../jest.setup.ts"]
"setupFiles": [
"<rootDir>/../jest.setup.ts"
]
},
"repository": {
"type": "git",

View File

@ -1,19 +1,16 @@
{
"$schema": "http://json.schemastore.org/renovate",
"extends": [
"config:base"
],
"extends": ["config:base"],
"updateLockFiles": true,
"rangeStrategy": "bump",
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
{
"depTypeList": ["peerDependencies"],
"ignoreDeps": ["*"]
}
]
}