From b767571314665e372e7ef57ef3b375ea65a9713f Mon Sep 17 00:00:00 2001 From: Vishnu Vardhan Date: Thu, 9 Apr 2026 13:04:30 +0530 Subject: [PATCH 1/2] Nightwatch devtools release plan --- .github/workflows/release.yml | 5 +++-- packages/app/package.json | 2 +- packages/backend/package.json | 2 +- packages/nightwatch-devtools/package.json | 18 +++++++++++++++++- packages/script/package.json | 2 +- packages/service/package.json | 2 +- 6 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6255fbf..7f86979 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,10 +47,11 @@ jobs: run: pnpm install - name: Build run: | - pnpm --filter "@wdio/devtools-backend" build pnpm --filter "@wdio/devtools-script" build - pnpm --filter "@wdio/devtools-service" build pnpm --filter "@wdio/devtools-app" build + pnpm --filter "@wdio/devtools-backend" build + pnpm --filter "@wdio/devtools-service" build + pnpm --filter "@wdio/nightwatch-devtools" build - name: Release run: pnpm -r publish --access public --no-git-checks env: diff --git a/packages/app/package.json b/packages/app/package.json index feffa7d..d7f3935 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/devtools-app", - "version": "1.2.1", + "version": "1.3.0", "description": "Browser devtools extension for debugging WebdriverIO tests.", "type": "module", "repository": { diff --git a/packages/backend/package.json b/packages/backend/package.json index 90b43d9..1aaae12 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/devtools-backend", - "version": "1.2.1", + "version": "1.3.0", "description": "Backend service to spin up WebdriverIO Devtools", "author": "Christian Bromann ", "license": "MIT", diff --git a/packages/nightwatch-devtools/package.json b/packages/nightwatch-devtools/package.json index d205e7c..a002f5b 100644 --- a/packages/nightwatch-devtools/package.json +++ b/packages/nightwatch-devtools/package.json @@ -1,10 +1,26 @@ { "name": "@wdio/nightwatch-devtools", - "version": "0.1.0", + "version": "1.0.0", "description": "Nightwatch adapter for WebdriverIO DevTools - reuses existing backend, UI, and capture infrastructure", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", + "repository": { + "type": "git", + "url": "git+https://github.com/webdriverio/devtools.git", + "directory": "packages/nightwatch-devtools" + }, + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.js" + } + }, + "files": [ + "dist", + "README.md" + ], "nightwatch": { "plugin": true }, diff --git a/packages/script/package.json b/packages/script/package.json index f9fdfeb..408c461 100644 --- a/packages/script/package.json +++ b/packages/script/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/devtools-script", - "version": "1.2.1", + "version": "1.3.0", "description": "Script to be injected into a page to trace the page", "author": "Christian Bromann ", "repository": { diff --git a/packages/service/package.json b/packages/service/package.json index 655c863..b2be0a1 100644 --- a/packages/service/package.json +++ b/packages/service/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/devtools-service", - "version": "10.2.1", + "version": "10.3.0", "description": "Hook up WebdriverIO with DevTools", "author": "Christian Bromann ", "repository": { From 013d380fd706d1e67d573dc49fe48c86f1d3ab4f Mon Sep 17 00:00:00 2001 From: Vishnu Vardhan Date: Thu, 9 Apr 2026 15:13:05 +0530 Subject: [PATCH 2/2] Readme update --- README.md | 4 +++- packages/nightwatch-devtools/README.md | 8 +------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index eea0225..51e76bc 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,8 @@ Works with **WebdriverIO** and **[Nightwatch.js](./packages/nightwatch-devtools/ npm install @wdio/devtools-service ``` +> **Nightwatch users:** `@wdio/nightwatch-devtools` is included as a dependency of `@wdio/devtools-service`. Install the service and import from `@wdio/nightwatch-devtools` directly — see the [Nightwatch Integration](#nightwatch-integration) section. + ## Configuration Add the service to your `wdio.conf.js`: @@ -112,7 +114,7 @@ pnpm demo Using [Nightwatch.js](https://nightwatchjs.org/)? A dedicated adapter package brings the same DevTools UI to your Nightwatch test suite with zero test code changes. -→ **[`@wdio/nightwatch-devtools`](./packages/nightwatch-devtools/README.md)** — installation, configuration, and Cucumber/BDD setup. +→ **[`@wdio/nightwatch-devtools`](./packages/nightwatch-devtools/README.md)** — configuration, Cucumber/BDD setup, and limitations. ## Project Structure diff --git a/packages/nightwatch-devtools/README.md b/packages/nightwatch-devtools/README.md index 894ecc6..5f883bd 100644 --- a/packages/nightwatch-devtools/README.md +++ b/packages/nightwatch-devtools/README.md @@ -2,13 +2,7 @@ > Nightwatch adapter for [WebdriverIO DevTools](../../README.md) - brings the same visual debugging UI to your Nightwatch test suite with zero test code changes. -## Installation - -```bash -npm install --save-dev @wdio/nightwatch-devtools -# or -pnpm add -D @wdio/nightwatch-devtools -``` +> **Note:** `@wdio/nightwatch-devtools` is included as a dependency of `@wdio/devtools-service`. Install the service package and import from `@wdio/nightwatch-devtools` directly. ---