From 5c25d053e402d62029d2ca02ecfc500dd7dac88e Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Tue, 9 Nov 2021 22:41:24 +0300 Subject: [PATCH] fix: fix Node.js version requirement --- README.md | 8 ++++---- package.json | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4eb7b69..232b8e8 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Sometimes bloody enterprise enforces you not to use any third-party solutions fo Old good script **copy-paste** hurries to the rescue! ### Requirements -* mac / linux -* Node.js >= 14 +* macOS / linux +* Node.js >= 14.13.1 * git >= 2.0 * zx >= 1.6.0 @@ -35,12 +35,12 @@ Old good script **copy-paste** hurries to the rescue! curl https://raw.githubusercontent.com/semrel-extra/zx-semrel/master/release.mjs > ./release.mjs zx ./release.mjs ``` -or just this like if `zx` is not installed: +or this like if `zx` is not installed: ```bash # Just replace GIT* env values with your own GIT_COMMITTER_NAME=antongolub GIT_COMMITER_EMAIL=mailbox@antongolub.ru GITHUB_TOKEN=token npx zx ./release.mjs ``` -or run as is without any edits though **npx**: +or just run it without any edits though **npx**: ```bash # Cross your fingers for luck GIT_COMMITTER_NAME=antongolub GIT_COMMITER_EMAIL=mailbox@antongolub.ru GITHUB_TOKEN=token npx zx-semrel diff --git a/package.json b/package.json index 70eb647..88ca572 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "release": "zx ./release.mjs" }, "engines": { - "node": ">=14" + "node": ">=14.13.1" }, "bin": { "zx-semrel": "./cli.sh" @@ -27,7 +27,8 @@ "keywords": [ "zx", "semrel", - "release" + "release", + "semantic-release" ], "author": "Anton Golub ", "license": "MIT",