Skip to content

Commit eb6f52f

Browse files
committed
Enable full automerge and expand CSS preprocessor grouping
1 parent 71f05eb commit eb6f52f

File tree

1 file changed

+26
-47
lines changed

1 file changed

+26
-47
lines changed

quiet.json5

Lines changed: 26 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -40,56 +40,16 @@
4040
},
4141
// Custom packages rules, which extend the configuration above
4242
"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)
4844
{
49-
"matchCurrentVersion": ">= 1.0.0",
5045
"matchDepTypes": [
5146
"devDependencies",
5247
"dependencies",
53-
"optionalDependencies"
48+
"optionalDependencies",
49+
"peerDependencies"
5450
],
5551
"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"
9353
},
9454
// Group types packages together
9555
{
@@ -125,16 +85,35 @@
12585
// Don't wait for the release age to pass for trusted packages
12686
"minimumReleaseAge": "0 days"
12787
},
128-
// Group CSS preprocessors together
88+
// Group CSS preprocessors and style pipeline packages together
12989
{
13090
"description": "Group CSS preprocessors",
13191
"matchPackagePatterns": [
13292
"^postcss",
133-
"^css"
93+
"^css",
94+
"^sass",
95+
"^less",
96+
"^styl"
13497
],
13598
"matchPackageNames": [
13699
"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"
138117
],
139118
"groupName": "CSS preprocessors"
140119
},

0 commit comments

Comments
 (0)