Update renovate config to ignore major updates to react

This commit is contained in:
Bill Thornton 2022-08-05 10:29:32 -04:00
parent d54dd1b85c
commit 78abde05aa
3 changed files with 14 additions and 8 deletions

18
.github/renovate.json vendored
View File

@ -1,7 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>jellyfin/.github//renovate-presets/nodejs",
":semanticCommitsDisabled"
]
}
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>jellyfin/.github//renovate-presets/nodejs", ":semanticCommitsDisabled"],
"packageRules": [
{
"description": "Disable major updates for React",
"matchPackagePrefixes": ["react"],
"matchPackageNames": ["@types/react", "@types/react-helmet", "@types/react-router-dom"],
"matchUpdateTypes": "major",
"enabled": false
}
]
}

View File

@ -4,4 +4,4 @@
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none"
}
}

View File

@ -63,4 +63,4 @@
"typescript": "4.7.4",
"typescript-plugin-css-modules": "3.4.0"
}
}
}