diff --git a/CHANGELOG.md b/CHANGELOG.md index e3f2a0e..2b7e27c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes +## Version 3.13.6 + +- fix: move script back to its original location + ## Version 3.13.5 - fix: MODULE_NOT_FOUND error #368 diff --git a/bin/markdown-link-check b/markdown-link-check similarity index 99% rename from bin/markdown-link-check rename to markdown-link-check index 26383e0..36d5518 100755 --- a/bin/markdown-link-check +++ b/markdown-link-check @@ -5,10 +5,10 @@ let chalk; const fs = require('fs'); const { promisify } = require('util'); -const markdownLinkCheck = promisify(require('../')); +const markdownLinkCheck = promisify(require('.')); const needle = require('needle'); const path = require('path'); -const pkg = require('../package.json'); +const pkg = require('./package.json'); const { Command } = require('commander'); const program = new Command(); const { ProxyAgent } = require('proxy-agent'); diff --git a/package-lock.json b/package-lock.json index 55bdd7e..25f0396 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "xmlbuilder2": "^3.1.1" }, "bin": { - "markdown-link-check": "bin/markdown-link-check" + "markdown-link-check": "markdown-link-check" }, "devDependencies": { "@eslint/js": "^9.14.0", diff --git a/package.json b/package.json index bf0bfe9..9451a2b 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.13.5", "description": "checks the all of the hyperlinks in a markdown text to determine if they are alive or dead", "bin": { - "markdown-link-check": "bin/markdown-link-check" + "markdown-link-check": "markdown-link-check" }, "main": "index.js", "scripts": {