Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update textlint packages to v14 (major) #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@textlint/ast-node-types ^12.2.2 -> ^14.0.0 age adoption passing confidence
@textlint/ast-tester (source) ^13.0.0 -> ^14.0.0 age adoption passing confidence
@textlint/types (source) ^13.0.0 -> ^14.0.0 age adoption passing confidence

Release Notes

textlint/textlint (@​textlint/ast-node-types)

v14.3.0

Compare Source

What's Changed

Features
Dependency Updates
Other Changes

Full Changelog: textlint/textlint@v14.2.1...v14.3.0

v14.2.1

Compare Source

What's Changed

Documentation
Refactoring
Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v14.2.0...v14.2.1

v14.2.0

Compare Source

What's Changed

Features

This release will reduce audit warning.

Full Changelog: textlint/textlint@v14.1.0...v14.2.0

v14.1.0

Compare Source

What's Changed

Features

Change Details

linter.scanFilePath API Usage

If you want to know the file path is lintable or not, please use scanFilePath API.

import { createLinter, loadTextlintrc } from "textlint";
const textlintrcDescriptor = await loadTextlintrc();
const linter = createLinter({
    descriptor: textlintrcDescriptor
});
const result = await linter.scanFilePath("README.md");
// result.status is "ok" or "ignored" or "error"
if (result.status === "ok") {
    const lintResult = await linter.lintText("README content", "README.md");
    console.log(lintResult);
}

linter.scanFilePath is for combinating with lintText API because lintText API does not ignore any file.

Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v14.0.5...v14.1.0

v14.0.5

Compare Source

What's Changed
Documentation
Refactoring
Dependency Updates
Other Changes
New Contributors

Full Changelog: textlint/textlint@v14.0.4...v14.0.5

v14.0.4

Compare Source

What's Changed

Bug Fixes
Dependency Updates

New Contributors

Full Changelog: textlint/textlint@v14.0.3...v14.0.4

v14.0.3

Compare Source

What's Changed

Bug Fixes
Dependency Updates

Full Changelog: textlint/textlint@v14.0.2...v14.0.3

v14.0.2

Compare Source

What's Changed

Bug Fixes

New Contributors

Full Changelog: textlint/textlint@v14.0.1...v14.0.2

v14.0.1

Compare Source

What's Changed

Bug Fixes

Full Changelog: textlint/textlint@v14.0.0...v14.0.1

v14.0.0

Compare Source

What's Changed

We published a blog as a release note.
For more information, please read the following article.

Breaking Changes
Features
Refactoring
CI
Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v13.4.1...v14.0.0

v13.4.1

Compare Source

What's Changed

Bug Fixes

This PR fixed types of textlint.
It does not change the behavior of textlint.

For plugin developer:

You may be necessary to change the type that returns preProcess as follows

-            preProcess(_text: string, _filePath: string): TxtNode {
+            preProcess(_text: string, _filePath: string): TxtDocumentNode {
Dependency Updates

Full Changelog: textlint/textlint@v13.4.0...13.4.1

v13.4.0

Compare Source

SUMMARY

textlint-scripts allow a rule to use native import().
It will help the rule to import ESM modules from CJS.

For example, alex is pure ESM package.
CJS package can not load via require("alex"), but it can load await import("alex")

What's Changed

Features
Documentation
Refactoring
Testing
Maintenance
Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v13.3.3...13.4.0

v13.3.3

Compare Source

What's Changed

Refactoring

It reduces dependencies.

Dependency Updates

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant