diff --git a/quiet.json5 b/quiet.json5 index 33b1546..ee50520 100644 --- a/quiet.json5 +++ b/quiet.json5 @@ -40,50 +40,53 @@ }, // Custom packages rules, which extend the configuration above "packageRules": [ - // Automerge all minor and patch updates to all dependencies - // UNLESS the version number is less than 1.0.0 in which case - // We can't be sure if the bump is effectively major - // Also don't automerge major updates (overridden for some dependencies below) - // @TODO review this one, simplify with testing and linting + // Automerge all dependency updates (major, minor, and patch) { - "matchCurrentVersion": ">= 1.0.0", "matchDepTypes": [ "devDependencies", "dependencies", - "optionalDependencies" + "optionalDependencies", + "peerDependencies", + "packageManager", + "action" ], "automerge": true, - "automergeType": "pr", - "major": { - "automerge": false - } + "automergeType": "pr" }, - // Always automerge test and linting tools - // Regardless of whether they're major or minor updates - // @TODO: review this one, consider branch merges (no PRs) + // Keep CSS/style pipeline updates out of automerge for manual review { - "description": "Automerge test and linting tools", - "extends": [ - "packages:linters", - "packages:jsTest" - ], + "description": "Do not automerge CSS preprocessors", "matchPackageNames": [ - "c8", - "eslint-plugin-ghost", - "grunt", - "nock", - "nodemon", - "rewire", - "supertest", - "tmp" + "/^postcss/", + "/^css/", + "/^sass/", + "/^less/", + "/^styl/", + "autoprefixer", + "cssnano", + "postcss", + "postcss-cli", + "postcss-import", + "postcss-custom-media", + "postcss-custom-properties", + "postcss-color-mod-function", + "postcss-easy-import", + "ember-cli-postcss", + "gulp-postcss", + "sass", + "node-sass", + "sass-embedded", + "less", + "stylus", + "stylelint", + "tailwindcss" ], - "automerge": true + "automerge": false }, // Don't automerge major bumps for @tryghost/ packages, gscan, or knex-migrator - // If you don't want renovate to automerge your changes, make them majors { - "matchPackagePatterns": [ - "^@tryghost/.+", + "matchPackageNames": [ + "/^@tryghost/.+/", "gscan", "knex-migrator" ],