Skip to content

Commit

Permalink
feat: 3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
theajack committed Mar 31, 2022
1 parent 3640b33 commit 6f5a07f
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 31 deletions.
4 changes: 3 additions & 1 deletion helper/build-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

Expand Down
7 changes: 6 additions & 1 deletion helper/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,9 @@
## 3.0.5
1. 增加 行长 多音词
2. 修正 柴 默认读音 增加 遏 多音字
3. 增加 遝 溷 棨 襜 騑 字
3. 增加 遝 溷 棨 襜 騑 字

## 3.0.6
1. 害子默认读音
2. 否极泰来 词组
3. 修复cnchar-all库声明文件
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cnchar",
"version": "3.0.5",
"version": "3.0.6",
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
"main": "index.html",
"author": "theajack <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions src/cnchar-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cnchar-types",
"version": "3.0.5",
"version": "3.0.6",
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
"main": "index.js",
"scripts": {},
Expand All @@ -24,4 +24,4 @@
"url": "https://github.com/theajack/cnchar/issues"
},
"homepage": "https://www.theajack.com/cnchar/"
}
}
7 changes: 7 additions & 0 deletions src/cnchar/alias/cnchar-all/index.d.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/cnchar/alias/cnchar-all/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/alias/hanzi-util-base/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/alias/hanzi-util/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
3 changes: 2 additions & 1 deletion src/cnchar/main/dict/spell-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,6 @@
"唬": "",
"铛": "dāng",
"佃": "diàn",
"柴": "chái"
"柴": "chái",
"害": "hài"
}
4 changes: 2 additions & 2 deletions src/cnchar/main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cnchar",
"version": "3.0.5",
"version": "3.0.6",
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
"main": "cnchar.min.js",
"scripts": {},
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
2 changes: 1 addition & 1 deletion src/cnchar/main/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '3.0.5';
export default '3.0.6';
4 changes: 2 additions & 2 deletions src/cnchar/plugin/draw/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/plugin/idiom/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/plugin/order/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
3 changes: 2 additions & 1 deletion src/cnchar/plugin/poly/dict/polyphone-phrase-simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions src/cnchar/plugin/poly/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/plugin/radical/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
1 change: 0 additions & 1 deletion src/cnchar/plugin/trad/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'cnchar-types/plugin/trad/extend';
import {IInitTrad} from 'cnchar-types/plugin/trad';

declare const trad: IInitTrad;
Expand Down
4 changes: 2 additions & 2 deletions src/cnchar/plugin/trad/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}
4 changes: 2 additions & 2 deletions src/cnchar/plugin/xhy/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://www.theajack.com/cnchar/",
"dependencies": {
"cnchar-types": "^3.0.5"
"cnchar-types": "^3.0.6"
}
}

0 comments on commit 6f5a07f

Please sign in to comment.