Skip to content

Commit

Permalink
feat(default): Follow commitlint-config-seek conventions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Jan 15, 2018
1 parent 5bed7f5 commit 53bab0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
}
}

0 comments on commit 53bab0c

Please sign in to comment.