Home

Awesome

conventional-changelog Angular preset for BitBucket repositories

See convention.

Issues with the convention itself should be reported on the angular issue tracker.

<!--[RM_BADGES]-->

NPM Version semantic-release Coverage Status Dependencies status Dev-dependencies status Commitizen friendly

<!--[]-->

Why does this exist?

The conventional-changelog-angular preset assumes that the repository is hosted on GitHub, but it will still work (with limited functionality) for non-GitHub repositories.

This preset aims to produce a changelog that contains the correct formatting and links for BitBucket.

Differences to conventional-changelog-angular

<!--[RM_INSTALL]-->

Install

npm install conventional-changelog-angular-bitbucket --save-dev
<!--[]-->

Usage

  1. Install the package in the project which will use it.
  2. Set the preset to angular-bitbucket:
const changelog = require('conventional-changelog');
changelog({preset: 'angular-bitbucket'});

Usage with corp-semantic-release

{
  "repository": {
    "type": "git",
    "url": "https://bitbucket.host.com/org/repo.git"
  },
  "bugs": {
    "url": "https://some.url/issues"
  },
  "scripts": {
    "semantic-release": "corp-semantic-release --changelogpreset angular-bitbucket"
  },
  "devDependencies": {
    "conventional-changelog-angular-bitbucket": "*",
    "corp-semantic-release": "6.2.0"
  }
}

<!--[RM_CONTRIBUTING]-->

Contributing

See CONTRIBUTING.md.

<!--[]--> <!--[RM_LICENSE]-->

License

This software is licensed under the MIT Licence. See LICENSE.

<!--[]-->

Thanks

Thanks to stevemao who wrote conventional-changelog-angular.