|
40 | 40 | }, |
41 | 41 | // Custom packages rules, which extend the configuration above |
42 | 42 | "packageRules": [ |
43 | | - // Automerge all minor and patch updates to all dependencies |
44 | | - // UNLESS the version number is less than 1.0.0 in which case |
45 | | - // We can't be sure if the bump is effectively major |
46 | | - // Also don't automerge major updates (overridden for some dependencies below) |
47 | | - // @TODO review this one, simplify with testing and linting |
| 43 | + // Automerge all dependency updates (major, minor, and patch) |
48 | 44 | { |
49 | | - "matchCurrentVersion": ">= 1.0.0", |
50 | 45 | "matchDepTypes": [ |
51 | 46 | "devDependencies", |
52 | 47 | "dependencies", |
53 | | - "optionalDependencies" |
| 48 | + "optionalDependencies", |
| 49 | + "peerDependencies" |
54 | 50 | ], |
55 | 51 | "automerge": true, |
56 | | - "automergeType": "pr", |
57 | | - "major": { |
58 | | - "automerge": false |
59 | | - } |
60 | | - }, |
61 | | - // Always automerge test and linting tools |
62 | | - // Regardless of whether they're major or minor updates |
63 | | - // @TODO: review this one, consider branch merges (no PRs) |
64 | | - { |
65 | | - "description": "Automerge test and linting tools", |
66 | | - "extends": [ |
67 | | - "packages:linters", |
68 | | - "packages:jsTest" |
69 | | - ], |
70 | | - "matchPackageNames": [ |
71 | | - "c8", |
72 | | - "eslint-plugin-ghost", |
73 | | - "grunt", |
74 | | - "nock", |
75 | | - "nodemon", |
76 | | - "rewire", |
77 | | - "supertest", |
78 | | - "tmp" |
79 | | - ], |
80 | | - "automerge": true |
81 | | - }, |
82 | | - // Don't automerge major bumps for @tryghost/ packages, gscan, or knex-migrator |
83 | | - // If you don't want renovate to automerge your changes, make them majors |
84 | | - { |
85 | | - "matchPackagePatterns": [ |
86 | | - "^@tryghost/.+", |
87 | | - "gscan", |
88 | | - "knex-migrator" |
89 | | - ], |
90 | | - "major": { |
91 | | - "automerge": false |
92 | | - } |
| 52 | + "automergeType": "pr" |
93 | 53 | }, |
94 | 54 | // Group types packages together |
95 | 55 | { |
|
125 | 85 | // Don't wait for the release age to pass for trusted packages |
126 | 86 | "minimumReleaseAge": "0 days" |
127 | 87 | }, |
128 | | - // Group CSS preprocessors together |
| 88 | + // Group CSS preprocessors and style pipeline packages together |
129 | 89 | { |
130 | 90 | "description": "Group CSS preprocessors", |
131 | 91 | "matchPackagePatterns": [ |
132 | 92 | "^postcss", |
133 | | - "^css" |
| 93 | + "^css", |
| 94 | + "^sass", |
| 95 | + "^less", |
| 96 | + "^styl" |
134 | 97 | ], |
135 | 98 | "matchPackageNames": [ |
136 | 99 | "autoprefixer", |
137 | | - "ember-cli-postcss" |
| 100 | + "cssnano", |
| 101 | + "postcss", |
| 102 | + "postcss-cli", |
| 103 | + "postcss-import", |
| 104 | + "postcss-custom-media", |
| 105 | + "postcss-custom-properties", |
| 106 | + "postcss-color-mod-function", |
| 107 | + "postcss-easy-import", |
| 108 | + "ember-cli-postcss", |
| 109 | + "gulp-postcss", |
| 110 | + "sass", |
| 111 | + "node-sass", |
| 112 | + "sass-embedded", |
| 113 | + "less", |
| 114 | + "stylus", |
| 115 | + "stylelint", |
| 116 | + "tailwindcss" |
138 | 117 | ], |
139 | 118 | "groupName": "CSS preprocessors" |
140 | 119 | }, |
|
0 commit comments