From 6f5a07f960f3d6bbb091c26e69647535a4b21837 Mon Sep 17 00:00:00 2001 From: tackchen Date: Thu, 31 Mar 2022 10:04:41 +0800 Subject: [PATCH] feat: 3.0.6 --- helper/build-npm.js | 4 +++- helper/version.md | 7 ++++++- package.json | 2 +- src/cnchar-types/package.json | 4 ++-- src/cnchar/alias/cnchar-all/index.d.ts | 7 +++++++ 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/dict/spell-default.json | 3 ++- 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/dict/polyphone-phrase-simple.json | 3 ++- src/cnchar/plugin/poly/package.json | 4 ++-- src/cnchar/plugin/radical/package.json | 4 ++-- src/cnchar/plugin/trad/index.d.ts | 1 - src/cnchar/plugin/trad/package.json | 4 ++-- src/cnchar/plugin/xhy/package.json | 4 ++-- 20 files changed, 46 insertions(+), 31 deletions(-) diff --git a/helper/build-npm.js b/helper/build-npm.js index fecef55..95da371 100644 --- a/helper/build-npm.js +++ b/helper/build-npm.js @@ -80,7 +80,9 @@ function copyToNPM () { gulp.src(['src/cnchar/main/index.d.ts']) .pipe(gulp.dest('npm/packages/cnchar')) - .pipe(gulp.dest('npm/packages/hanzi-util-base')) + .pipe(gulp.dest('npm/packages/hanzi-util-base')); + + gulp.src(['src/cnchar/alias/cnchar-all/index.d.ts']) .pipe(gulp.dest('npm/packages/cnchar-all')) .pipe(gulp.dest('npm/packages/hanzi-util')); diff --git a/helper/version.md b/helper/version.md index 0f4b8ad..f5baa9a 100644 --- a/helper/version.md +++ b/helper/version.md @@ -154,4 +154,9 @@ ## 3.0.5 1. 增加 行长 多音词 2. 修正 柴 默认读音 增加 遏 多音字 -3. 增加 遝 溷 棨 襜 騑 字 \ No newline at end of file +3. 增加 遝 溷 棨 襜 騑 字 + +## 3.0.6 +1. 害子默认读音 +2. 否极泰来 词组 +3. 修复cnchar-all库声明文件 \ No newline at end of file diff --git a/package.json b/package.json index 262a28c..478facd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cnchar", - "version": "3.0.5", + "version": "3.0.6", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "index.html", "author": "theajack ", diff --git a/src/cnchar-types/package.json b/src/cnchar-types/package.json index 7be933c..fa65928 100644 --- a/src/cnchar-types/package.json +++ b/src/cnchar-types/package.json @@ -1,6 +1,6 @@ { "name": "cnchar-types", - "version": "3.0.5", + "version": "3.0.6", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "index.js", "scripts": {}, @@ -24,4 +24,4 @@ "url": "https://github.com/theajack/cnchar/issues" }, "homepage": "https://www.theajack.com/cnchar/" -} +} \ No newline at end of file diff --git a/src/cnchar/alias/cnchar-all/index.d.ts b/src/cnchar/alias/cnchar-all/index.d.ts index 8554f38..531a5d5 100644 --- a/src/cnchar/alias/cnchar-all/index.d.ts +++ b/src/cnchar/alias/cnchar-all/index.d.ts @@ -1,4 +1,11 @@ import {ICnChar} from 'cnchar-types/main/index'; +import 'cnchar-types/plugin/draw'; +import 'cnchar-types/plugin/idiom'; +import 'cnchar-types/plugin/order'; +import 'cnchar-types/plugin/poly'; +import 'cnchar-types/plugin/radical'; +import 'cnchar-types/plugin/trad'; +import 'cnchar-types/plugin/xhy'; declare const cnchar: ICnChar; diff --git a/src/cnchar/alias/cnchar-all/package.json b/src/cnchar/alias/cnchar-all/package.json index 1279b3b..f830fd1 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ 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 8a2d5ab..622408c 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ 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 b14942e..4127ac5 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/main/dict/spell-default.json b/src/cnchar/main/dict/spell-default.json index 4608bde..c4b0ac2 100644 --- a/src/cnchar/main/dict/spell-default.json +++ b/src/cnchar/main/dict/spell-default.json @@ -121,5 +121,6 @@ "唬": "hǔ", "铛": "dāng", "佃": "diàn", - "柴": "chái" + "柴": "chái", + "害": "hài" } \ No newline at end of file diff --git a/src/cnchar/main/package.json b/src/cnchar/main/package.json index cb70a31..35d28b2 100644 --- a/src/cnchar/main/package.json +++ b/src/cnchar/main/package.json @@ -1,6 +1,6 @@ { "name": "cnchar", - "version": "3.0.5", + "version": "3.0.6", "description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文", "main": "cnchar.min.js", "scripts": {}, @@ -27,6 +27,6 @@ }, "homepage": "https://www.theajack.com/cnchar/", "dependencies": { - "cnchar-types": "^3.0.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/main/version.ts b/src/cnchar/main/version.ts index b4fa1de..fba0884 100644 --- a/src/cnchar/main/version.ts +++ b/src/cnchar/main/version.ts @@ -1 +1 @@ -export default '3.0.5'; \ No newline at end of file +export default '3.0.6'; \ No newline at end of file diff --git a/src/cnchar/plugin/draw/package.json b/src/cnchar/plugin/draw/package.json index 30e8812..6cf4495 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/idiom/package.json b/src/cnchar/plugin/idiom/package.json index be73b21..3b55407 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/order/package.json b/src/cnchar/plugin/order/package.json index 1c33226..49215ef 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/poly/dict/polyphone-phrase-simple.json b/src/cnchar/plugin/poly/dict/polyphone-phrase-simple.json index ea5ce55..e131b77 100644 --- a/src/cnchar/plugin/poly/dict/polyphone-phrase-simple.json +++ b/src/cnchar/plugin/poly/dict/polyphone-phrase-simple.json @@ -3131,5 +3131,6 @@ "彷徨": "páng huáng", "雪茄": "xuě jiā", "倘若": "tǎng ruò", - "重来": "chóng lái" + "重来": "chóng lái", + "否极泰来": "pǐ jí tài lái" } \ No newline at end of file diff --git a/src/cnchar/plugin/poly/package.json b/src/cnchar/plugin/poly/package.json index 70df08c..31d2d40 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/radical/package.json b/src/cnchar/plugin/radical/package.json index a8530db..a20f324 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/trad/index.d.ts b/src/cnchar/plugin/trad/index.d.ts index 0dfe5f2..480bc4a 100644 --- a/src/cnchar/plugin/trad/index.d.ts +++ b/src/cnchar/plugin/trad/index.d.ts @@ -1,4 +1,3 @@ -import 'cnchar-types/plugin/trad/extend'; import {IInitTrad} from 'cnchar-types/plugin/trad'; declare const trad: IInitTrad; diff --git a/src/cnchar/plugin/trad/package.json b/src/cnchar/plugin/trad/package.json index 3d70347..c7248a4 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file diff --git a/src/cnchar/plugin/xhy/package.json b/src/cnchar/plugin/xhy/package.json index 5ea4aa2..f3032cd 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.5", + "version": "3.0.6", "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.5" + "cnchar-types": "^3.0.6" } } \ No newline at end of file