mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-01 14:38:47 +00:00
3 files changed
+16
-15
No files matched your search
@@ -13,19 +13,21 @@ type(category): description [flag]
|
||||
The `type` must be one of the followings:
|
||||
|
||||
* `breaking` (Breaking Changes)
|
||||
* `build` (Build System)
|
||||
* `ci` (Continuous Integration)
|
||||
* `chore` (Chores)
|
||||
* `deps` (Dependencies)
|
||||
* `docs` (Documentation Changes)
|
||||
* `feat` (New Features)
|
||||
* `fix` (Bug Fixes)
|
||||
* `other` (Other Changes)
|
||||
* `revert` (Reverts)
|
||||
* `perf` (Performance Improvements)
|
||||
* `refactor` (Refactors)
|
||||
* `revert` (Reverts)
|
||||
* `deps` (Dependencies)
|
||||
* `docs` (Documentation Changes)
|
||||
* `style` (Code Style Changes)
|
||||
* `build` (Build System)
|
||||
* `ci` (Continuous Integration)
|
||||
* `test` (Tests)
|
||||
* `chore` (Chores)
|
||||
* `other` (Other Changes)
|
||||
|
||||
> The changelogs will be in the same order as listed above.
|
||||
|
||||
> If the `type` is not found in the list, it'll be considered as `other`.
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ export async function generate(input: InputI): Promise<string> {
|
||||
|
||||
return Object.values(TYPES)
|
||||
.filter((type) => !exclude.includes(type))
|
||||
.sort()
|
||||
.reduce((changelog, type) => {
|
||||
const typeGroup = commits[type];
|
||||
|
||||
|
||||
+7
-7
@@ -6,19 +6,19 @@ export const PR_REGEX = /#([1-9]\d*)/g;
|
||||
|
||||
export const TYPES: TypesI = {
|
||||
breaking: "Breaking Changes",
|
||||
build: "Build System",
|
||||
ci: "Continuous Integration",
|
||||
chore: "Chores",
|
||||
deps: "Dependencies",
|
||||
docs: "Documentation Changes",
|
||||
feat: "New Features",
|
||||
fix: "Bug Fixes",
|
||||
other: "Other Changes",
|
||||
revert: "Reverts",
|
||||
perf: "Performance Improvements",
|
||||
refactor: "Refactors",
|
||||
revert: "Reverts",
|
||||
deps: "Dependencies",
|
||||
docs: "Documentation Changes",
|
||||
style: "Code Style Changes",
|
||||
build: "Build System",
|
||||
ci: "Continuous Integration",
|
||||
test: "Tests",
|
||||
chore: "Chores",
|
||||
other: "Other Changes",
|
||||
};
|
||||
|
||||
export interface TypesI {
|
||||
|
||||
Reference in new issue
Block a user