textlint-ja / textlint-rule-preset-ja-technical-writing

ๆŠ€่ก“ๆ–‡ๆ›ธๅ‘ใ‘ใฎtextlintใƒซใƒผใƒซใƒ—ใƒชใ‚ปใƒƒใƒˆ
https://textlint-ja.github.io/textlint-rule-preset-ja-technical-writing/
MIT License
441 stars 10 forks source link

chore(deps): update dependency textlint to v13 #112

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
textlint ^12.5.1 -> ^13.0.0 age adoption passing confidence

Release Notes

textlint/textlint ### [`v13.0.0`](https://togithub.com/textlint/textlint/releases/tag/v13.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/v12.6.1...v13.0.0) textlint v13 support ESM rules/plugins ๐ŸŽ‰ We have rewritten CLI and `textlint` package. However, it is not a breaking change for most `textlint` CLI users. Almost CLI behaviors are the same as textlint v12. - Blog: Please share your feedback to us! #### ๐Ÿ”ฅ Breaking Changes - Require Node.js 16+ - `textlint --init` output `.textlintrc.json` - Previously, `textlint --init` output `.textlintrc` - Improve `@textlint/ast-node-types` types - Now, All node types are defined! - It changes the existing node type and it is a breaking change - If you want to know TxtAST, please read [TxtAST Interface](https://textlint.github.io/docs/txtnode.html) - Use New-CLI instead of Old-CLI - textlint has introduced New-CLI and New-APIs in [v12.3.0](https://togithub.com/textlint/textlint/releases/tag/v12.3.0) - New-CLI uses new APIs: `createLinter`/`loadTextlintrc`/`loadLinterFormatter`/`loadFixerFormatter`( If you want to know new APIs, please read [Use as Node Modules](https://textlint.github.io/docs/use-as-modules.html)) - It means that textlint support rules/plugins that are written by ESM ๐ŸŽ‰ - Remove Old-CLI ##### Difference between Old-CLI and New-CLI - New CLI support ESM rules/plugins - New CLI must require `--stdin-filename` with `--stdin` - `--stdin-filename` may be optional in Old-CLI - Correct exit status ##### Exit Status on new CLI `0`: No Error - Not found lint error - \--fix: found errors but fix all errors, so exit with 0 - \--output-file: Found lint error but --output-file is specified - \--dryRun: Found lint error but --dryRun is specified `1`: Lint Error - found lint error - \--fix: found errors and could not fix all errors, so exit with 1 `2`: Fatal Error - Crash textlint process - Fail to load config/rule/plugin etc... #### ๐Ÿ†• Features ##### Add individual Node type and Add Table/TableRow/TableCell node [#​1008](https://togithub.com/textlint/textlint/issues/1008) - Define all node types in `@textlint/ast-node-types` - Add Table/TableRow/TableCell node to `@textlint/ast-node-types` These types are defined in [`@textlint/ast-node-types`](https://togithub.com/textlint/textlint/tree/master/packages/%40textlint/ast-node-types). | Type name | Node type | Description | |---------------------------------|----------------------------------|--------------------------------------| | ASTNodeTypes.Document | TxtDocumentNode(TxtParentNode) | Root Node | | ASTNodeTypes.DocumentExit | TxtDocumentNode(TxtParentNode) | | | ASTNodeTypes.Paragraph | TxtParagraphNode(TxtParentNode) | Paragraph Node | | ASTNodeTypes.ParagraphExit | TxtParagraphNode(TxtParentNode) | | | ASTNodeTypes.BlockQuote | TxtBlockQuoteNode(TxtParentNode) | > Block Quote Node | | ASTNodeTypes.BlockQuoteExit | TxtBlockQuoteNode(TxtParentNode) | | | ASTNodeTypes.List | TxtListNode(TxtParentNode) | List Node | | ASTNodeTypes.ListExit | TxtListNode(TxtParentNode) | | | ASTNodeTypes.ListItem | TxtListItemNode(TxtParentNode) | List (each) item Node | | ASTNodeTypes.ListItemExit | TxtListItemNode(TxtParentNode) | | | ASTNodeTypes.Header | TxtHeaderNode(TxtParentNode) | # Header Node | | ASTNodeTypes.HeaderExit | TxtHeaderNode(TxtParentNode) | | | ASTNodeTypes.CodeBlock | TxtCodeBlockNode(TxtParentNode) | Code Block Node | | ASTNodeTypes.CodeBlockExit | TxtCodeBlockNode(TxtParentNode) | | | ASTNodeTypes.HtmlBlock | TxtHtmlBlockNode(TxtParentNode) | HTML Block Node | | ASTNodeTypes.HtmlBlockExit | TxtHtmlBlockNode(TxtParentNode) | | | ASTNodeTypes.Link | TxtLinkNode(TxtParentNode) | Link Node | | ASTNodeTypes.LinkExit | TxtLinkNode(TxtParentNode) | | | ASTNodeTypes.Delete | TxtDeleteNode(TxtParentNode) | Delete Node(`~Str~`) | | ASTNodeTypes.DeleteExit | TxtDeleteNode(TxtParentNode) | | | ASTNodeTypes.Emphasis | TxtEmphasisNode(TxtParentNode) | Emphasis(`*Str*`) | | ASTNodeTypes.EmphasisExit | TxtEmphasisNode(TxtParentNode) | | | ASTNodeTypes.Strong | TxtStrongNode(TxtParentNode) | Strong Node(`**Str**`) | | ASTNodeTypes.StrongExit | TxtStrongNode(TxtParentNode) | | | ASTNodeTypes.Break | TxtBreakNode | Hard Break Node(`Str`) | | ASTNodeTypes.BreakExit | TxtBreakNode | | | ASTNodeTypes.Image | TxtImageNode | Image Node | | ASTNodeTypes.ImageExit | TxtImageNode | | | ASTNodeTypes.HorizontalRule | TxtHorizontalRuleNode | Horizontal Node(`---`) | | ASTNodeTypes.HorizontalRuleExit | TxtHorizontalRuleNode | | | ASTNodeTypes.Comment | TxtCommentNode | Comment Node | | ASTNodeTypes.CommentExit | TxtCommentNode | | | ASTNodeTypes.Str | TxtStrNode | Str Node | | ASTNodeTypes.StrExit | TxtStrNode | | | ASTNodeTypes.Code | TxtCodeNode | Inline Code Node | | ASTNodeTypes.CodeExit | TxtCodeNode | | | ASTNodeTypes.Html | TxtHtmlNode | Inline HTML Node | | ASTNodeTypes.HtmlExit | TxtHtmlNode | | | ASTNodeTypes.Table | TxtTableNode | Table node. textlint 13+ | | ASTNodeTypes.TableExit | TxtTableNode | | | ASTNodeTypes.TableRow | TxtTableRowNode | Table row node. textlint 13+ | | ASTNodeTypes.TableRowExit | TxtTableRowNode | | | ASTNodeTypes.TableCell | TxtTableCellNode | Table cell node. textlint 13+ | | ASTNodeTypes.TableCellExit | TxtTableCellNode | | Some nodes have additional properties. For example, `TxtHeaderNode` has `level` property. ```ts export interface TxtHeaderNode extends TxtParentNode { type: "Header"; depth: 1 | 2 | 3 | 4 | 5 | 6; children: PhrasingContent[]; } ``` For more details, see [`@textlint/ast-node-types`](https://togithub.com/textlint/textlint/tree/master/packages/%40textlint/ast-node-types). - [`@textlint/ast-node-types/src/NodeType.ts`](https://togithub.com/textlint/textlint/tree/master/packages/%40textlint/ast-node-types/src/NodeType.ts). #### CHANGELOGS ##### Breaking Changes - feat(ast-node-types): Add individual Node type and Add Table/TableRow/TableCell node by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/1008](https://togithub.com/textlint/textlint/pull/1008) - refactor(textlint): use New CLI by default by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/1011](https://togithub.com/textlint/textlint/pull/1011) - fix(textlint): textlint --init create .textlintrc.json by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/1013](https://togithub.com/textlint/textlint/pull/1013) - chore: Change "target" to "ES2018" by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/1014](https://togithub.com/textlint/textlint/pull/1014) ##### Other Changes - chore(deps): update node.js to v18 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/917](https://togithub.com/textlint/textlint/pull/917) **Full Changelog**: https://github.com/textlint/textlint/compare/v12.6.1...13.0.0 ### [`v12.6.1`](https://togithub.com/textlint/textlint/releases/tag/v12.6.1) [Compare Source](https://togithub.com/textlint/textlint/compare/v12.6.0...v12.6.1) #### What's Changed ##### Refactoring - refactor(kernel): remove node:events by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/1003](https://togithub.com/textlint/textlint/pull/1003) ##### Dependency Updates - chore(deps): update eslint to ^5.48.2 (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/1006](https://togithub.com/textlint/textlint/pull/1006) **Full Changelog**: https://github.com/textlint/textlint/compare/v12.6.0...12.6.1 ### [`v12.6.0`](https://togithub.com/textlint/textlint/releases/tag/v12.6.0) [Compare Source](https://togithub.com/textlint/textlint/compare/v12.5.2...v12.6.0) #### What's Changed ##### Features - feat(kernel): report plugin parse error as lint error by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/986](https://togithub.com/textlint/textlint/pull/986) ##### Bug Fixes - chore(kernel): fix typo by [@​Sean0628](https://togithub.com/Sean0628) in [https://github.com/textlint/textlint/pull/991](https://togithub.com/textlint/textlint/pull/991) ##### Refactoring - refactor: update to structured-source@4 by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/984](https://togithub.com/textlint/textlint/pull/984) - refactor(kernel): replace assert with invariant function by [@​Sean0628](https://togithub.com/Sean0628) in [https://github.com/textlint/textlint/pull/990](https://togithub.com/textlint/textlint/pull/990) ##### Dependency Updates - fix(deps): update dependency rc-config-loader to ^4.1.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/981](https://togithub.com/textlint/textlint/pull/981) - chore(deps): update dependency [@​textlint/types](https://togithub.com/textlint/types) to ^12.3.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/982](https://togithub.com/textlint/textlint/pull/982) - chore(deps): update eslint to ^5.48.0 (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/987](https://togithub.com/textlint/textlint/pull/987) - chore(deps): update dependency eslint-config-prettier to ^8.6.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/988](https://togithub.com/textlint/textlint/pull/988) - chore(deps): update dependency [@​textlint/types](https://togithub.com/textlint/types) to ^12.5.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/992](https://togithub.com/textlint/textlint/pull/992) - fix(deps): update dependency [@​babel/core](https://togithub.com/babel/core) to ^7.20.12 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/993](https://togithub.com/textlint/textlint/pull/993) - chore(deps): update patch updates (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/997](https://togithub.com/textlint/textlint/pull/997) - chore(deps): update dependency lerna to ^6.4.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/995](https://togithub.com/textlint/textlint/pull/995) - chore(deps): update dependency lerna to ^6.4.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/999](https://togithub.com/textlint/textlint/pull/999) - chore(deps): update eslint to ^5.48.1 (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/998](https://togithub.com/textlint/textlint/pull/998) **Full Changelog**: https://github.com/textlint/textlint/compare/v12.5.1...12.6.0 ### [`v12.5.2`](https://togithub.com/textlint/textlint/releases/tag/v12.5.2) [Compare Source](https://togithub.com/textlint/textlint/compare/v12.5.1...v12.5.2) #### What's Changed ##### Features - feat(kernel): report plugin parse error as lint error by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/986](https://togithub.com/textlint/textlint/pull/986) ##### Bug Fixes - chore(kernel): fix typo by [@​Sean0628](https://togithub.com/Sean0628) in [https://github.com/textlint/textlint/pull/991](https://togithub.com/textlint/textlint/pull/991) ##### Refactoring - refactor: update to structured-source@4 by [@​azu](https://togithub.com/azu) in [https://github.com/textlint/textlint/pull/984](https://togithub.com/textlint/textlint/pull/984) - refactor(kernel): replace assert with invariant function by [@​Sean0628](https://togithub.com/Sean0628) in [https://github.com/textlint/textlint/pull/990](https://togithub.com/textlint/textlint/pull/990) ##### Dependency Updates - fix(deps): update dependency rc-config-loader to ^4.1.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/981](https://togithub.com/textlint/textlint/pull/981) - chore(deps): update dependency [@​textlint/types](https://togithub.com/textlint/types) to ^12.3.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/982](https://togithub.com/textlint/textlint/pull/982) - chore(deps): update eslint to ^5.48.0 (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/987](https://togithub.com/textlint/textlint/pull/987) - chore(deps): update dependency eslint-config-prettier to ^8.6.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/988](https://togithub.com/textlint/textlint/pull/988) - chore(deps): update dependency [@​textlint/types](https://togithub.com/textlint/types) to ^12.5.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/992](https://togithub.com/textlint/textlint/pull/992) - fix(deps): update dependency [@​babel/core](https://togithub.com/babel/core) to ^7.20.12 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/993](https://togithub.com/textlint/textlint/pull/993) - chore(deps): update patch updates (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/997](https://togithub.com/textlint/textlint/pull/997) - chore(deps): update dependency lerna to ^6.4.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/995](https://togithub.com/textlint/textlint/pull/995) - chore(deps): update dependency lerna to ^6.4.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/999](https://togithub.com/textlint/textlint/pull/999) - chore(deps): update eslint to ^5.48.1 (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/textlint/textlint/pull/998](https://togithub.com/textlint/textlint/pull/998) **Full Changelog**: https://github.com/textlint/textlint/compare/v12.5.1...12.5.2

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 year ago

โš ๏ธ No Changeset found

Latest commit: f442934f8c6e84d9c7adbc7a7374b577cdfa546c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR