Bläddra i källkod

build: fix changelog feat type bug

shijia.me 2 år sedan
förälder
incheckning
72169a18fa
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      scripts/changelog.js

+ 3 - 1
scripts/changelog.js

@@ -17,6 +17,7 @@ const COMPONENT_LIST = [
     'button',
     'calendar',
     'card',
+    'carousel',
     'cascader',
     'checkbox',
     'collapse',
@@ -32,6 +33,7 @@ const COMPONENT_LIST = [
     'icon',
     'input',
     'inputNumber',
+    'image',
     'layout',
     'list',
     'localeProvider',
@@ -76,7 +78,7 @@ const TYPE_MAP = {
     styles: 'style',
 };
 
-const SUPPORT_TYPES = new Set(['feature', 'performance', 'style', 'new component', 'chore', 'docs', 'fix', 'refactor', 'breaking change', 'design token']);
+const SUPPORT_TYPES = new Set(['feat', 'feature', 'performance', 'style', 'new component', 'chore', 'docs', 'fix', 'refactor', 'breaking change', 'design token']);
 
 const UNKNOWN_COMPONENT_NAME = 'Other';
 const UNKNOWN_TYPE_NAME = 'chore';