From 8524909c7a86f78a6b915ffafea220a6f3979ba1 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 19 Nov 2023 22:59:47 -0800 Subject: [PATCH] Update to version 0.11.0. --- CHANGELOG.md | 6 ++++++ README.md | 8 ++++---- markdownlint-cli2.js | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29a7e28c..67e7d5cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.11.0 + +- Add `modulePaths` configuration option +- Update dependencies (including `markdownlint`) +- Remove support for end-of-life Node 16 + ## 0.10.0 - Add `showFound` configuration option diff --git a/README.md b/README.md index 46016997..84a84f88 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ A container image [`davidanson/markdownlint-cli2`][docker-hub-markdownlint-cli2] can also be used (e.g., as part of a CI pipeline): ```bash -docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" +docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.11.0 "**/*.md" "#node_modules" ``` Notes: @@ -184,7 +184,7 @@ Notes: - A custom working directory can be specified with Docker's `-w` flag: ```bash - docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" + docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.11.0 "**/*.md" "#node_modules" ``` > **Deprecated** @@ -193,7 +193,7 @@ Notes: > instead, use Docker's `--entrypoint` flag: > > ```bash -> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.10.0 "**/*.md" "#node_modules" +> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.11.0 "**/*.md" "#node_modules" > ``` For convenience, the container image @@ -420,7 +420,7 @@ reference to the `repos` list in that project's `.pre-commit-config.yaml` like: ```yaml - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.10.0 + rev: v0.11.0 hooks: - id: markdownlint-cli2 ``` diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index 5f87163a..d5a3637c 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -26,7 +26,7 @@ const resolveAndRequire = require("./resolve-and-require"); // Variables const packageName = "markdownlint-cli2"; -const packageVersion = "0.10.0"; +const packageVersion = "0.11.0"; const libraryName = "markdownlint"; const libraryVersion = markdownlintLibrary.getVersion(); const dotOnlySubstitute = "*.{md,markdown}"; diff --git a/package.json b/package.json index b7ef8e96..5041450d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint-cli2", - "version": "0.10.0", + "version": "0.11.0", "description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", "author": { "name": "David Anson",