Skip to content

Commit

Permalink
Add missing entry kinds from keepachangelog
Browse files Browse the repository at this point in the history
  • Loading branch information
leoselig committed Aug 11, 2017
1 parent a04f0dc commit ca7a301
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog/next/2017-08-11T15:48:32.363Z_addition_all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dateTime: '2017-08-11T15:48:32.363Z'
component: all
kind: addition
description: >-
New entry kinds "Security", "Removed" & "Deprecated" from
[keepachangelog](http://keepachangelog.com/)
5 changes: 4 additions & 1 deletion src/templates/defaultTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import type {
const entryKindToReadable = {
change: 'Changed',
addition: 'Added',
fix: 'Fixed'
fix: 'Fixed',
security: 'Security',
removal: 'Removed',
deprecated: 'Deprecated'
};

export default function defaultTemplate(
Expand Down
2 changes: 1 addition & 1 deletion src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type VersionType = {
patch: number
};

export type EntryKindType = 'addition' | 'change' | 'fix';
export type EntryKindType = 'addition' | 'change' | 'fix' | 'security' | 'removal' | 'deprecated';

export type EntryType = {
component: ?string,
Expand Down

0 comments on commit ca7a301

Please sign in to comment.