From 53bab0c84de4fdd0b8bd1f3bb9f0f28c0d8b455f Mon Sep 17 00:00:00 2001 From: Michael Taranto Date: Tue, 16 Jan 2018 09:38:28 +1100 Subject: [PATCH] feat(default): Follow commitlint-config-seek conventions (#6) --- README.md | 6 +++--- package.json | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0a2d558..189fd08 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ # renovate-config-seek Shareable [Renovate](https://renovateapp.com) config for [SEEK](https://github.com/seek-oss). -Keep your internal SEEK packages evergreen by automatically generating pull requests when new versions are published. - -This preset extends `config:base`, so all of the usual Renovate defaults are applied. +This preset extends `config:base`, so all of the usual Renovate defaults are applied, but it also provides a couple of key benefits: +- By default, to reduce noise, only SEEK packages are automatically kept up to date, generating pull requests whenever new versions are published. +- Commit messages and pull request titles are specially formatted to follow our [commitlint-config-seek](https://github.com/seek-oss/commitlint-config-seek) conventions. **By default, this preset disables automatic package updates for all non-SEEK packages.** If you want to reintroduce standard Renovate behaviour for other packages, you'll need to use the ["enabled" option](https://renovateapp.com/docs/configuration-reference/configuration-options#enabled). diff --git a/package.json b/package.json index 8974deb..45e3746 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,9 @@ "lockFileMaintenance": { "enabled": false }, - "rebaseStalePrs": true, - "semanticCommits": true, + "semanticCommits": false, + "prTitle": "{{semanticCommitType}}({{semanticCommitScope}}): {{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} {{depName}} to {{#unless isRange}}v{{/unless}}{{#if isMajor}}{{newVersionMajor}}.x{{else}}{{newVersion}}{{/if}}", + "commitMessage": "{{semanticCommitType}}({{semanticCommitScope}}): Update {{depName}} to {{#unless isRange}}v{{/unless}}{{newVersion}}", "packageRules": [ { "packagePatterns": [ @@ -50,12 +51,12 @@ } }, "devDependencies": { - "@commitlint/cli": "^5.2.8", + "@commitlint/cli": "^6.0.2", "commitizen": "^2.9.6", "commitlint-config-seek": "^1.0.0", "cz-conventional-changelog": "^2.1.0", "husky": "^0.14.3", - "renovate": "10.46.0", + "renovate": "10.49.3", "semantic-release": "^11.0.2" } }