From d6ea4c28e06957ba5ff7cae7dc6b60e49dd6d294 Mon Sep 17 00:00:00 2001 From: hunghg255 Date: Mon, 21 Oct 2024 17:04:37 +0700 Subject: [PATCH] docs: update --- scripts/changeLog.json | 152 +++++++++++++++++++++++++++++++++++- scripts/changelog.ts | 10 +-- scripts/contributions.json | 155 +++++++++++++++++++------------------ scripts/extensions.json | 111 +++++++++++++------------- 4 files changed, 296 insertions(+), 132 deletions(-) diff --git a/scripts/changeLog.json b/scripts/changeLog.json index 3f32d13..d34ff93 100644 --- a/scripts/changeLog.json +++ b/scripts/changeLog.json @@ -1,9 +1,159 @@ [ + { + "hash": "d486299d2d23c1a07b9656153d9138c70540aec4", + "date": "Sun Oct 20 14:08:26 2024 +0700", + "message": "chore: release v0.0.53", + "refs": "HEAD -> main, tag: v0.0.53, origin/main", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.53" + }, + { + "hash": "463d88148ef982965c060ac98c95bf867981dbe4", + "date": "Sun Oct 20 13:45:57 2024 +0700", + "message": "chore: release v0.0.52", + "refs": "tag: v0.0.52", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.52" + }, + { + "hash": "0ee6f3f406477ee50f256f087029d0deb0b22241", + "date": "Sun Oct 20 13:45:28 2024 +0700", + "message": "fix: codeblock", + "refs": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "functions": [ + "CodeBlockActiveButton" + ] + }, + { + "hash": "016a1504861c0522123eb8484c260a642fd177ce", + "date": "Sun Oct 20 13:24:43 2024 +0700", + "message": "chore: release v0.0.51", + "refs": "tag: v0.0.51", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.51" + }, + { + "hash": "1eacdd3eb9368265a42e5f2f270ec3836a0df9ed", + "date": "Sun Oct 20 13:14:13 2024 +0700", + "message": "chore: release v0.0.51", + "refs": "", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.51" + }, + { + "hash": "48ed570ba95698e257b5045a95c74c6c495a84b7", + "date": "Sun Oct 20 12:58:25 2024 +0700", + "message": "feat: add extension mermaid", + "refs": "origin/feat-mermaid", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "functions": [ + "index.md", + "Image", + "ImageGif", + "Mermaid", + "EditMermaidBlock", + "MermaidActiveButton", + "NodeViewMermaid", + "index" + ] + }, + { + "hash": "5ed1ac5fd5ae3d9c68c4587af89d3a63e0cb7f6b", + "date": "Thu Oct 17 00:33:06 2024 +0700", + "message": "chore: release v0.0.50", + "refs": "tag: v0.0.50", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.50" + }, + { + "hash": "96ebd68db62253e0ef1e3e5a289b614eaf2b290d", + "date": "Thu Oct 17 00:09:29 2024 +0700", + "message": "chore: release v0.0.49", + "refs": "tag: v0.0.49", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.49" + }, + { + "hash": "6809a966472f73a5dbf526d510c80ae8c7aef85f", + "date": "Thu Oct 17 00:06:45 2024 +0700", + "message": "feat: add crop image upload", + "refs": "origin/update-extension-image, update-extension-image", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "functions": [ + "EmojiPicker", + "ImageGifActionButton", + "ImageCropper", + "ImageUploader", + "KatexActiveButton", + "LinkEditPopover", + "CreateTablePopover", + "TextAlignMenuButton", + "TextDirectionButton" + ] + }, + { + "hash": "03c8cbca20869595018acb678e46a745e4f3b18a", + "date": "Sat Oct 12 01:19:04 2024 +0700", + "message": "chore: release v0.0.48", + "refs": "tag: v0.0.48", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.48" + }, + { + "hash": "f44069b073a3c2521442d216fc1468b13931f3d3", + "date": "Wed Oct 9 17:02:38 2024 +0700", + "message": "chore: release v0.0.47", + "refs": "tag: v0.0.47", + "body": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "version": "v0.0.47" + }, + { + "hash": "bfe055671e5b584b8fc283ec55092d8dc0778048", + "date": "Wed Oct 9 16:59:34 2024 +0700", + "message": "feat: show limit charactor", + "refs": "origin/show-limit, show-limit", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "functions": [ + "BaseKit" + ] + }, + { + "hash": "5829bf32d28fe4502291646fddf5445bbcc6e91f", + "date": "Wed Oct 9 14:14:26 2024 +0700", + "message": "docs: update changelog", + "refs": "", + "author_name": "hunghg255", + "author_email": "giahunghust@gmail.com", + "functions": [ + "extensions.json" + ] + }, { "hash": "0fa5b53f75dd21a9f1b5130dc3bf2e6022925715", "date": "Wed Oct 9 13:55:57 2024 +0700", "message": "chore: release v0.0.46", - "refs": "HEAD -> main, tag: v0.0.46, origin/main", + "refs": "tag: v0.0.46", "body": "", "author_name": "hunghg255", "author_email": "giahunghust@gmail.com", diff --git a/scripts/changelog.ts b/scripts/changelog.ts index 9b10fb1..6ced45a 100644 --- a/scripts/changelog.ts +++ b/scripts/changelog.ts @@ -49,11 +49,11 @@ export async function getChangeLog(count = 200) { }) const logs = r.filter((i) => { - return i.message.includes('chore: release') - || i.message.includes('!') - || i.message.startsWith('feat') - || i.message.startsWith('fix') - || i.message.startsWith('docs') + return `${i.message}`.includes('chore: release') + || `${i.message}`.includes('!') + || `${i.message}`.startsWith('feat') + || `${i.message}`.startsWith('fix') + || `${i.message}`.startsWith('docs') }) as CommitInfo[] for (const log of logs) { diff --git a/scripts/contributions.json b/scripts/contributions.json index cd32f45..3aa205c 100644 --- a/scripts/contributions.json +++ b/scripts/contributions.json @@ -2,7 +2,7 @@ "BaseKit.ts": [ { "name": "hunghg255", - "count": 4, + "count": 5, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { @@ -23,16 +23,16 @@ "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], - "BulletList.ts": [ + "Bold.ts": [ { - "name": "hunghg255", + "name": "Condor Hero", "count": 2, - "hash": "3732f6a5b9cdd33a2f401844e7daf029" + "hash": "0953cda44390f22b04619b9647311c0b" }, { - "name": "Condor Hero", - "count": 1, - "hash": "0953cda44390f22b04619b9647311c0b" + "name": "hunghg255", + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { "name": "hunghg255", @@ -57,17 +57,17 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "Bold.ts": [ - { - "name": "Condor Hero", - "count": 2, - "hash": "0953cda44390f22b04619b9647311c0b" - }, + "BulletList.ts": [ { "name": "hunghg255", "count": 2, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, + { + "name": "Condor Hero", + "count": 1, + "hash": "0953cda44390f22b04619b9647311c0b" + }, { "name": "hunghg255", "count": 1, @@ -171,7 +171,7 @@ "ExportPdf.ts": [ { "name": "hunghg255", - "count": 1, + "count": 2, "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], @@ -182,6 +182,23 @@ "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], + "FontFamily.ts": [ + { + "name": "Condor Hero", + "count": 2, + "hash": "0953cda44390f22b04619b9647311c0b" + }, + { + "name": "hunghg255", + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" + }, + { + "name": "hunghg255", + "count": 1, + "hash": "147f1cfa51786ab49717622c44dddf11" + } + ], "FontSize.ts": [ { "name": "Condor Hero", @@ -274,23 +291,6 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "FontFamily.ts": [ - { - "name": "Condor Hero", - "count": 2, - "hash": "0953cda44390f22b04619b9647311c0b" - }, - { - "name": "hunghg255", - "count": 2, - "hash": "3732f6a5b9cdd33a2f401844e7daf029" - }, - { - "name": "hunghg255", - "count": 1, - "hash": "147f1cfa51786ab49717622c44dddf11" - } - ], "Iframe.ts": [ { "name": "hunghg255", @@ -311,7 +311,7 @@ "Image.ts": [ { "name": "hunghg255", - "count": 2, + "count": 3, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { @@ -323,7 +323,7 @@ "ImageGif.ts": [ { "name": "hunghg255", - "count": 1, + "count": 2, "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], @@ -368,6 +368,23 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], + "Italic.ts": [ + { + "name": "Condor Hero", + "count": 2, + "hash": "0953cda44390f22b04619b9647311c0b" + }, + { + "name": "hunghg255", + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" + }, + { + "name": "hunghg255", + "count": 1, + "hash": "147f1cfa51786ab49717622c44dddf11" + } + ], "Katex.ts": [ { "name": "hunghg255", @@ -375,15 +392,15 @@ "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], - "Italic.ts": [ + "LineHeight.ts": [ { "name": "Condor Hero", - "count": 2, + "count": 1, "hash": "0953cda44390f22b04619b9647311c0b" }, { "name": "hunghg255", - "count": 2, + "count": 1, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { @@ -409,12 +426,7 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "LineHeight.ts": [ - { - "name": "Condor Hero", - "count": 1, - "hash": "0953cda44390f22b04619b9647311c0b" - }, + "ListItem.ts": [ { "name": "hunghg255", "count": 1, @@ -426,16 +438,18 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "ListItem.ts": [ + "Mention.ts": [ { "name": "hunghg255", "count": 1, "hash": "3732f6a5b9cdd33a2f401844e7daf029" - }, + } + ], + "Mermaid.ts": [ { "name": "hunghg255", - "count": 1, - "hash": "147f1cfa51786ab49717622c44dddf11" + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], "MoreMark.ts": [ @@ -450,6 +464,13 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], + "MultiColumn.ts": [ + { + "name": "hunghg255", + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" + } + ], "OrderedList.ts": [ { "name": "hunghg255", @@ -467,17 +488,10 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "Mention.ts": [ - { - "name": "hunghg255", - "count": 1, - "hash": "3732f6a5b9cdd33a2f401844e7daf029" - } - ], "SearchAndReplace.ts": [ { "name": "hunghg255", - "count": 1, + "count": 2, "hash": "3732f6a5b9cdd33a2f401844e7daf029" } ], @@ -510,15 +524,15 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "Subscript.ts": [ + "Strike.ts": [ { "name": "Condor Hero", - "count": 1, + "count": 2, "hash": "0953cda44390f22b04619b9647311c0b" }, { "name": "hunghg255", - "count": 1, + "count": 2, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { @@ -527,15 +541,15 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "Strike.ts": [ + "Subscript.ts": [ { "name": "Condor Hero", - "count": 2, + "count": 1, "hash": "0953cda44390f22b04619b9647311c0b" }, { "name": "hunghg255", - "count": 2, + "count": 1, "hash": "3732f6a5b9cdd33a2f401844e7daf029" }, { @@ -544,13 +558,6 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "MultiColumn.ts": [ - { - "name": "hunghg255", - "count": 2, - "hash": "3732f6a5b9cdd33a2f401844e7daf029" - } - ], "Table.ts": [ { "name": "hunghg255", @@ -606,6 +613,13 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], + "TextDirection.ts": [ + { + "name": "hunghg255", + "count": 2, + "hash": "3732f6a5b9cdd33a2f401844e7daf029" + } + ], "TrailingNode.ts": [ { "name": "hunghg255", @@ -631,13 +645,6 @@ "hash": "147f1cfa51786ab49717622c44dddf11" } ], - "TextDirection.ts": [ - { - "name": "hunghg255", - "count": 2, - "hash": "3732f6a5b9cdd33a2f401844e7daf029" - } - ], "VideoUpload.ts": [ { "name": "Condor Hero", diff --git a/scripts/extensions.json b/scripts/extensions.json index fa42445..682c4dd 100644 --- a/scripts/extensions.json +++ b/scripts/extensions.json @@ -14,10 +14,10 @@ ] }, { - "name": "BulletList.ts", - "package": "BulletList", + "name": "Bold.ts", + "package": "Bold", "alias": [ - "BulletList" + "Bold" ] }, { @@ -28,10 +28,10 @@ ] }, { - "name": "Bold.ts", - "package": "Bold", + "name": "BulletList.ts", + "package": "BulletList", "alias": [ - "Bold" + "BulletList" ] }, { @@ -111,6 +111,13 @@ "ExportWord" ] }, + { + "name": "FontFamily.ts", + "package": "FontFamily", + "alias": [ + "FontFamily" + ] + }, { "name": "FontSize.ts", "package": "FontSize", @@ -153,13 +160,6 @@ "HorizontalRule" ] }, - { - "name": "FontFamily.ts", - "package": "FontFamily", - "alias": [ - "FontFamily" - ] - }, { "name": "Iframe.ts", "package": "Iframe", @@ -209,6 +209,13 @@ "Indent" ] }, + { + "name": "Italic.ts", + "package": "Italic", + "alias": [ + "Italic" + ] + }, { "name": "Katex.ts", "package": "Katex", @@ -217,10 +224,10 @@ ] }, { - "name": "Italic.ts", - "package": "Italic", + "name": "LineHeight.ts", + "package": "LineHeight", "alias": [ - "Italic" + "LineHeight" ] }, { @@ -231,17 +238,24 @@ ] }, { - "name": "LineHeight.ts", - "package": "LineHeight", + "name": "ListItem.ts", + "package": "ListItem", "alias": [ - "LineHeight" + "ListItem" ] }, { - "name": "ListItem.ts", - "package": "ListItem", + "name": "Mention.ts", + "package": "Mention", "alias": [ - "ListItem" + "Mention" + ] + }, + { + "name": "Mermaid.ts", + "package": "Mermaid", + "alias": [ + "Mermaid" ] }, { @@ -252,17 +266,24 @@ ] }, { - "name": "OrderedList.ts", - "package": "OrderedList", + "name": "MultiColumn.ts", + "package": "MultiColumn", "alias": [ - "OrderedList" + "Column" ] }, { - "name": "Mention.ts", - "package": "Mention", + "name": "MultiColumn.ts", + "package": "MultiColumn", "alias": [ - "Mention" + "MultiColumn" + ] + }, + { + "name": "OrderedList.ts", + "package": "OrderedList", + "alias": [ + "OrderedList" ] }, { @@ -300,13 +321,6 @@ "types" ] }, - { - "name": "Subscript.ts", - "package": "Subscript", - "alias": [ - "Subscript" - ] - }, { "name": "Strike.ts", "package": "Strike", @@ -315,17 +329,10 @@ ] }, { - "name": "MultiColumn.ts", - "package": "MultiColumn", - "alias": [ - "Column" - ] - }, - { - "name": "MultiColumn.ts", - "package": "MultiColumn", + "name": "Subscript.ts", + "package": "Subscript", "alias": [ - "MultiColumn" + "Subscript" ] }, { @@ -370,6 +377,13 @@ "TextBubble" ] }, + { + "name": "TextDirection.ts", + "package": "TextDirection", + "alias": [ + "TextDirection" + ] + }, { "name": "TrailingNode.ts", "package": "TrailingNode", @@ -391,13 +405,6 @@ "Video" ] }, - { - "name": "TextDirection.ts", - "package": "TextDirection", - "alias": [ - "TextDirection" - ] - }, { "name": "VideoUpload.ts", "package": "VideoUpload",