mirror of
https://github.com/yanhao98/renovate-example.git
synced 2025-07-13 04:30:48 +08:00
在 default.json5 中添加对 primevue 和 prettier 的包规则
This commit is contained in:
@ -25,10 +25,16 @@
|
||||
// It's easier to deal with all the Vite plugins at once when Vite ships a new major version
|
||||
{ "groupName": "vite packages", "extends": ["packages:vite"] },
|
||||
|
||||
{ "groupName": "primevue packages", "matchPackageNames": [ "/^primevue/", "/^@prime/" ] },
|
||||
|
||||
// TypeScript doesn't follow semver, so we need to separate minor and patch updates
|
||||
// <https://www.semver-ts.org/1-background.html>
|
||||
{ "groupName": "typescript", "matchDepNames": ["typescript"], "separateMinorPatch": true, "separateMultipleMinor": true },
|
||||
|
||||
// Prettier, when used as a devDependency to format code, should be pinned.
|
||||
// SemVer only applies to its API, not its formatting behavior.
|
||||
{ "matchDepNames": ["prettier"], "matchDepTypes": ["devDependencies"], "groupName": "prettier", "rangeStrategy": "pin" },
|
||||
|
||||
// Minor releases for v0.x packages may contain breaking changes
|
||||
{ "groupName": "v0.x", "matchCurrentVersion": "/^0./", "separateMinorPatch": true },
|
||||
|
||||
|
Reference in New Issue
Block a user