An open API service indexing awesome lists of open source software.

https://github.com/visualdiffer/conventional-changelog-visualdiffer

conventional changelog visualdiffer preset
https://github.com/visualdiffer/conventional-changelog-visualdiffer

Last synced: 12 days ago
JSON representation

conventional changelog visualdiffer preset

Awesome Lists containing this project

README

          

# conventional-changelog-visualdiffer

[conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) [visualdiffer](https://github.com/visualdiffer/visualdiffer) preset.

## Installation

```bash
npm install -g conventional-changelog-cli \
/absolute/path/to/conventional-changelog-visualdiffer
```

## Usage

```bash
npx conventional-changelog -p visualdiffer -c context.json
```

### `context.json`

The `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"]` |

```json
{
"host": "https://github.com",
"owner": "visualdiffer",
"repository": "visualdiffer",
"appVersion": "1.2.3-alpha05",
"excludeTypes": [
"chore",
"ci",
"build",
"style"
]
}

```