|
17 | 17 | "ignoreDeps": [], |
18 | 18 | "labels": ["dependencies"], |
19 | 19 | "packageRules": [ |
20 | | - // 1) Pinned deps: isolate (OK to use separate* here because there's no matchUpdateTypes) |
21 | 20 | { |
22 | | - "description": "Isolate PRs for pinned deps (exact x.y.z)", |
| 21 | + "description": "Un-group tilde ranges", |
23 | 22 | "matchManagers": ["npm", "pnpm", "yarn", "bun"], |
24 | | - "matchCurrentValue": "^\\d+\\.\\d+\\.\\d+([+-][0-9A-Za-z.-]+)?$", |
| 23 | + "matchCurrentValue": "^~.*$", |
25 | 24 | "groupName": null, |
26 | | - "separateMinorPatch": true, |
27 | | - "separateMajorMinor": true |
| 25 | + "groupSlug": null, |
| 26 | + "separateMajorMinor": true, |
| 27 | + "separateMinorPatch": true |
28 | 28 | }, |
29 | | - // 2) Non-pinned deps: Patch versions, grouped together |
30 | 29 | { |
31 | | - "description": "Group patch versions together for non-pinned deps", |
| 30 | + "description": "Un-group pinned deps (exact x.y.z)", |
32 | 31 | "matchManagers": ["npm", "pnpm", "yarn", "bun"], |
33 | | - "matchCurrentValue": "/(^[~^]|[<>=| -])/", // anything that looks like a range |
34 | | - "groupName": "patch dependencies", |
35 | | - "matchUpdateTypes": ["patch"] |
| 32 | + "matchCurrentValue": "/^\\d+\\.\\d+\\.\\d+([+-][0-9A-Za-z.-]+)?$/", |
| 33 | + "groupName": null, |
| 34 | + "groupSlug": null, |
| 35 | + "separateMajorMinor": true, |
| 36 | + "separateMinorPatch": true |
| 37 | + }, |
| 38 | + { |
| 39 | + "description": "Un-group experimental caret ranges (^0.x)", |
| 40 | + "matchManagers": ["npm", "pnpm", "yarn", "bun"], |
| 41 | + "matchCurrentValue": "^\\^0\\.\\d+(\\.\\d+)?([+-][0-9A-Za-z.-]+)?$", |
| 42 | + "groupName": null, |
| 43 | + "separateMajorMinor": true, |
| 44 | + "separateMinorPatch": true |
| 45 | + }, |
| 46 | + { |
| 47 | + "description": "Group ^>=1 ranges for patch/minor", |
| 48 | + "matchManagers": ["npm", "pnpm", "yarn", "bun"], |
| 49 | + "matchCurrentValue": "/^\\^[1-9]+[0-9]*(\\.\\d+){0,2}([+-][0-9A-Za-z.-]+)?$/", |
| 50 | + "matchUpdateTypes": ["minor", "patch"], |
| 51 | + "groupName": "all non-major dependencies", |
| 52 | + "groupSlug": "all-non-major-dependencies" |
36 | 53 | } |
37 | 54 | ], |
38 | 55 | "postUpdateOptions": ["yarnDedupeHighest"], |
|
41 | 58 | "rangeStrategy": "bump", |
42 | 59 | "rebaseWhen": "conflicted", |
43 | 60 | "schedule": "on sunday before 6:00am", |
| 61 | + "separateMinorPatch": false, |
44 | 62 | "separateMajorMinor": true, |
45 | | - "separateMultipleMajor": true, |
46 | 63 | "timezone": "UTC" |
47 | 64 | } |
0 commit comments