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

View File

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