From 8a6d29f5283af24500f94f191a753920128ef0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 27 Feb 2025 11:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20default.json5=20=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9=20primevue=20=E5=92=8C=20prettier=20?= =?UTF-8?q?=E7=9A=84=E5=8C=85=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.json5 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/default.json5 b/default.json5 index 4afb9ad..a98284b 100644 --- a/default.json5 +++ b/default.json5 @@ -24,14 +24,20 @@ "packageRules": [ // 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 // { "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 }, - + { "groupName": "github-actions", "matchManagers": [ "github-actions" ] }, { "groupName": "Dockerfile", "matchManagers": [ "dockerfile" ] }, { "groupName": "types", "groupSlug": "types", "matchPackageNames": [ "/^@types//" ] },