Skip to content

Commit

Permalink
fix(deps): update sentence-splitter@5 (#139)
Browse files Browse the repository at this point in the history
* fix(deps): update sentence-splitter@5

* Create real-plants-whisper.md
  • Loading branch information
azu authored Dec 3, 2023
1 parent 1429363 commit c270fed
Show file tree
Hide file tree
Showing 3 changed files with 232 additions and 265 deletions.
40 changes: 40 additions & 0 deletions .changeset/real-plants-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
"textlint-rule-preset-ja-technical-writing": major
---

[sentence-splitter v5.0.0](https://github.com/textlint-rule/sentence-splitter/releases/tag/v5.0.0)へのアップデートに対応する変更が含まれています。

> [!WARNING]
> Node.js 18+が必要になります。
次のルールをアップデートしています。

- [textlint-rule/textlint-rule-no-unmatched-pair](https://github.com/textlint-rule/textlint-rule-no-unmatched-pair)
- [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)
- [textlint-ja/textlint-rule-max-ten: textlint rule that limit maxinum ten(、) count of sentence.](https://github.com/textlint-ja/textlint-rule-max-ten)
- [Release v5.0.0 · textlint-ja/textlint-rule-max-ten](https://github.com/textlint-ja/textlint-rule-max-ten/releases/tag/v5.0.0)
- [textlint-ja/textlint-rule-no-doubled-conjunction: textlint plugin to check duplicated same conjunctions.](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunction)
- [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)
- [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)
- [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)
- [textlint-ja/textlint-rule-no-doubled-joshi: 文中に同じ助詞が複数出てくるのをチェックする textlint ルール](https://github.com/textlint-ja/textlint-rule-no-doubled-joshi)
- [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)
- [textlint-rule/textlint-rule-sentence-length: textlint rule that limit maximum length of sentence.](https://github.com/textlint-rule/textlint-rule-sentence-length)
- [Release v5.0.0 · textlint-rule/textlint-rule-sentence-length](https://github.com/textlint-rule/textlint-rule-sentence-length/releases/tag/v5.0.0)
- [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)
- [Release v4.0.0 · textlint-rule/textlint-rule-max-comma](https://github.com/textlint-rule/textlint-rule-max-comma/releases/tag/v4.0.0)
- [textlint-ja/textlint-rule-max-ten: textlint rule that limit maxinum ten(、) count of sentence.](https://github.com/textlint-ja/textlint-rule-max-ten)
- [Release v5.0.0 · textlint-ja/textlint-rule-max-ten](https://github.com/textlint-ja/textlint-rule-max-ten/releases/tag/v5.0.0)



**Note**

[GitHub に追加](https://github.com/orgs/community/discussions/16925)された次の構文で、一部ルールに影響が出ていました。

```
> [!NOTE]
> some content
```

この構文が sentence-splitter v3 だと正しく解析できないため、sentence-splitter v5 へアップデートしています。
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@
},
"dependencies": {
"@textlint-rule/textlint-rule-no-invalid-control-character": "^2.0.0",
"@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.9",
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.2",
"@textlint/module-interop": "^13.4.1",
"textlint-rule-ja-no-abusage": "^3.0.0",
"textlint-rule-ja-no-mixed-period": "^3.0.1",
"textlint-rule-ja-no-redundant-expression": "^4.0.1",
"textlint-rule-ja-no-successive-word": "^2.0.1",
"textlint-rule-ja-no-weak-phrase": "^2.0.0",
"textlint-rule-ja-unnatural-alphabet": "2.0.1",
"textlint-rule-max-comma": "^3.0.1",
"textlint-rule-max-comma": "^4.0.0",
"textlint-rule-max-kanji-continuous-len": "^1.1.1",
"textlint-rule-max-ten": "^4.0.4",
"textlint-rule-max-ten": "^5.0.0",
"textlint-rule-no-double-negative-ja": "^2.0.1",
"textlint-rule-no-doubled-conjunction": "^2.0.4",
"textlint-rule-no-doubled-conjunctive-particle-ga": "^2.0.5",
"textlint-rule-no-doubled-joshi": "^4.1.0",
"textlint-rule-no-doubled-conjunction": "^3.0.0",
"textlint-rule-no-doubled-conjunctive-particle-ga": "^3.0.0",
"textlint-rule-no-doubled-joshi": "^5.0.0",
"textlint-rule-no-dropping-the-ra": "^3.0.0",
"textlint-rule-no-exclamation-question-mark": "^1.1.0",
"textlint-rule-no-hankaku-kana": "^2.0.1",
"textlint-rule-no-mix-dearu-desumasu": "^5.0.0",
"textlint-rule-no-nfd": "^2.0.2",
"textlint-rule-no-zero-width-spaces": "^1.0.1",
"textlint-rule-preset-jtf-style": "^2.3.13",
"textlint-rule-sentence-length": "^4.0.2"
"textlint-rule-sentence-length": "^5.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@changesets/cli": "^2.27.1",
"markdown-toc": "^1.2.0",
"mocha": "^10.2.0",
"semver": "^7.5.4"
Expand Down
Loading

0 comments on commit c270fed

Please sign in to comment.