Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Nov 21, 2022
1 parent 4d4d387 commit 5a3765c
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 10 deletions.
6 changes: 4 additions & 2 deletions packages/@novel-segment/api-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
Expand All @@ -35,7 +36,8 @@
"now-deploy": "yarn run now-build:run && ynpx vercel deploy",
"sort-package-json": "npx yarn-tool sort",
"tsc:default": "tsc -p tsconfig.json",
"tsc:esm": "tsc -p tsconfig.esm.json"
"tsc:esm": "tsc -p tsconfig.esm.json",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"cors": "^2.8.5",
Expand All @@ -50,7 +52,7 @@
"@types/fs-extra": "*"
},
"peerDependencies": {
"novel-segment": "^2.7.99",
"novel-segment": "^2.7.100",
"vercel": "^28.5.5"
},
"engines": {
Expand Down
1 change: 1 addition & 0 deletions packages/@novel-segment/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
Expand Down
4 changes: 3 additions & 1 deletion packages/@novel-segment/postag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
"coverage": "yarn run test -- --coverage",
"test": "jest",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"preversion": "yarn run test"
"preversion": "yarn run test",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"ts-enum-util": "^4.0.2",
Expand Down
4 changes: 3 additions & 1 deletion packages/@novel-segment/stream-loader-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
Expand All @@ -32,7 +33,8 @@
"ncu": "npx yarn-tool ncu -u",
"sort-package-json": "npx yarn-tool sort",
"tsc:default": "tsc -p tsconfig.json",
"tsc:esm": "tsc -p tsconfig.esm.json"
"tsc:esm": "tsc -p tsconfig.esm.json",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"bluebird": "^3.7.2",
Expand Down
1 change: 1 addition & 0 deletions packages/@novel-segment/stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
Expand Down
1 change: 1 addition & 0 deletions packages/@novel-segment/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
Expand Down
4 changes: 3 additions & 1 deletion packages/novel-segment-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"lint": "npx eslint **/*.ts",
"test": "jest",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
Expand All @@ -35,7 +36,8 @@
"ncu": "npx yarn-tool ncu -u",
"sort-package-json": "npx yarn-tool sort",
"tsc:default": "tsc -p tsconfig.json",
"tsc:esm": "tsc -p tsconfig.esm.json"
"tsc:esm": "tsc -p tsconfig.esm.json",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"@bluelovers/string-natural-compare": "^2.0.11",
Expand Down
14 changes: 14 additions & 0 deletions packages/novel-segment/test/res/lazy.index/tests_lazy_base_not.ts
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,20 @@ export const tests_lazy_base_not: [string, Parameters<typeof lazyMatchNot>['1'],
],
],

[
'正在重新建立到伺服器的连接',
[
['新建'],
],
],

[
'伺服器 {0} 沒有響應。{1} 正在嘗試重新建立與其的連接。某些執行結果可能會丟失。',
[
['新建'],
],
],

];

export default tests_lazy_base_not
2 changes: 1 addition & 1 deletion packages/segment-dict/dict/segment/dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@
专权|0x1000|0
专柜|0x100000|0
专栏|0x100000|7819
专案|0x100000|0
专案|0x100000|2000
专案组|0x100000|859
专横|0x08001000|0
专款|0x100000|10269
Expand Down
1 change: 1 addition & 0 deletions packages/segment-dict/dict/segment/dict_synonym/定.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,3 +436,4 @@
额定值|0x100000|422
额定量|0x100000|0

重定向|0x1000|0
3 changes: 2 additions & 1 deletion packages/segment-dict/dict/segment/lazy/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2148,4 +2148,5 @@ VR|0x100010|0
鼎腹|0x100000|0
鼓泡|0x101000|0
鼻歌|0x100000|0

运算符|0x100000|0
重新建立|0x1000|0
7 changes: 4 additions & 3 deletions packages/segment-dict/dict/segment/pangu/dict006.txt
Original file line number Diff line number Diff line change
Expand Up @@ -915,12 +915,12 @@
敷剂|0x0000|0
文山|0x0000|1163
文成|0x0000|1261
文档|0x0000|0
文档|0x100000|0
文童|0x0000|1307
文竹|0x0000|0
齐明|0x0000|1100
齐河|0x0000|1458
齐聚一堂|0x400000|5
齐聚一堂|0x1000|5
齐达内|0x0000|1086
斜嵴|0x0000|0
斜斜|0x0000|584
Expand All @@ -944,7 +944,8 @@
新和|0x0000|1378
新宁|0x0000|1486
新安|0x0000|1118
新官上任三把火|0x400000|3
新官上任|0x1000|0
//新官上任三把火|0x400000|3
新昌|0x0000|1238
新津|0x100000|1446
新港|0x100000|1202
Expand Down

0 comments on commit 5a3765c

Please sign in to comment.