From 325623a568d818dca83675ab97443259c92c36a1 Mon Sep 17 00:00:00 2001 From: tackchen Date: Wed, 20 Oct 2021 21:47:15 +0800 Subject: [PATCH] feat: v3.0.4 --- README.md | 2 +- local_test/test.config.js | 10 ++++++---- src/cnchar-types/package.json | 2 +- src/cnchar/alias/cnchar-all/package.json | 4 ++-- src/cnchar/alias/hanzi-util-base/package.json | 4 ++-- src/cnchar/alias/hanzi-util/package.json | 4 ++-- src/cnchar/main/package.json | 4 ++-- src/cnchar/main/version.ts | 2 +- src/cnchar/plugin/draw/package.json | 4 ++-- src/cnchar/plugin/idiom/package.json | 4 ++-- src/cnchar/plugin/order/package.json | 4 ++-- src/cnchar/plugin/poly/package.json | 4 ++-- src/cnchar/plugin/radical/package.json | 4 ++-- src/cnchar/plugin/trad/package.json | 4 ++-- src/cnchar/plugin/xhy/package.json | 4 ++-- 15 files changed, 31 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index c5d8c40..e8dbc87 100644 --- a/README.md +++ b/README.md @@ -1643,7 +1643,7 @@ cnchar.xhy.addXhy([ // 多条 ### 7.应用例子 -[汉字打字游戏](https://www.theajack.com/type/) +[汉字打字游戏](https://theajack.gitee.io/type/) | [打字弹钢琴](https://theajack.gitee.io/piano/) **致谢** diff --git a/local_test/test.config.js b/local_test/test.config.js index 52a2f54..a0d70fd 100644 --- a/local_test/test.config.js +++ b/local_test/test.config.js @@ -66,13 +66,15 @@ module.exports = [ ]; }, expect: [ + + ['j', 'slf'], [ - [{shape: '一', type: '平笔', foldCount: '0', name: '横'}], + [{'shape': '一', 'type': '平笔', 'foldCount': '0', 'name': '横', 'letter': 'j'}], [ - {shape: '丿', type: '平笔', foldCount: '0', name: '撇'}, - {shape: '㇏', type: '平笔', foldCount: '0', name: '捺'}, - {shape: '丨', type: '平笔', foldCount: '0', name: '竖'} + {'shape': '丿', 'type': '平笔', 'foldCount': '0', 'name': '撇', 'letter': 's'}, + {'shape': '㇏', 'type': '平笔', 'foldCount': '0', 'name': '捺', 'letter': 'l'}, + {'shape': '丨', 'type': '平笔', 'foldCount': '0', 'name': '竖', 'letter': 'f'} ] ], [['一'], ['丿', '㇏', '丨']], diff --git a/src/cnchar-types/package.json b/src/cnchar-types/package.json index ba57fbb..4e29c5f 100644 --- a/src/cnchar-types/package.json +++ b/src/cnchar-types/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-types", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "index.js", "scripts": {}, diff --git a/src/cnchar/alias/cnchar-all/package.json b/src/cnchar/alias/cnchar-all/package.json index da1e729..7a993ab 100644 --- a/src/cnchar/alias/cnchar-all/package.json +++ b/src/cnchar/alias/cnchar-all/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-all", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.all.min.js", "unpkg": "cnchar.all.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/alias/hanzi-util-base/package.json b/src/cnchar/alias/hanzi-util-base/package.json index 842b0ac..60c20c5 100644 --- a/src/cnchar/alias/hanzi-util-base/package.json +++ b/src/cnchar/alias/hanzi-util-base/package.json @@ -1,6 +1,6 @@ { "name": "hanzi-util-base", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "hanzi.base.min.js", "unpkg": "hanzi.base.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/alias/hanzi-util/package.json b/src/cnchar/alias/hanzi-util/package.json index c8b99f9..44bdb62 100644 --- a/src/cnchar/alias/hanzi-util/package.json +++ b/src/cnchar/alias/hanzi-util/package.json @@ -1,6 +1,6 @@ { "name": "hanzi-util", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "hanzi.util.min.js", "unpkg": "hanzi.util.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/main/package.json b/src/cnchar/main/package.json index f7147cf..62ac944 100644 --- a/src/cnchar/main/package.json +++ b/src/cnchar/main/package.json @@ -1,6 +1,6 @@ { "name": "cnchar", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.min.js", "scripts": {}, @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/main/version.ts b/src/cnchar/main/version.ts index 28813e5..3d9ac41 100644 --- a/src/cnchar/main/version.ts +++ b/src/cnchar/main/version.ts @@ -1 +1 @@ -export default '3.0.3'; \ No newline at end of file +export default '3.0.4'; \ No newline at end of file diff --git a/src/cnchar/plugin/draw/package.json b/src/cnchar/plugin/draw/package.json index 57b5ac8..d9621c7 100644 --- a/src/cnchar/plugin/draw/package.json +++ b/src/cnchar/plugin/draw/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-draw", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.draw.min.js", "unpkg": "cnchar.draw.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/idiom/package.json b/src/cnchar/plugin/idiom/package.json index 6618ea6..79b5b6f 100644 --- a/src/cnchar/plugin/idiom/package.json +++ b/src/cnchar/plugin/idiom/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-idiom", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.idiom.min.js", "unpkg": "cnchar.idiom.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/order/package.json b/src/cnchar/plugin/order/package.json index b2e57f1..b64f9c2 100644 --- a/src/cnchar/plugin/order/package.json +++ b/src/cnchar/plugin/order/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-order", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.order.min.js", "unpkg": "cnchar.order.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/poly/package.json b/src/cnchar/plugin/poly/package.json index 9fdf512..ddd5db9 100644 --- a/src/cnchar/plugin/poly/package.json +++ b/src/cnchar/plugin/poly/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-poly", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.poly.min.js", "unpkg": "cnchar.poly.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/radical/package.json b/src/cnchar/plugin/radical/package.json index 74d4e37..fafb8f9 100644 --- a/src/cnchar/plugin/radical/package.json +++ b/src/cnchar/plugin/radical/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-radical", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.radical.min.js", "unpkg": "cnchar.radical.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/trad/package.json b/src/cnchar/plugin/trad/package.json index 9bcea3b..40fa0af 100644 --- a/src/cnchar/plugin/trad/package.json +++ b/src/cnchar/plugin/trad/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-trad", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.trad.min.js", "unpkg": "cnchar.trad.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file diff --git a/src/cnchar/plugin/xhy/package.json b/src/cnchar/plugin/xhy/package.json index 61f90de..cb99af4 100644 --- a/src/cnchar/plugin/xhy/package.json +++ b/src/cnchar/plugin/xhy/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-xhy", - "version": "3.0.3", + "version": "3.0.4", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.xhy.min.js", "unpkg": "cnchar.xhy.min.js", @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.3" + "cnchar-types": "^3.0.4" } } \ No newline at end of file