Skip to content

Commit

Permalink
fix!: composer.json and composer.lock have been removed from default …
Browse files Browse the repository at this point in the history
…package and bump files.

- No need to bump version for `composer` as it relies on VCS tag to infer version (#495)
- Closes #394

BREAKING CHANGE: `composer.json` and `composer.lock` will no longer be read from or bumped by default. If you need to obtain a version or write a version to these files, please use `bumpFiles` and/or `packageFiles` options accordingly.
  • Loading branch information
pvgnd authored and jbottigliero committed Jan 16, 2020
1 parent 0539dc9 commit c934f3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ defaults.header = '# Changelog\n\nAll notable changes to this project will be do
defaults.packageFiles = [
'package.json',
'bower.json',
'manifest.json',
'composer.json'
'manifest.json'
]

defaults.bumpFiles = defaults.packageFiles.concat([
'package-lock.json',
'npm-shrinkwrap.json',
'composer.lock'
'npm-shrinkwrap.json'
])

module.exports = defaults

0 comments on commit c934f3a

Please sign in to comment.