From bd3bd403fc035da4aa2b65735e94a4189c45c99e Mon Sep 17 00:00:00 2001 From: David Anson Date: Fri, 9 Jun 2023 21:15:53 -0700 Subject: [PATCH] Update to version 0.8.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 9bde6208..7205929d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.8.0 + +- Add support for `--config` and `--fix` parameters +- Update dependencies (including `markdownlint`) +- Remove support for end-of-life Node 14 + ## 0.7.1 - Update dependencies (including `markdownlint`) diff --git a/README.md b/README.md index 19cd9db5..18f1097a 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,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.7.1 "**/*.md" "#node_modules" +docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" ``` Notes: @@ -183,7 +183,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.7.1 "**/*.md" "#node_modules" + docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" ``` > **Deprecated** @@ -192,7 +192,7 @@ Notes: > instead, use Docker's `--entrypoint` flag: > > ```bash -> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.7.1 "**/*.md" "#node_modules" +> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules" > ``` For convenience, the container image @@ -401,7 +401,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.7.1 + rev: v0.8.0 hooks: - id: markdownlint-cli2 ``` diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index a4f2fc61..1ac8a24f 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -25,7 +25,7 @@ const resolveAndRequire = require("./resolve-and-require"); // Variables const packageName = "markdownlint-cli2"; -const packageVersion = "0.7.1"; +const packageVersion = "0.8.0"; const libraryName = "markdownlint"; const libraryVersion = markdownlintLibrary.getVersion(); const dotOnlySubstitute = "*.{md,markdown}"; diff --git a/package.json b/package.json index 94754b3d..3ffe6fb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdownlint-cli2", - "version": "0.7.1", + "version": "0.8.0", "description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library", "author": { "name": "David Anson",