Skip to content

Commit

Permalink
docs(semver): update preset customization section
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Dec 22, 2023
1 parent e36ede0 commit 8d5ea7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ You can also add your custom types, for example:
> [!NOTE]
> When customizing a preset it will implicitly use the [conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-conventionalcommits) preset and override the default settings with the given configuration.
It is possible to customize any preset by passing its name:
It is possible to customize any preset by passing its name.

```jsonc
{
"executor": "@jscutlery/semver:version",
"options": {
"preset": {
"name": "angular" /* ⬅️ */,
"name": "angular" /* ⬅️ Here */,
"types": [
{ "type": "feat", "section": "✨ Features" },
{ "type": "fix", "section": "🐞 Bug Fixes" }
Expand Down

0 comments on commit 8d5ea7d

Please sign in to comment.