From 21f347c4e20c7674e77572cb1f99d099b3abf4e9 Mon Sep 17 00:00:00 2001 From: faisal-alvi Date: Fri, 22 Dec 2023 17:48:07 +0530 Subject: [PATCH] fix mochawesome dep issue, https://github.com/10up/maps-block-apple/actions/runs/7299510854/job/19892482305?pr=194 --- package-lock.json | 25 ++++++++++++++++++++++++- package.json | 3 ++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 58a6c39..d8dca60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,8 @@ "@wordpress/eslint-plugin": "^10.0.1", "@wordpress/scripts": "^24.6.0", "cypress": "^13.2.0", - "cypress-mochawesome-reporter": "^3.6.0" + "cypress-mochawesome-reporter": "^3.6.0", + "mochawesome-json-to-md": "^0.7.2" }, "engines": { "node": ">=12.0" @@ -14898,6 +14899,19 @@ "mocha": ">=7" } }, + "node_modules/mochawesome-json-to-md": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/mochawesome-json-to-md/-/mochawesome-json-to-md-0.7.2.tgz", + "integrity": "sha512-dxh+o73bhC6nEph6fNky9wy35R+2oK3ueXwAlJ/COAanlFgu8GuvGzQ00VNO4PPYhYGDsO4vbt4QTcMA3lv25g==", + "deprecated": "🙌 Thanks for using it. We recommend upgrading to the newer version, 1.x.x. Check out https://www.npmjs.com/package/mochawesome-json-to-md for details.", + "dev": true, + "dependencies": { + "yargs": "^17.0.1" + }, + "bin": { + "mochawesome-json-to-md": "index.js" + } + }, "node_modules/mochawesome-merge": { "version": "4.3.0", "dev": true, @@ -31109,6 +31123,15 @@ } } }, + "mochawesome-json-to-md": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/mochawesome-json-to-md/-/mochawesome-json-to-md-0.7.2.tgz", + "integrity": "sha512-dxh+o73bhC6nEph6fNky9wy35R+2oK3ueXwAlJ/COAanlFgu8GuvGzQ00VNO4PPYhYGDsO4vbt4QTcMA3lv25g==", + "dev": true, + "requires": { + "yargs": "^17.0.1" + } + }, "mochawesome-merge": { "version": "4.3.0", "dev": true, diff --git a/package.json b/package.json index dcbaf18..dede7a8 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "@wordpress/eslint-plugin": "^10.0.1", "@wordpress/scripts": "^24.6.0", "cypress": "^13.2.0", - "cypress-mochawesome-reporter": "^3.6.0" + "cypress-mochawesome-reporter": "^3.6.0", + "mochawesome-json-to-md": "^0.7.2" } }