From 67c6b04a67caa17c0ecfff26c1b2637141c03dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Kr=C3=BCger?= Date: Tue, 30 Jul 2024 22:14:57 +0200 Subject: [PATCH] Fix: Rename binary script and add extension *.js (fixes #2) --- .releaserc.json | 4 ++++ README.md | 2 +- bin/{htmlSanityCheck => htmlSanityCheck.js} | 0 package.json | 5 ++--- 4 files changed, 7 insertions(+), 4 deletions(-) rename bin/{htmlSanityCheck => htmlSanityCheck.js} (100%) diff --git a/.releaserc.json b/.releaserc.json index 0958b6e..feeeba2 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -8,6 +8,10 @@ { "type": "New", "release": "minor" + }, + { + "type": "Fix", + "release": "patch" } ] } diff --git a/README.md b/README.md index 8c7ccff..8841128 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # htmlSanityCheck.js [![Build status](https://github.com/uniqueck/htmlSanityCheck.js/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/uniqueck/htmlSanityCheck.js/actions/workflows/ci.yaml) -[![npm version](http://img.shields.io/npm/v/htmlSanityCheck.js.svg)](https://www.npmjs.com/package/htmlSanityCheck.js) \ No newline at end of file +[![npm version](http://img.shields.io/npm/v/htmlsanitycheck.svg)](https://www.npmjs.com/package/htmlsanitycheck) \ No newline at end of file diff --git a/bin/htmlSanityCheck b/bin/htmlSanityCheck.js similarity index 100% rename from bin/htmlSanityCheck rename to bin/htmlSanityCheck.js diff --git a/package.json b/package.json index fb7354e..79985cb 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "test": "npm run test:node && npm run test:features && npm run test:smoke", "test:node": "mocha test/**/*.spec.js", "test:features": "cucumber-js", - "test:smoke": "node bin/htmlSanityCheck --sourceDir test", + "test:smoke": "node bin/htmlSanityCheck.js --sourceDir test", "lint": "eslint \"./lib/**/*.js\" \"./test/**/*.js\"", "lint:fix": "eslint \"./lib/**/*.js\" \"./test/**/*.js\" --fix", "lfet:UI": "exec java -classpath \"$INIT_CWD/.lfet/tool/*\" lohrfink.lfet.Application &", @@ -62,7 +62,6 @@ ], "license": "MIT", "bin": { - "htmlsanitycheck": "bin/htmlsanitycheck", - "htmlsanitycheck.js": "bin/htmlsanitycheck" + "htmlsanitycheck": "bin/htmlSanityCheck.js" } }