Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
const fs = require("fs");
const path = require("path");

const main_template = fs
.readFileSync(
path.resolve(__dirname, ".release-it", "conventional-changelog-template.hbs")
)
.toString();

const commits_template = fs
.readFileSync(
path.resolve(__dirname, ".release-it", "conventional-changelog-commit.hbs")
Expand Down Expand Up @@ -42,6 +48,7 @@ module.exports = {
],
},
writerOpts: {
mainTemplate: main_template,
commitPartial: commits_template,
},
},
Expand Down
3 changes: 3 additions & 0 deletions .release-it/conventional-changelog-commit.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

<br>

*{{#if scope}} **{{scope}}:**
{{~/if}} {{#if subject}}
{{~subject}}
Expand Down
26 changes: 26 additions & 0 deletions .release-it/conventional-changelog-template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{> header}}

{{#if noteGroups}}
{{#each noteGroups}}

### ⚠ {{title}}

{{#each notes}}
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
{{/each}}
{{/each}}
{{/if}}
{{#each commitGroups}}

{{#if title}}
### {{title}}

{{/if}}
{{#each commits}}
{{> commit root=@root}}
{{/each}}

{{/each}}

<br>
<br>
27 changes: 21 additions & 6 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@

* **pat tooltip tests:** Add numbers to test cases so that they can be esier run selectively by filtering. ([72611af](https://github.com/Patternslib/patterns/commit/72611afe0953939e4ac81bac74a9706628e5c520))

* **pat tooltip tests:** Restore all mocks completly after each test run. ([8edba74](https://github.com/Patternslib/patterns/commit/8edba744c9ece324b83db12ccfb4a429cc56e3e5))## [7.4.0](https://github.com/Patternslib/patterns/compare/7.3.0...7.4.0) (2022-03-24)
* **pat tooltip tests:** Restore all mocks completly after each test run. ([8edba74](https://github.com/Patternslib/patterns/commit/8edba744c9ece324b83db12ccfb4a429cc56e3e5))


## [7.4.0](https://github.com/Patternslib/patterns/compare/7.3.0...7.4.0) (2022-03-24)


### Features
Expand Down Expand Up @@ -72,7 +75,10 @@

* **pat inject:** Un-underscore pat-inject. ([584420c](https://github.com/Patternslib/patterns/commit/584420ce5f77b1afaa0c84cee11d1dc36b133b88))

* **pat navigation:** Remove console.log statement from tests. ([a20fbd4](https://github.com/Patternslib/patterns/commit/a20fbd4c051d6f619f33a5af2d219c560653e7a3))## [7.3.0](https://github.com/Patternslib/patterns/compare/7.2.0...7.3.0) (2022-03-17)
* **pat navigation:** Remove console.log statement from tests. ([a20fbd4](https://github.com/Patternslib/patterns/commit/a20fbd4c051d6f619f33a5af2d219c560653e7a3))


## [7.3.0](https://github.com/Patternslib/patterns/compare/7.2.0...7.3.0) (2022-03-17)


### Features
Expand All @@ -95,7 +101,10 @@

### Maintenance

* **pat bumper:** Minor code cleanup. ([edfec61](https://github.com/Patternslib/patterns/commit/edfec619e7c54786b5a82914dce8efaf7fd2c3c8))## [7.2.0](https://github.com/Patternslib/patterns/compare/7.1.3...7.2.0) (2022-03-16)
* **pat bumper:** Minor code cleanup. ([edfec61](https://github.com/Patternslib/patterns/commit/edfec619e7c54786b5a82914dce8efaf7fd2c3c8))


## [7.2.0](https://github.com/Patternslib/patterns/compare/7.1.3...7.2.0) (2022-03-16)


### Features
Expand Down Expand Up @@ -132,7 +141,10 @@ This change is made for these reasons:

* **pat tabs:** Update import for get_css_value. ([ce50044](https://github.com/Patternslib/patterns/commit/ce500448d87358f86ee7be9833301afa0577c7cc))

* **tests:** Add an IntersectionObserver mock for testing. ([8e84d0f](https://github.com/Patternslib/patterns/commit/8e84d0fc63e04e1d044e23546543c6cdc67f5927))### [7.1.3](https://github.com/Patternslib/patterns/compare/7.1.2...7.1.3) (2022-03-14)
* **tests:** Add an IntersectionObserver mock for testing. ([8e84d0f](https://github.com/Patternslib/patterns/commit/8e84d0fc63e04e1d044e23546543c6cdc67f5927))


### [7.1.3](https://github.com/Patternslib/patterns/compare/7.1.2...7.1.3) (2022-03-14)


### Bug Fixes
Expand All @@ -143,7 +155,10 @@ This change is made for these reasons:

### Maintenance

* Upgrade dependencies. ([c0206d1](https://github.com/Patternslib/patterns/commit/c0206d18767042d3b29f472fc744eb5c67c655a3))### [7.1.2](https://github.com/Patternslib/patterns/compare/7.1.1...7.1.2) (2022-03-14)
* Upgrade dependencies. ([c0206d1](https://github.com/Patternslib/patterns/commit/c0206d18767042d3b29f472fc744eb5c67c655a3))


### [7.1.2](https://github.com/Patternslib/patterns/compare/7.1.1...7.1.2) (2022-03-14)


### Bug Fixes
Expand Down Expand Up @@ -2012,4 +2027,4 @@ The CSS id selector is defined by an optional URL fragment in the pre-configured

## 1.0.0 - Released January 28, 2013

- First official release.
- First official release.