monorepo: upgrade to lerna@6 and use NX (#964) (e372795)
textlint: add new APIs and new CLI for ESM (#965) (3be8e39)
Overview
Support Rules/Filter/Pluugins that are written in ECMAScript Modules
Add new CLI
Add new APIs: createLinter/loadTextlintrc/loadLinterFormatter/loadFixerFormatter
It will replace TextLintCore/TextFixEngine/TextLintEngine
📝 ESM Rules/Filter/Pluugins only works in createLinter API.
This is because TextLintCore/TextFixEngine/TextLintEngine were assumed to be synchronous processes.
createLinter API does loading as async.
Breaking Changes
No changes in existing CLI.
Difference between Old-CLI and New-CLI
New CLI support ESM
New CLI must require --stdin-filename with --stdin
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps textlint-scripts from 12.2.3 to 12.4.0.
Release notes
Sourced from textlint-scripts's releases.
... (truncated)
Changelog
Sourced from textlint-scripts's changelog.
Commits
71ce327
v12.4.0e95133a
chore :fixece317e
docs: add --print-config9aa400f
feat(textlint): add --print-config flag9622166
refactor(textlint-test): use@textlint/kernel
(#974)c4ac8c4
v12.3.1a6b9bf5
fix(textlint): fix ESM loading issue on Windows (#972)30a1386
fix(deps): update babel monorepo to ^7.20.718e42bd
chore(deps): update patch updates5c7e3f8
chore: add resourceDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)