Skip to content

Commit c270fed

Browse files
authored
fix(deps): update sentence-splitter@5 (#139)
* fix(deps): update sentence-splitter@5 * Create real-plants-whisper.md
1 parent 1429363 commit c270fed

File tree

3 files changed

+232
-265
lines changed

3 files changed

+232
-265
lines changed

.changeset/real-plants-whisper.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
"textlint-rule-preset-ja-technical-writing": major
3+
---
4+
5+
[sentence-splitter v5.0.0](https://github.com/textlint-rule/sentence-splitter/releases/tag/v5.0.0)へのアップデートに対応する変更が含まれています。
6+
7+
> [!WARNING]
8+
> Node.js 18+が必要になります。
9+
10+
次のルールをアップデートしています。
11+
12+
- [textlint-rule/textlint-rule-no-unmatched-pair](https://github.com/textlint-rule/textlint-rule-no-unmatched-pair)
13+
- [Release v2.0.2 · textlint-rule/textlint-rule-no-unmatched-pair](https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/releases/tag/v2.0.2)
14+
- [textlint-ja/textlint-rule-max-ten: textlint rule that limit maxinum ten(、) count of sentence.](https://github.com/textlint-ja/textlint-rule-max-ten)
15+
- [Release v5.0.0 · textlint-ja/textlint-rule-max-ten](https://github.com/textlint-ja/textlint-rule-max-ten/releases/tag/v5.0.0)
16+
- [textlint-ja/textlint-rule-no-doubled-conjunction: textlint plugin to check duplicated same conjunctions.](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunction)
17+
- [Release v3.0.0 · textlint-ja/textlint-rule-no-doubled-conjunction](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunction/releases/tag/v3.0.0)
18+
- [textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga: textlint rule plugin to check duplicated conjunctive particle `ga` in a sentence.](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga)
19+
- [Release v3.0.0 · textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga/releases/tag/v3.0.0)
20+
- [textlint-ja/textlint-rule-no-doubled-joshi: 文中に同じ助詞が複数出てくるのをチェックする textlint ルール](https://github.com/textlint-ja/textlint-rule-no-doubled-joshi)
21+
- [Release v5.0.0 · textlint-ja/textlint-rule-no-doubled-joshi](https://github.com/textlint-ja/textlint-rule-no-doubled-joshi/releases/tag/v5.0.0)
22+
- [textlint-rule/textlint-rule-sentence-length: textlint rule that limit maximum length of sentence.](https://github.com/textlint-rule/textlint-rule-sentence-length)
23+
- [Release v5.0.0 · textlint-rule/textlint-rule-sentence-length](https://github.com/textlint-rule/textlint-rule-sentence-length/releases/tag/v5.0.0)
24+
- [textlint-rule/textlint-rule-max-comma: textlint rule is that limit maximum comma(,) count of sentence.](https://github.com/textlint-rule/textlint-rule-max-comma)
25+
- [Release v4.0.0 · textlint-rule/textlint-rule-max-comma](https://github.com/textlint-rule/textlint-rule-max-comma/releases/tag/v4.0.0)
26+
- [textlint-ja/textlint-rule-max-ten: textlint rule that limit maxinum ten(、) count of sentence.](https://github.com/textlint-ja/textlint-rule-max-ten)
27+
- [Release v5.0.0 · textlint-ja/textlint-rule-max-ten](https://github.com/textlint-ja/textlint-rule-max-ten/releases/tag/v5.0.0)
28+
29+
30+
31+
**Note**
32+
33+
[GitHub に追加](https://github.com/orgs/community/discussions/16925)された次の構文で、一部ルールに影響が出ていました。
34+
35+
```
36+
> [!NOTE]
37+
> some content
38+
```
39+
40+
この構文が sentence-splitter v3 だと正しく解析できないため、sentence-splitter v5 へアップデートしています。

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,32 @@
3131
},
3232
"dependencies": {
3333
"@textlint-rule/textlint-rule-no-invalid-control-character": "^2.0.0",
34-
"@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.9",
34+
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.2",
3535
"@textlint/module-interop": "^13.4.1",
3636
"textlint-rule-ja-no-abusage": "^3.0.0",
3737
"textlint-rule-ja-no-mixed-period": "^3.0.1",
3838
"textlint-rule-ja-no-redundant-expression": "^4.0.1",
3939
"textlint-rule-ja-no-successive-word": "^2.0.1",
4040
"textlint-rule-ja-no-weak-phrase": "^2.0.0",
4141
"textlint-rule-ja-unnatural-alphabet": "2.0.1",
42-
"textlint-rule-max-comma": "^3.0.1",
42+
"textlint-rule-max-comma": "^4.0.0",
4343
"textlint-rule-max-kanji-continuous-len": "^1.1.1",
44-
"textlint-rule-max-ten": "^4.0.4",
44+
"textlint-rule-max-ten": "^5.0.0",
4545
"textlint-rule-no-double-negative-ja": "^2.0.1",
46-
"textlint-rule-no-doubled-conjunction": "^2.0.4",
47-
"textlint-rule-no-doubled-conjunctive-particle-ga": "^2.0.5",
48-
"textlint-rule-no-doubled-joshi": "^4.1.0",
46+
"textlint-rule-no-doubled-conjunction": "^3.0.0",
47+
"textlint-rule-no-doubled-conjunctive-particle-ga": "^3.0.0",
48+
"textlint-rule-no-doubled-joshi": "^5.0.0",
4949
"textlint-rule-no-dropping-the-ra": "^3.0.0",
5050
"textlint-rule-no-exclamation-question-mark": "^1.1.0",
5151
"textlint-rule-no-hankaku-kana": "^2.0.1",
5252
"textlint-rule-no-mix-dearu-desumasu": "^5.0.0",
5353
"textlint-rule-no-nfd": "^2.0.2",
5454
"textlint-rule-no-zero-width-spaces": "^1.0.1",
5555
"textlint-rule-preset-jtf-style": "^2.3.13",
56-
"textlint-rule-sentence-length": "^4.0.2"
56+
"textlint-rule-sentence-length": "^5.0.0"
5757
},
5858
"devDependencies": {
59-
"@changesets/cli": "^2.26.2",
59+
"@changesets/cli": "^2.27.1",
6060
"markdown-toc": "^1.2.0",
6161
"mocha": "^10.2.0",
6262
"semver": "^7.5.4"

0 commit comments

Comments
 (0)