From 7c6af9050ccd9038790fe604348842da1f84ff8a Mon Sep 17 00:00:00 2001 From: anikethsaha Date: Thu, 13 Feb 2020 22:16:12 +0530 Subject: [PATCH 1/3] chore: [BREAKING] drop node 8 --- .travis.yml | 3 ++- package.json | 2 +- readme.md | 25 ++++++++----------------- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 960f7a0..3a938a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,8 @@ node_js: - "node" - "lts/*" - 10 - - 8 + - 12 + - 13 after_success: - npm run coverage diff --git a/package.json b/package.json index 75f9b58..227c5ab 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "posthtml": "lib/cli.js" }, "engines": { - "node": ">=8" + "node": ">=10.13.0" }, "scripts": { "version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"", diff --git a/readme.md b/readme.md index cb2ae41..0c91740 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ # posthtml-cli + > [PostHTML][posthtml-url] сommand line interface [![Trasiv Build Status][travis-image]][travis-url][![AppVeyor Build Status][appveyor-img]][appveyor][![node][node-image]][node-url][![NPM version][npm-image]][npm-url][![Dependency Status][depstat-image]][depstat-url][![XO code style][style]][style-url][![Coveralls Status][coveralls-image]][coveralls-url] @@ -10,13 +11,13 @@ ```bash $ npm install --global posthtml-cli ``` -> **Note:** This project is compatible with node v8+ -## Usage +## Usage + ```bash $ posthtml --help - Usage: + Usage: $ posthtml Options: @@ -37,6 +38,7 @@ $ posthtml --help ``` ## Options + ```json { "input": "src/*.html", @@ -48,42 +50,31 @@ $ posthtml --help } }; ``` -> example config *`.posthtmlrc`* -[posthtml-url]: http://github.com/posthtml/posthtml +> example config _`.posthtmlrc`_ +[posthtml-url]: http://github.com/posthtml/posthtml [pkg-q-url]: http://packagequality.com/#?package=posthtml-cli [pkg-q-image]: http://npm.packagequality.com/shield/posthtml-cli.svg?style=flat-square - [npm-total-download-url]: https://www.npmjs.com/package/posthtml-cli [npm-total-download-image]: https://img.shields.io/npm/dt/posthtml-cli.svg?style=flat-square - [npm-download-url]: https://www.npmjs.com/package/posthtml-cli [npm-download-image]: https://img.shields.io/npm/dm/posthtml-cli.svg?style=flat-square - [node-url]: "" [node-image]: https://img.shields.io/node/v/posthtml-cli.svg?maxAge=2592000&style=flat-square - [npm-url]: https://npmjs.org/package/posthtml-cli [npm-image]: http://img.shields.io/npm/v/posthtml-cli.svg?style=flat-square - [testen-url]: https://github.com/egoist/testen [testen-image]: https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square - [travis-url]: https://travis-ci.org/posthtml/posthtml-cli [travis-image]: http://img.shields.io/travis/posthtml/posthtml-cli/master.svg?style=flat-square&label=unix - -[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli +[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli [appveyor-img]: https://img.shields.io/appveyor/ci/GitScrum/posthtml-cli/master.svg?style=flat-square&label=windows - [coveralls-url]: https://coveralls.io/r/posthtml/posthtml-cli [coveralls-image]: http://img.shields.io/coveralls/posthtml/posthtml-cli.svg?style=flat-square - [depstat-url]: https://david-dm.org/posthtml/posthtml-cli [depstat-image]: https://david-dm.org/posthtml/posthtml-cli.svg?style=flat-square - [depstat-dev-url]: https://david-dm.org/posthtml/posthtml-cli [depstat-dev-image]: https://david-dm.org/posthtml/posthtml-cli/dev-status.svg?style=flat-square - [style-url]: https://github.com/sindresorhus/xo [style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square From 84700dc53341ba5bbbc6338e851867225c68b0de Mon Sep 17 00:00:00 2001 From: anikethsaha Date: Thu, 13 Feb 2020 22:22:53 +0530 Subject: [PATCH 2/3] chore: appveyor changes --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 84368b6..9fb19ae 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,9 +1,9 @@ environment: matrix: + - nodejs_version: "11" - nodejs_version: "11" - nodejs_version: "10" - nodejs_version: "9" - - nodejs_version: "8" version: "{build}" build: off From 0161b58b558bdafbb89858440f69f4dbf64ca7bb Mon Sep 17 00:00:00 2001 From: anikethsaha Date: Sat, 15 Feb 2020 18:34:33 +0530 Subject: [PATCH 3/3] chore: refactore minor --- appveyor.yml | 2 +- package.json | 2 +- readme.md | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9fb19ae..c0dba4d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ environment: matrix: - - nodejs_version: "11" + - nodejs_version: "12" - nodejs_version: "11" - nodejs_version: "10" - nodejs_version: "9" diff --git a/package.json b/package.json index 227c5ab..012d47f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "posthtml": "lib/cli.js" }, "engines": { - "node": ">=10.13.0" + "node": ">=10" }, "scripts": { "version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"", diff --git a/readme.md b/readme.md index 0c91740..0332867 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,8 @@ $ npm install --global posthtml-cli ``` +> Note: This project is compatible with node v10+ + ## Usage ```bash