conventional-changelog visualdiffer preset.
npm install -g conventional-changelog-cli \
/absolute/path/to/conventional-changelog-visualdiffernpx conventional-changelog -p visualdiffer -c context.jsonThe context.json file defines repository metadata and controls how commit data is processed.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
host |
string |
✅ | Identical to the host property used by conventional-changelog |
"https://github.com" |
owner |
string |
✅ | Identical to the owner property used by conventional-changelog |
"visualdiffer" |
repository |
string |
✅ | Identical to the repository property used by conventional-changelog |
"visualdiffer" |
appVersion |
string |
❌ | Application version associated with the output, if not present the version property will be used |
"1.2.3-alpha.5" |
excludedTypes |
string[] |
❌ | List of Conventional Commit types to exclude from the generated output | ["chore", "ci", "build", "style"] |
{
"host": "https://github.com",
"owner": "visualdiffer",
"repository": "visualdiffer",
"appVersion": "1.2.3-alpha05",
"excludeTypes": [
"chore",
"ci",
"build",
"style"
]
}