From 411c7c7fdb8fc5fc34ad95503d141250b791ff04 Mon Sep 17 00:00:00 2001 From: Jemish Gopani Date: Sun, 14 Jul 2024 22:02:41 +0530 Subject: [PATCH] Add updated for WDIO v8 support --- README.md | 11 +++++++---- package.json | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 28a02f2..5c0db93 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ There are breaking changes between WDIO v4 and v5 with how custom reporters work | >= 3.0.0 | v5 | | >= 4.0.0 | v6 | | >= 5.0.0 | v7 | +| >= 6.0.0 | v8 | # WDIO v7 Compatibility @@ -23,12 +24,12 @@ There are breaking changes between WDIO v4 and v5 with how custom reporters work * NPM ```bash -npm install wdio-mochawesome-reporter@^4.0.0 --save-dev +npm install wdio-mochawesome-reporter --save-dev ``` * Yarn ```bash -yarn add wdio-mochawesome-reporter@^4.0.0 --dev +yarn add wdio-mochawesome-reporter --dev ``` ## Configuration @@ -70,12 +71,12 @@ reporters: [ * NPM ```bash -npm install wdio-mochawesome-reporter --save-dev +npm install wdio-mochawesome-reporter@^4.0.0 --save-dev ``` * Yarn ```bash -yarn add wdio-mochawesome-reporter --dev +yarn add wdio-mochawesome-reporter@^4.0.0 --dev ``` ## Configuration @@ -238,3 +239,5 @@ v3.x of ```wdio-mochawesome-reporter``` is compatible with version ```3.1.5``` o v4.x of ```wdio-mochawesome-reporter``` is compatible with version ```3.1.5``` of ```mochawesome-report-generator``` v5.x of ```wdio-mochawesome-reporter``` is compatible with version ```3.1.5``` of ```mochawesome-report-generator``` + +v6.x of ```wdio-mochawesome-reporter``` is compatible with version ```3.1.5``` of ```mochawesome-report-generator``` diff --git a/package.json b/package.json index 3e9483a..f14d551 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wdio-mochawesome-reporter", - "version": "5.1.0", + "version": "6.0.0", "description": "A WebdriverIO plugin. Generates json results in Mochawesome format.", "author": "Jemish Gopani ", "homepage": "https://github.com/jemishgopani/wdio-mochawesome-reporter.git#readme", @@ -49,7 +49,7 @@ "Jim Davis" ], "peerDependencies": { - "@wdio/cli": "^7.30.2", + "@wdio/cli": ">=8.0.0", "mochawesome-report-generator": "^6.2.0" }, "jest": {