chelnak / gh-changelog

A gh cli extension that will make your changelogs ✨
MIT License
110 stars 4 forks source link

Refactor builder & changelog in to pkg #101

Closed chelnak closed 1 year ago

chelnak commented 1 year ago

This commit moves builder in to it's own public package. Additionally the builder package has also been refactored.

The previous builder pattern has been dropped in favour of a standard options pattern.

Also methods have been broken down as much as possible with the hope that it will increase readability and help reduce duplication in the future.

Additionally, changelog has also been moved in to it's own public package. The code remains largely untouched.

Tests have also been updated, along with mocks, to reflect the new structure.