From e53c50cf97a10ef1ac6133a4d50db49a88b94753 Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Tue, 5 Nov 2024 10:50:35 -0500 Subject: [PATCH] chore(CHANGELOG): prepare for new release --- CHANGELOG.md | 4 ++++ markdown-link-check => bin/markdown-link-check | 6 +++--- {reporters => lib/reporters}/default.js | 0 {reporters => lib/reporters}/index.js | 0 {reporters => lib/reporters}/junit.js | 0 package-lock.json | 2 +- package.json | 2 +- 7 files changed, 9 insertions(+), 5 deletions(-) rename markdown-link-check => bin/markdown-link-check (98%) rename {reporters => lib/reporters}/default.js (100%) rename {reporters => lib/reporters}/index.js (100%) rename {reporters => lib/reporters}/junit.js (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ed9ba6..b6de6c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes +## Version 3.13.3 + +- fix: MODULE_NOT_FOUND error #368 + ## Version 3.13.2 - fix: MODULE_NOT_FOUND error #368 diff --git a/markdown-link-check b/bin/markdown-link-check similarity index 98% rename from markdown-link-check rename to bin/markdown-link-check index d7772ec..af55a79 100755 --- a/markdown-link-check +++ b/bin/markdown-link-check @@ -5,14 +5,14 @@ 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'); -const reporters = require('./reporters/index.js'); +const reporters = require('../lib/reporters/index.js'); class Input { constructor(filenameForOutput, stream, opts) { diff --git a/reporters/default.js b/lib/reporters/default.js similarity index 100% rename from reporters/default.js rename to lib/reporters/default.js diff --git a/reporters/index.js b/lib/reporters/index.js similarity index 100% rename from reporters/index.js rename to lib/reporters/index.js diff --git a/reporters/junit.js b/lib/reporters/junit.js similarity index 100% rename from reporters/junit.js rename to lib/reporters/junit.js diff --git a/package-lock.json b/package-lock.json index e72412f..d66ecf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "xmlbuilder2": "^3.1.1" }, "bin": { - "markdown-link-check": "markdown-link-check" + "markdown-link-check": "bin/markdown-link-check" }, "devDependencies": { "@eslint/js": "^9.14.0", diff --git a/package.json b/package.json index 8fd4daf..9d3d035 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.13.2", "description": "checks the all of the hyperlinks in a markdown text to determine if they are alive or dead", "bin": { - "markdown-link-check": "markdown-link-check" + "markdown-link-check": "bin/markdown-link-check" }, "main": "index.js", "scripts": {