-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): 📝 add changelog.md generation to repository
Generate a changelog.md file from conventional commits. This allows the user to track changes easier.
- Loading branch information
Showing
2 changed files
with
118 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,125 @@ | ||
{ | ||
"branches": [ | ||
"main", | ||
"branches": [ | ||
"main", | ||
{ | ||
"name": "dev", | ||
"channel": "dev", | ||
"prerelease": "rc" | ||
} | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"name": "dev", | ||
"channel": "dev", | ||
"prerelease": "rc" | ||
} | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "perf", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "build", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "style", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "ci", | ||
"release": "minor" | ||
} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "perf", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "build", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "style", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "ci", | ||
"release": "minor" | ||
} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "style", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "ci", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "perf", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "build", | ||
"release": "patch" | ||
} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
}, | ||
"writerOpts": { | ||
"commitsSort": ["subject", "scope"] | ||
{ | ||
"type": "style", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "ci", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "perf", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "build", | ||
"release": "patch" | ||
} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
}, | ||
"writerOpts": { | ||
"commitsSort": [ | ||
"subject", | ||
"scope" | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/github" | ||
], | ||
["@semantic-release/git", { | ||
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" | ||
}] | ||
} | ||
], | ||
[ | ||
"@semantic-release/github" | ||
], | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}", | ||
"assets": [ | ||
"CHANGELOG.md" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |